question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JDK9 warnings on start

See original GitHub issue

steps

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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
eed3si9ncommented, Sep 29, 2017

Re-opening this to track on sbt/sbt. Any discussions should take place in sbt/librarymanagement#169.

0reactions
dwijnandcommented, Oct 27, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found