Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Issue compiling CBI WTP with Access Restriction error

I am not a PDE expert and don't know why it allows use of J2SE-1.5
classes for bundles with J2SE-1.4 BREE.

Tycho can be configured to use different JDK libraries for different
bundle runtime execution environments via ~/.m2/toolchains.xml file, see
[1] for more info.

[1] http://wiki.eclipse.org/Tycho/Release_Notes/0.14

--
Regards,
Igor

On 12-05-17 12:03 AM, Nitin Dahyabhai wrote:
I see two different problems here:
1) that we're importing a class that's not part of the 1.4 platform API,
only for use as an argument type on a method we never even call
2) that our 1.4 bundle is being evaluated against
/home/user/Downloads/jdk1.6.0_32/jre/lib/rt.jar -- which sure looks like
1.6 and _not_ 1.4 as specified

I've opened bug 379777 to address the problem in the bundle itself.  Igor,
any idea why it's reporting the problem against a 1.6 runtime and not the
1.4 as intended?  It's definitely not something I'm seeing messages about
in the 4.2M7 IDE.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=379777

Regards,
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational

_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cbi-dev


Back to the top