Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 226657

Summary: The SourceLevelQuery supports JDK 8 profiles
Product: java Reporter: Tomas Zezula <tzezula>
Component: ProjectAssignee: apireviews <apireviews>
Status: RESOLVED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P2 CC: dkonecny
Version: 7.4Keywords: API, API_REVIEW_FAST
Target Milestone: 7.4   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Issue Type: TASK Exception Report:
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
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