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.
Created attachment 131831 [details]
Fixed jet-main f5bfdaa737ce