JDK-8004182 : Add support for profiles in javac
  • Type: New Feature
  • Component: tools
  • Sub-Component: javac
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Fix Versions: 8
  • Submitted: 2012-11-29
  • Updated: 2017-05-17
  • Resolved: 2013-02-19
Related Reports
Relates :  
Relates :  
Description
JDK 8 will support profiles.   We want to be able to use javac to compile code for a target profile and get messages if API is used in source code that is not available in the selected profile. This requires that
a) javac knows which classes are available in each profile
b) there is a way to specify the selected profile for a compilation
Comments
verified in jdk8 b92
06-06-2013