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
Let ijar
warn only once per unsupported attribute
#22072
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
Only warning once per attribute SGTM, thanks. I think the idea behind the warnings is that we want to make a decision about new attributes, and either support it in ijar (if it's a standard JVM attribute that contains references to constant pool entries), or suppress the warning (if it's a proprietary attribute). For the osgi/aspectj ones in the bug, I think we could also add suppressions. |
CC @dkashyn-sfdc in case you want to submit a follow-up change to suppress these attributes. |
@fmeum will this be released as part of 7.2? |
If I'm not mistaken, it will be in the next rules_java release, which you can update to independently of the next Bazel release (although it will also be the default with 7.2.0). |
Let's hope this got merged till 7.2.0 GA then ;) |
Work towards bazelbuild#21781 Closes bazelbuild#22072. PiperOrigin-RevId: 629359080 Change-Id: I2c813d3a9069ec125a914bfc57e6c9068c83d3bc
Work towards #21781