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

Felix Meschberger updated SLING-1895:
-------------------------------------

          Component/s:     (was: Scripting)
                       Launchpad
    Affects Version/s:  Launchpad Base 2.2.0

This would be an issue for the launchpad base bundle

> sun.reflect.MethodAccessorImpl not correctly boot delegated
> -----------------------------------------------------------
>
>                 Key: SLING-1895
>                 URL: https://issues.apache.org/jira/browse/SLING-1895
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>    Affects Versions:  Launchpad Base 2.2.0
>            Reporter: Michael Dürig
>
> When running the forum sample application (Scala) I'm getting
> java.lang.NoClassDefFoundError: sun/reflect/MethodAccessorImpl
>       at sun.misc.Unsafe.defineClass(Native Method)
>       at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:45)
>       at 
> sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)
>       at 
> sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> By manually editing the sling.properties file in my sling folder:
> org.osgi.framework.bootdelegation=com.yourkit.*,sun.*,sun.com.*
> the error goes away. 
> Can we add the sun packages to boot delegation by default?

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

Reply via email to