Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 226657 - The SourceLevelQuery supports JDK 8 profiles
The SourceLevelQuery supports JDK 8 profiles
Product: java
Classification: Unclassified
Component: Project
: P2 (vote)
: 7.4
Assigned To: apireviews
Depends on:
  Show dependency treegraph
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

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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo