-
Bug
-
Resolution: Fixed
-
P3
-
12
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8217026 | 13 | Joe Darcy | P3 | Resolved | Fixed | b04 |
JDK-8217084 | 12.0.1 | Joe Darcy | P3 | Resolved | Fixed | b03 |
Error info copied from test log:
[STDERR]
java version "12-internal" 2019-03-19
Java(TM) SE Runtime Environment (fastdebug build 12-internal+0-jdk12-jdk.761)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 12-internal+0-jdk12-jdk.761, mixed mode, sharing)
----------System.err:(26/1440)----------
stdout: [bootLoader loaded class
cls = class com.sun.tools.javac.Main
java.lang.NoSuchMethodException: com.sun.tools.javac.Main.main()
];
stderr: [java version "12-internal" 2019-03-19
Java(TM) SE Runtime Environment (fastdebug build 12-internal+0-jdk12-jdk.761)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 12-internal+0-jdk12-jdk.761, mixed mode, sharing)
]
exitValue = 0
java.lang.RuntimeException: 'java.lang.NoSuchMethodException: com.sun.tools.javac.Main.main([Ljava.lang.String;)' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:151)
at jdk.test.lib.cds.CDSTestUtils.checkMatches(CDSTestUtils.java:460)
at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:193)
at EmptyClassInBootClassPath.main(EmptyClassInBootClassPath.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'java.lang.NoSuchMethodException: com.sun.tools.javac.Main.main([Ljava.lang.String;)' missing from stdout/stderr
Started this bug at P3 since it is a tier2 failure on three platforms.
[STDERR]
java version "12-internal" 2019-03-19
Java(TM) SE Runtime Environment (fastdebug build 12-internal+0-jdk12-jdk.761)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 12-internal+0-jdk12-jdk.761, mixed mode, sharing)
----------System.err:(26/1440)----------
stdout: [bootLoader loaded class
cls = class com.sun.tools.javac.Main
java.lang.NoSuchMethodException: com.sun.tools.javac.Main.main()
];
stderr: [java version "12-internal" 2019-03-19
Java(TM) SE Runtime Environment (fastdebug build 12-internal+0-jdk12-jdk.761)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 12-internal+0-jdk12-jdk.761, mixed mode, sharing)
]
exitValue = 0
java.lang.RuntimeException: 'java.lang.NoSuchMethodException: com.sun.tools.javac.Main.main([Ljava.lang.String;)' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:151)
at jdk.test.lib.cds.CDSTestUtils.checkMatches(CDSTestUtils.java:460)
at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:193)
at EmptyClassInBootClassPath.main(EmptyClassInBootClassPath.java:83)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
at java.base/java.lang.Thread.run(Thread.java:835)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'java.lang.NoSuchMethodException: com.sun.tools.javac.Main.main([Ljava.lang.String;)' missing from stdout/stderr
Started this bug at P3 since it is a tier2 failure on three platforms.
- backported by
-
JDK-8217026 runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException
-
- Resolved
-
-
JDK-8217084 runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException
-
- Resolved
-
- relates to
-
JDK-6304578 (reflect) toGenericString fails to print bounds of type variables on generic methods
-
- Closed
-
-
JDK-8217000 Refactor Class::methodToString
-
- Resolved
-