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 - The SourceLevelQuery supports JDK 8 profiles
Summary: The SourceLevelQuery supports JDK 8 profiles
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2013-02-25 14:50 UTC by Tomas Zezula
Modified: 2013-03-06 15:26 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Diff file (19.09 KB, patch)
2013-02-25 14:56 UTC, Tomas Zezula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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