harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3848) [drlvm][kernel] Accessibility issues when loading class with user defined classloader
Date Mon, 14 May 2007 06:23:16 GMT

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

Alexey Varlamov updated HARMONY-3848:

    Patch Info:   (was: [Patch Available])

> [drlvm][kernel] Accessibility issues when loading class with user defined classloader
> -------------------------------------------------------------------------------------
>                 Key: HARMONY-3848
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3848
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: StackFramesRestoreTest.java
> Developing StackFramesRestoreTest reliability test I faced with the following issue:
> Drlvm does not check class accessibility for class (with default access modifiers) being
loaded by user defined classloader . 
> Attached StackFramesRestoreTest.java shows that Harmony passes the test OK, but RI fails
with exception:
> java.lang.IllegalAccessException: Class StackFramesRestoreTest can not access a member
of class TestClass with modifiers ""
>         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
>         at java.lang.Class.newInstance0(Class.java:344)
>         at java.lang.Class.newInstance(Class.java:303)
>         at StackFramesRestoreTest.test(StackFramesRestoreTest.java:29)
>         at StackFramesRestoreTest.main(StackFramesRestoreTest.java:12)
> To fix the exception on RI the class TestClass and it's constructor are to be public.

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

View raw message