harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Closed: (HARMONY-1562) [drlvm] problem with IllegalAccessException thrown when main class invoked from jar
Date Thu, 25 Jun 2009 18:27:07 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Hindess closed HARMONY-1562.
---------------------------------


Closing as this works for me now.


> [drlvm] problem with IllegalAccessException thrown when main class invoked from jar
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-1562
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1562
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Ubuntu 6, r449091, debug, testing w/ geronimo 1.1
>            Reporter: Geir Magnusson Jr
>            Assignee: Geir Magnusson Jr
>         Attachments: Bar.java, Foo.java, jar-run.diff, MANIFEST.MF
>
>
> I think the attached testcase exhibits the same bug which prevents us from running eclipse
or geronimo.
> Compile the code and construct a jar :
> $ javac *.java
> $ jar cfm foo.jar MANIFEST.MF *.class
> and then simply run :
> $ cd deploy/jre/bin
> $ ./java -jar foo.jar
> You should see :
> Foo!
> java.lang.IllegalAccessError: from Foo to Bar
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.harmony.vm.JarRunner.main(Unknown Source) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message