[
https://issues.apache.org/jira/browse/NETBEANS-5349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300144#comment-17300144
]
Eric Bresie commented on NETBEANS-5349:
---------------------------------------
Not sure if this impacts anything but... from OpenJFX mailing list I find...
“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
[May require changes to] 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
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
change [needs to] 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};`
> Update Netbeans Codebase to Account for deprecated/removed API in Java 11/15
> ----------------------------------------------------------------------------
>
> Key: NETBEANS-5349
> URL: https://issues.apache.org/jira/browse/NETBEANS-5349
> Project: NetBeans
> Issue Type: Bug
> Affects Versions: 12.2
> Environment: As this is Java emphasis this should impact each OS
> environment and involve the applicable Java involved (i.e. as of a given Java
> version, the API may no longer be available and require replacements to newer
> APIs)
> Reporter: Eric Bresie
> Priority: Major
> Attachments: Java-Deprecated-RemovedApis(11-15).csv
>
>
> In more recent Java releases, efforts have been made to deprecate and remove
> unused or out of data APIs. This ticket is a parent ticket to address future
> updates to applicable projects where the NetBeans codebase utilized these
> deprecated and/or removed interfaces.
> This ticket has emphasis on Java 11 depreciations but similar type of work
> could be done on newer java releases going forward (i.e. each LTS release)
> For items related as of Java 11 see
> [https://docs.oracle.com/en/java/javase/11/docs/api/deprecated-list.html]
> As part of this work, it will requiring analysis of each project code base
> and identify where depreciated or removed API are in used, For each of the
> given occurrences the
> When changes are implemented, this will impact the build source (and possible
> target) dependencies (i.e. changes will be needed anyplace where
> javac.source, javac.target) may be impacted. These would have to be updated
> to be version relative to the applicable version.
> For items related as of Java 15 See
> [https://docs.oracle.com/en/java/javase/15/docs/api/deprecated-list.html]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists