Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8213299

runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException

        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.

            Loading...
            Uploaded image for project: 'JDK'
            1. JDK
            2. JDK-8213299

            runtime/appcds/jigsaw/classpathtests/EmptyClassInBootClassPath.java failed with java.lang.NoSuchMethodException

                  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.

                        darcy Joe Darcy
                        dcubed Daniel Daugherty
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        4 Start watching this issue

                          Created:
                          Updated:
                          Resolved:

                            darcy Joe Darcy
                            dcubed Daniel Daugherty
                            Votes:
                            0 Vote for this issue
                            Watchers:
                            4 Start watching this issue

                              Created:
                              Updated:
                              Resolved: