Skip to content

.newInstance is deprecated as of Java 9 #25

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

Closed
LeeTibbert opened this issue Jan 21, 2021 · 3 comments
Closed

.newInstance is deprecated as of Java 9 #25

LeeTibbert opened this issue Jan 21, 2021 · 3 comments

Comments

@LeeTibbert
Copy link
Contributor

This issue is a forget-me-not.

I accidentally built portable-scala-reflect using a Java version greater than 8.
There was a deprecation warning about the use of the, indeed deprecated, .newInstance().
From a quick grep, it looked like that may be used in a number of places.

I hope to get back to fix this after my current series of PRs to add Scala Native support.
I will not be offended if anybody gets this fixed before I can get back to it.

@LeeTibbert
Copy link
Contributor Author

To check: ReadMe.md has an example using newInstance(). Is that the deprecated method or something valid.

@sideeffffect
Copy link
Contributor

This has been fixed in #40

@gzm0
Copy link
Contributor

gzm0 commented Jan 17, 2022

TY

@gzm0 gzm0 closed this as completed Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants