Harmony
  1. Harmony
  2. HARMONY-1931

[drlvm][unit] Classlib test javax.swing.AbstractActionTest.testClone fails on drlvm r. 465143

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: DRLVM
    • Labels:
      None

      Description

      The test fails with the following assertion:
      A member of the "class javax.swing.AbstractActionTest$1" with "public" modifiers can not be accessed from the "class javax.swing.AbstractActionTest"

      Error
      java.lang.IllegalAccessException: A member of the "class javax.swing.AbstractActionTest$1" with "public" modifiers can not be accessed from the "class javax.swing.AbstractActionTest" at java.lang.reflect.ReflectExporter.checkMemberAccess(Unknown Source) at javax.swing.AbstractActionTest.testClone(AbstractActionTest.java:232) at java.lang.reflect.VMReflection.invokeMethod(Native Method) at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:118) at javax.swing.SwingTestCase$1.run(SwingTestCase.java:49) at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:86) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:74) at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:131) at java.awt.EventQueue.dispatchEvent(EventQueue.java:144) at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:74) at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)

      To reproduce the bug run

      ant -Dtest.jre.home=%DRLVM_HOME% -Dbuild.module=swing -Dtest.case=javax.swing.AbstractActionTest test

      1. Test1931.java
        0.5 kB
      2. Test1931_2.java
        0.8 kB
        Gregory Shimansky
      3. H-1931kernel_test.patch
        3 kB
        Elena Semukhina
      4. H-1931_ReflectExporter.patch
        2 kB
        Elena Semukhina

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gregory Shimansky
            Reporter:
            Elena Semukhina
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development