You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/12/01 02:58:43 UTC

[jira] Resolved: (HARMONY-5201) [drlvm][kernel] Notepad.jar cannot open with "-jar" parameter

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

Gregory Shimansky resolved HARMONY-5201.
----------------------------------------

    Resolution: Fixed

Patch and test are committed at 600033.

> [drlvm][kernel] Notepad.jar cannot open with "-jar" parameter
> -------------------------------------------------------------
>
>                 Key: HARMONY-5201
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5201
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Linbin Yu
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: H5201.diff, H5201.patch, H5201_public_main.patch, H5201test.diff 
>
>
> One demo of Sun JDK 1.5 , Notepad.jar, cannot open with "-jar" parameter:
> (Snapshot R575777, R580985 and R597678)
> "java -jar Notepad.jar" leads to crash, but "java -cp Notepad.jar Notepad" is OK.
> Other jars like FileChooserDemo.jar, Stylepad.jar, Java2Demo.jar, they are all OK.
> There is stack trace:
> Uncaught exception in main:
> java.lang.IllegalAccessException: A member of the "class Notepad" with "public static" modifiers can not be accessed from the "class org.apache.harmony.vm.JarRunner"
>         at java.lang.reflect.ReflectExporter.checkMemberAccess(ReflectExporter.java:87)
>         at java.lang.reflect.Method.invoke(Method.java:311)
>         at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

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