Do you maybe use boot delegation?

Christian

2017-11-23 11:06 GMT+01:00 'Norman Maurer' via OPS4J <[email protected]
>:

> Hmm I do not export it... Can I somehow see "who" export it ?
> I only run the unit test and add my bundle to the config thats it.
>
>
> Am Donnerstag, 23. November 2017 11:00:02 UTC+1 schrieb Achim Nierbeck:
>>
>> Hi,
>>
>> first of all, if you don't have a bundle or system-fragment-bundle
>> exporting sun.misc* it won't be available at all.
>> As per default the framework itself only provides following packages
>> (defined per spec):
>> java.*
>> As you can see here[1]
>> some more are per default exported. But sun.misc isn't one of them.
>> So unless you don't have any special setup sun.misc shouldn't be
>> available to your setup :)
>>
>> regards, Achim
>>
>> [1] - https://github.com/apache/felix/blob/trunk/framework/src/
>> main/resources/default.properties#L711-L865
>>
>> 2017-11-23 10:54 GMT+01:00 'Norman Maurer' via OPS4J <
>> [email protected]>:
>>
>>> Hi all,
>>>
>>> I am trying to use @RunWith(PaxExam.class) and restrict the access to
>>> sun.misc.Unsafe while doing this. I want to do this to write a unit that
>>> ensure we are still able to init a class when sun.misc.Unsafe is not
>>> present. Any idea how to do this ? So far I could not find any way to do so.
>>>
>>> This is the issue I want to write a unit test for:
>>>
>>> https://github.com/netty/netty/pull/7432
>>>
>>> Thanks
>>>
>>> --
>>> --
>>> ------------------
>>> OPS4J - http://www.ops4j.org - [email protected]
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "OPS4J" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>>
>> Apache Member
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>>
>> Software Architect / Project Manager / Scrum Master
>>
>> --
> --
> ------------------
> OPS4J - http://www.ops4j.org - [email protected]
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OPS4J" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Computer Scientist
http://www.adobe.com

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to