rmuir opened a new pull request, #14884: URL: https://github.com/apache/lucene/pull/14884
This is being a bit anal, but this rule shouldn't emit a false positive if you do a wildcard import from a subpackage of java.lang, e.g. import java.lang.classfile.*; The issue is, it can be a bit confusing as you get two errors instead of just the `WildcardImport` error. Anchor it. Found by testing rules on openjdk sources. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org