-
CSR
-
Resolution: Approved
-
P2
-
None
-
source
-
minimal
-
No change in behavior other than a deprecation removal warning at compile time.
-
Java API
-
JDK
Summary
Scene exposes internal implementation details by mistake. They are made deprecated for removal.
Problem
Scene has three public methods that were intended to be encapsulated as implementation details, but were mistakenly made public. These should not be part of the public API.
Solution
Deprecate for removal the three public implementation methods so that they can be removed from the public API in a future version.
Specification
javafx.scene.Scene
:
@@ -842,6 +842,11 @@
+ /**
+ * @deprecated This method was exposed erroneously and will be removed in a future version.
+ */
+ @Deprecated(forRemoval = true, since = "17")
public void disposePeer()
@@ -2135,6 +2140,12 @@
+ /**
+ * @deprecated This method was exposed erroneously and will be removed in a future version.
+ * @param e undocumented method parameter
+ */
+ @Deprecated(forRemoval = true, since = "17")
public void processKeyEvent(KeyEvent e)
@@ -2221,6 +2232,12 @@ public class Scene implements EventTarget {
+ /**
+ * @deprecated This method was exposed erroneously and will be removed in a future version.
+ * @param enable undocumented method parameter
+ */
+ @Deprecated(forRemoval = true, since = "17")
public void enableInputMethodEvents(boolean enable)
- csr of
-
JDK-8270246 Deprecate for removal implementation methods in Scene
- Resolved