Bug 302858 - API promotion for CompilerOptions (internal -> public)
Summary: API promotion for CompilerOptions (internal -> public)
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.6 M6   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-15 09:05 EST by Gabriel BARBIER CLA
Modified: 2010-03-09 15:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel BARBIER CLA 2010-02-15 09:05:37 EST
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
Comment 1 Olivier Thomann CLA 2010-02-15 09:16:32 EST
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.
Comment 2 Gabriel BARBIER CLA 2010-02-15 09:20:41 EST
Thanks for the tip.
Comment 3 Olivier Thomann CLA 2010-03-09 15:33:15 EST
Resolved as INVALID.
Comment 4 Olivier Thomann CLA 2010-03-09 15:33:31 EST
Verified.