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

java/bean/* tests fail since change of JDK-8055206

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b154
    • Verification:
      Verified

      Backports

        Description

        java/bean/PropertyEditor/* tests and java/beans/XMLEncoder/Test6570354.java fail on all platforms. It looks possibly to be a problem introduced by new restriction on non-exported packages.

        The error messages are similar for each PropertyEditor tests
        ----------messages:(5/234)----------
        command: main TestFloatClass
        reason: Assumed action based on file name: run main TestFloatClass
        Mode: othervm
        Additional options from @modules: --add-modules java.compiler,java.desktop,jdk.compiler
        elapsed time (seconds): 0.364
        ----------configuration:(3/70)----------
        Boot Layer
          add modules: java.compiler java.desktop jdk.compiler

        ----------System.out:(1/39)----------
        Property class: class java.lang.Float
        ----------System.err:(14/908)----------
        java.lang.Error: could not find editor for class java.lang.Float
        at TestEditor.<init>(TestEditor.java:35)
        at TestFloatClass.main(TestFloatClass.java:37)
        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:543)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.base/java.lang.Thread.run(Thread.java:844)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mullan Sean Mullan
                Reporter:
                xiaofeya Xiaofeng Yang
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: