You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2009/06/25 20:27:07 UTC

[jira] Closed: (HARMONY-1562) [drlvm] problem with IllegalAccessException thrown when main class invoked from jar

     [ 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.