Community
Participate
Working Groups
I have the following configuration: 1. A bundle which requires org.w3c.dom package 2. The package is available in both the JRE container and the Plug-in Dependencies container 3. The used Bundle-RequiredExecutionEnvironment is set to J2SE-1.3 What's happening is that the system packages doesn't contain org.w3c.dom for J2SE-1.3, so there is a restrictive rule for org.w3c.dom. The package is also available in one of the plugins in Plug-in Dependencies container, however it isn't searched. When the order of the containers is switched, the plugin compiles fine. The request is that, JDT should try to find the class in the other classpath containers when a access rule shadows the class.
The support is there at the JDT/Core level (see IAccessRule.IGNORE_IF_BETTER). Moving to JDT/Debug to decide whether this flag should be used on the JRE container in combination with the K_NON_ACCESSIBLE flag.
Marking assigned for consideration post 3.4