JDK-8008275 : javac.Main should be @Supported
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-02-15
  • Updated: 2017-05-17
  • Resolved: 2013-09-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b108Fixed
Related Reports
Blocks :  
Relates :  
Description
Currently, javac.Main has 3 public methods, of which two are supported and one is specifically excluded.  The excluded class is the "standard" public static void main entry point, so it would seem to make sense to define what it does, declare it a supported method, so that the entire class can be labelled @jdk.Supported.
Comments
Yes, a ccc would be needed since @Supported is a documented annotation type.
25-07-2013

Currently, @Supported has @Target({ElementType.TYPE, ElementType.PACKAGE}) meaning that we cannot annotate just the existing public methods. Question: do we need CCC to change the spec of p.s.v.main(String[])
24-07-2013