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

tools/javac/classreader/8171132/BadConstantValue.java failed with "did not see expected error"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b17

      Backports

        Description

        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        compile: [-d, badconstants, badconstants/Lib.java]
        java.lang.AssertionError: did not see expected error
        at BadConstantValue.testInvalidConstRange(BadConstantValue.java:104)
        at BadConstantValue.main(BadConstantValue.java:76)
        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:298)
        at java.base/java.lang.Thread.run(Thread.java:835)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mdoerr Martin Doerr
                Reporter:
                jjiang John Jiang
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: