-
Bug
-
Resolution: Unresolved
-
P4
-
jfx16
-
generic
-
android
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()
In JavaFX codebase, we did above replacement (except for the android build) under -JDK-8264138.
This bug is to identify and replace similar instances in files for the android and ios builds.
clazz.newInstance()
can be replaced by
clazz.getDeclaredConstructor().newInstance()
In JavaFX codebase, we did above replacement (except for the android build) under -
This bug is to identify and replace similar instances in files for the android and ios builds.
- relates to
-
JDK-8264138 Replace uses of Class.newInstance
-
- Resolved
-