Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't call wrapper constructors directly #3800

Closed

Conversation

marschall
Copy link
Contributor

@marschall marschall commented Nov 8, 2020

The constructors of the wrapper classes for primitives (Double,
Integer, Long) have been deprecated since JDK 9 and should no longer be
called. Instead the static factory #valueOf should be used.

@marschall
Copy link
Contributor Author

The same tests fail as currently fail on the master.

@marschall marschall force-pushed the wrapper-constructors branch 2 times, most recently from 9268abc to 614a542 Compare November 15, 2020 12:36
@fmbenhassine fmbenhassine removed the status: waiting-for-triage Issues that we did not analyse yet label Jan 21, 2021
@fmbenhassine fmbenhassine added this to the 5.0.0 milestone Jan 21, 2021
The constructors of the wrapper classes for primitives (Double,
Integer, Long) have been deprecated since JDK 9 and should no longer be
called. Instead the static factory #valueOf should be used.
@fmbenhassine
Copy link
Contributor

Rebased and merged as c9e06b2. Thank you for your contribution.

@fmbenhassine fmbenhassine modified the milestones: 5.0.0, 5.0.0-M1 Aug 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants