-
Bug
-
Resolution: Fixed
-
P4
-
jfx16
The Class.newInstance() method is deprecated in favor of Contructor.newinstance(). According to the API docs for the former:
clazz.newInstance()
can be replaced by
clazz.getDeclaredConstructor().newInstance()
There are 12 calls to newInstance in JavaFX, 9 in javafx.graphics and 3 in javafx.fxml
clazz.newInstance()
can be replaced by
clazz.getDeclaredConstructor().newInstance()
There are 12 calls to newInstance in JavaFX, 9 in javafx.graphics and 3 in javafx.fxml
- relates to
-
JDK-8267534 Replace uses of Class.newInstance in android/ios specific files
-
- Open
-
-
JDK-8264137 Suppress deprecation and removal warnings of internal methods
-
- Resolved
-