-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Annotation scanning should ignore module-info.class
files
#1692
Labels
Bug
For general bugs on Jetty side
Comments
Done for jetty-9.4.x. |
This was referenced Mar 7, 2018
colindean
added a commit
to colindean/sbt-scalatra
that referenced
this issue
Mar 7, 2018
Fixes scalatra#55 which was caused by jetty/jetty.project#1692 earldouglas/sbt-war#361 updated xsbt-web-plugin with the fix.
colindean
added a commit
to colindean/scalatra.g8
that referenced
this issue
Mar 7, 2018
via xsbt-web-plugin 4.0.2 Root fix: jetty/jetty.project#1692 Stream: earldouglas/sbt-war#361 scalatra/sbt-scalatra#55
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a class has a JDK9 / JPMS specific feature known as
module-info.class
, then this class should never be scanned for annotations by Jetty's bytecode scanner.To reproduce this bug, include the following classes in the
WEB-INF/lib
of a war file.slf4j-api-1.8.0-alpha2.jar
log4j-over-slf4j-1.8.0-alpha2.jar
jcl-over-slf4j-1.8.0-alpha2.jar
The text was updated successfully, but these errors were encountered: