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

several compiler/whitebox tests fail with "private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled"

XMLWordPrintable

    • b21

        The following test fail in the JDK17 CI on macos-aarch64:

           2 compiler/whitebox/ClearMethodStateTest.java
           1 compiler/whitebox/EnqueueMethodForCompilationTest.java
           4 compiler/whitebox/MakeMethodNotCompilableTest.java

        Here's a log file snippet for one of the failures:

        ----------System.err:(29/2387)----------
        java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
        at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:258)
        at compiler.whitebox.EnqueueMethodForCompilationTest.test(EnqueueMethodForCompilationTest.java:86)
        at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
        at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
        at compiler.whitebox.EnqueueMethodForCompilationTest.main(EnqueueMethodForCompilationTest.java:53)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:831)
        java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
        at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:258)
        at compiler.whitebox.EnqueueMethodForCompilationTest.test(EnqueueMethodForCompilationTest.java:86)
        at compiler.whitebox.CompilerWhiteBoxTest.runTest(CompilerWhiteBoxTest.java:170)
        at compiler.whitebox.CompilerWhiteBoxTest.main(CompilerWhiteBoxTest.java:129)
        at compiler.whitebox.EnqueueMethodForCompilationTest.main(EnqueueMethodForCompilationTest.java:53)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:831)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: private compiler.whitebox.SimpleTestCaseHelper(int) must be compiled
        ----------rerun:(49/9757)*----------

              iveresov Igor Veresov
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: