Commits

Anonymous committed 32f5878

There appears to be another property from which the source level needs to be infered.

Comments (0)

Files changed (2)

project/manifest.mf

 Manifest-Version: 1.0
 OpenIDE-Module: org.netbeans.modules.eclipse.project
 OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/eclipse/project/Bundle.properties
-OpenIDE-Module-Specification-Version: 1.0
+OpenIDE-Module-Specification-Version: 1.1
 

project/src/org/netbeans/modules/eclipse/project/borrowed/ProjectFactory.java

                 in = new BufferedInputStream(new FileInputStream(jdtCoreSettings));
                 props.load(in);
 
-                project.setSourceLevel(props.getProperty("org.eclipse.jdt.core.compiler.source", null));
+                project.setSourceLevel(props.getProperty("org.eclipse.jdt.core.compiler.source", props.getProperty("org.eclipse.jdt.core.compiler.compliance", null)));
             } catch (IOException ex) {
                 Exceptions.printStackTrace(ex);
             } finally {