JDK9 warnings on start
See original GitHub issuesteps
sbt update
problem
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by sbt.internal.librarymanagement.ivyint.ErrorMessageAuthenticator$ (file:/Users/maedhros/.sbt/boot/scala-2.12.3/org.scala-sbt/sbt/1.0.1/librarymanagement-ivy_2.12-1.0.0.jar) to field java.net.Authenticator.theAuthenticator
WARNING: Please consider reporting this to the maintainers of sbt.internal.librarymanagement.ivyint.ErrorMessageAuthenticator$
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
expectation
No warnings
notes
sbt version: 1.0.1
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Java 9 Illegal Reflective Access Warning - Baeldung
Learn about Java 9 illegal reflective access warning. ... In the Java module system, a package needs to be open to allow deep...
Read more >How to hide warning "Illegal reflective access" in java 9 ...
I would like to hide this warning without adding --illegal-access=deny to JVM options during start. Something like: System.setProperty("illegal- ...
Read more >Enhanced Deprecation - Java - Oracle Help Center
Starting with JDK 9, APIs may be marked as deprecated for removal. This indicates that the ... The Java compiler generates warnings about...
Read more >Java 9: New Features and Compatibility of JDK 9 - Azul Systems
If you use this, the JVM will abort without starting. The second way was from the manifest of a jar file. In this...
Read more >[JDK-8074859] Turn on warnings as error - Java Bug System
Also, different versions of compilers can generate a different set of warnings. It is therefore necessary to be able to turn off this...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Re-opening this to track on sbt/sbt. Any discussions should take place in sbt/librarymanagement#169.
This issue, the one about “Illegal reflective access by sbt.internal.librarymanagement.ivyint.ErrorMessageAuthenticator$”, is fixed and shipped in 1.0.3, and we should close it.
https://github.com/sbt/launcher/issues/38 is also fixed, but sadly didn’t ship in 1.0.3. We’ll track shipping it in 1.0.4 with https://github.com/sbt/sbt/issues/3676.