This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226657

Summary: The SourceLevelQuery supports JDK 8 profiles
Product: java Reporter: Tomas Zezula <tzezula>
Component: ProjectAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: normal CC: dkonecny
Priority: P2 Keywords: API, API_REVIEW_FAST
Version: 7.4   
Hardware: PC   
OS: Mac OS X   
Issue Type: TASK Exception Reporter:
Attachments: Diff file

Description Tomas Zezula 2013-02-25 14:50:26 UTC
The JDK 8 provides three limited profiles (compact1, compact2, compact3) in addition to the default profile representing the full JDK. Each profile specifies a specific set of Java API packages and contains all of the APIs of the smaller profile, in other words compact1 ⊂ compact2 ⊂ compact3 ⊂ default.
The new API allows clients of the SourceLevelQuery to query the required minimal profile of the project. The resulting profile names should not be interpreted by the IDE features as the profiles may be changed or deprecated in the upcoming JDK 9 by java module system (jigsaw). The profile names should be just passes as a parameter to the following langtools: javac, jar, javadoc.
Comment 1 Tomas Zezula 2013-02-25 14:56:17 UTC
Created attachment 131831 [details]
Diff file
Comment 2 Tomas Zezula 2013-03-06 15:26:10 UTC
Fixed jet-main f5bfdaa737ce