JDK-8166932 : Fix @Deprecated annotations for deprecated JavaFX methods
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-09-29
  • Updated: 2016-11-19
  • Resolved: 2016-11-19
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 9
9Fixed
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Description
At least two deprecated methods in FXMLLoader and one in AudioTrack have the @deprecated javadoc tag but are missing the @Deprecated annotation. We should ensure correct annotations on all such methods.

We might also want to add (since="nn") to indicate which release it was deprecated in (if known).

Note that there are already two bugs filed for the ones we know we deprecated in JDK 9, so they will be handled separately:

JDK-8157508 - HostServices
JDK-8166926 - Region and SkinBase
Comments
Changeset: f5aad191526f Author: ckyang Date: 2016-11-18 16:13 -0800 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/f5aad191526f
19-11-2016

+1
18-11-2016

+1 for the changes to SkinBase and Region...
17-11-2016

Please review the proposed fix as recommended in the description and (since="nn") is only added to methods that were deprecated since 8 or later. http://cr.openjdk.java.net/~ckyang/JDK-8166932/webrev.00/
17-11-2016