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

[TESTBUG] java/lang/Class/getDeclaredField/FieldSetAccessibleTest.java fails on compact profiles due to NoClassDefFoundError

    Details

      Backports

        Description

        Compact3 does not contain GUI, therefore cannot run under compact3 profile.

        java.lang.NoClassDefFoundError: javax/swing/tree/TreeCellRenderer
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:195)
        at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
        at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
        at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
        at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Unknown Source)
        java.lang.NoClassDefFoundError: javax/swing/tree/DefaultMutableTreeNode
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:195)
        at FieldSetAccessibleTest.test(FieldSetAccessibleTest.java:160)
        at FieldSetAccessibleTest.run(FieldSetAccessibleTest.java:144)
        at FieldSetAccessibleTest$TestCase.run(FieldSetAccessibleTest.java:274)
        at FieldSetAccessibleTest.main(FieldSetAccessibleTest.java:135)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Unknown Source)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igerasim Ivan Gerasimov (Inactive)
                  Reporter:
                  skovalev Sergei Kovalev (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: