Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-1931

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • DRLVM
    • 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

      Attachments

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

        Activity

          People

            gshimansky Gregory Shimansky
            elena Elena Litani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: