Community
Participate
Working Groups
I20060125 If the default value for JavaCore.COMPILER_SOURCE is JavaCore.VERSION_1_3, the following fails: IJavaProject project = ... project.setOption(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_4); project.setOption(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_1_3); String option = project.getOption(JavaCore.COMPILER_SOURCE, true); assertEquals(JavaCore.VERSION_1_3, option);
Fixed and released in HEAD. Problem came from JavaProject.setOption(String,String) which didn't remove option from project preference when value was equals to default one... Test case added in OptionTests
Verified for 3.2 M5 using build I20060215-0010