JDK-8166926 : Add (since = "9") to the @Deprecated annotations on the new snap*() methods
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-09-29
  • Updated: 2016-11-17
  • Resolved: 2016-11-17
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.
Related Reports
Blocks :  
Duplicate :  
Relates :  
Relates :  
Relates :  
There are 3 methods in both Region and SkinBase that were deprecated in favor of the new snap*XY() variants.  All 6 are marked with an @Deprecated annotation, but those deprecations should be updated to include "@since 9" to indicate which release they were deprecated in.

These methods were deprecated during the fixes for JDK-8091832 and JDK-8166565.

This is a duplicate JDK-8166932.

Note that this isn't done using an "@since 9" javadoc tag. In this case, "since" is an optional element of the Deprecated annotation. So the syntax is: @Deprecated(since = "9") public void someMethod()

Waiting for new bootstrap JDK for JavaFX before we can add these tags...