Community
Participate
Working Groups
That bundle is supposed to be Foundation 1.0 compliant according to the 3.4 plan. Maybe this has changed for 3.5. The EEs defined for this project are: Bundle-RequiredExecutionEnvironment: J2SE-1.4, CDC-1.0/Foundation-1.0, J2SE-1.3 And for the compilation, pde.build ends up taking the first execution environment which is 1.4. If pde.build would take the execution environment CDC-1.0/Foundation-1.0 or J2SE-1.3, it would not compile. The bundle execution environment should be changed to 1.4 or some type references should be removed. Here is the list of possible problematic reference found by the new validation from api tooling: The method java.lang.String.split(String) referenced in org.eclipse.ui.internal.net.NonProxyHostsComposite is not defined in bundle's required execution environment: J2SE-1.3 java.lang.String.split(String) has been added in 1.4.
In fact the list is longer than that. This is from last night build. The method java.lang.String.split(String) referenced in org.eclipse.ui.internal.net.NonProxyHostsComposite.promptForHost(String) is not defined in bundle's required execution environment: J2SE-1.3 The method java.lang.Boolean.toString(boolean) referenced in org.eclipse.ui.internal.net.ProxyEntriesLabelProvider.getColumnText(Object, int) is not defined in bundle's required execution environment: J2SE-1.3 The type java.net.URISyntaxException referenced in org.eclipse.ui.internal.net.ProxyEntryDialog.updateStatus() is not defined in bundle's required execution environment: J2SE-1.3 The type java.net.URI referenced in org.eclipse.ui.internal.net.ProxyEntryDialog.updateStatus() is not defined in bundle's required execution environment: J2SE-1.3 The constructor URI(String) referenced in org.eclipse.ui.internal.net.ProxyEntryDialog.updateStatus() is not defined in bundle's required execution environment: J2SE-1.3
Pawel, you can use a similar fix to the one for bug 255814. Thus you will get the credit for both :-)
Created attachment 120304 [details] Patch_v01
Created attachment 120309 [details] Patch_v02 A more elegant solution which uses StringUtil class from org.eclipse.core.net plugin. This class will be available when bug 255814 is fixed.
Released to HEAD.