harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1931) [drlvm][unit] Classlib test javax.swing.AbstractActionTest.testClone fails on drlvm r. 465143
Date Wed, 25 Oct 2006 13:14:18 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1931?page=all ]

Elena Semukhina updated HARMONY-1931:
-------------------------------------

    Attachment: H-1931kernel_test.patch

As the patch fixes one more issue additionally to the reported one, I attached a H-1931kernel_test.patch
with a test class which should be added to drlvm kernel tests.
The test class contains two tests. If compiled with ECJ, both tests should fail and if compiled
with javac, the second one should fail. After the fix is applied, both tests should pass on
both compilers. 

> [drlvm][unit] Classlib test javax.swing.AbstractActionTest.testClone fails on drlvm r.
465143
> ---------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1931
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1931
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>            Priority: Critical
>         Attachments: H-1931_ReflectExporter.patch, H-1931kernel_test.patch, Test1931.java,
Test1931_2.java
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message