openjdk-21/Backport-of-8337067-Test-runtime-classFileParserBug-.patch
2024-12-06 18:49:00 +08:00

29 lines
1.0 KiB
Diff

Subject: Backport of 8337067: Test runtime/classFileParserBug/Bad_NCDFE_Msg.java won't compile
---
.../jtreg/runtime/classFileParserBug/Bad_NCDFE_Msg.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/test/hotspot/jtreg/runtime/classFileParserBug/Bad_NCDFE_Msg.java b/test/hotspot/jtreg/runtime/classFileParserBug/Bad_NCDFE_Msg.java
index 1baf5bdc8..346794d4c 100644
--- a/test/hotspot/jtreg/runtime/classFileParserBug/Bad_NCDFE_Msg.java
+++ b/test/hotspot/jtreg/runtime/classFileParserBug/Bad_NCDFE_Msg.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -31,6 +31,7 @@
* java.management
* @compile C.java
* @run driver Bad_NCDFE_Msg
+ **/
import java.io.File;
import jdk.test.lib.process.ProcessTools;
--
2.33.0