|
Re: Problem with jre [message #773483 is a reply to message #770828] |
Sun, 01 January 2012 19:12 |
|
On 12/25/2011 8:35 AM, nounou wrote:
> Hi :) ,
> I want to do:
> import sun.reflect.generics.reflectiveObjects.NotImplementedException;
>
> but eclipse raises a problem:
> Quote:
>> Access restriction: The type NotImplementedException is not accessible
>> due to restriction on required library C:\Program
>> Files\Java\jre6\lib\rt.jar
>
> Can you help me to fix it :cry: ?
> Best regards,
Anything in sun.* wouldn't be available to you in a non-Sun/Oracle JRE.
If you care about portability, don't use it. You can always create
your own Exception type instead.
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Powered by
FUDForum. Page generated in 0.07746 seconds