The following primitive constructors were deprecated in JDK 9 and are
deprecated for removal in JDK 16.
java.lang.Byte
java.lang.Short
java.lang.Integer
java.lang.Long
java.lang.Float
java.lang.Double
java.lang.Character
java.lang.Boolean
This change removes call to the primitive constructors with the `valueOf()`
factory method of respective class.
Calls like the following to create array get autoboxed so it does not require a
change.
`Double dArr[] = new Double[] {10.1, 20.2};`
-------------
Commit messages:
- replace depr cotrs with valueOf()
Changes: https://git.openjdk.java.net/jfx/pull/423/files
Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=423&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8257512
Stats: 75 lines in 27 files changed: 0 ins; 0 del; 75 mod
Patch: https://git.openjdk.java.net/jfx/pull/423.diff
Fetch: git fetch https://git.openjdk.java.net/jfx pull/423/head:pull/423
PR: https://git.openjdk.java.net/jfx/pull/423