Community
Participate
Working Groups
Hello, In MoDisco project, we are using fields from org.eclipse.jdt.internal.compiler.impl.CompilerOptions to indicate the version of jdk used. This class is considered as internal, so I would like to ask for its promotion as public. It is mainly to avoid use of @SuppressWarnings("restriction") as required to join the Helios train. Example of usage: JavaConventions.validatePackageName(this.symbolicNameText.getText(),CompilerOptions.VERSION_1_6, CompilerOptions.VERSION_1_6); Used by components: - org.eclipse.gmt.modisco.workflow Best regards Gabriel
The same constants are available in the JavaCore class: org.eclipse.jdt.core.JavaCore.VERSION_1_1 org.eclipse.jdt.core.JavaCore.VERSION_1_2 org.eclipse.jdt.core.JavaCore.VERSION_1_3 org.eclipse.jdt.core.JavaCore.VERSION_1_4 org.eclipse.jdt.core.JavaCore.VERSION_1_5 org.eclipse.jdt.core.JavaCore.VERSION_1_6 org.eclipse.jdt.core.JavaCore.VERSION_1_7 org.eclipse.jdt.core.JavaCore.VERSION_CLDC_1_1 These constants are API. Closing as INVALID.
Thanks for the tip.
Resolved as INVALID.
Verified.