mjsax commented on code in PR #20424:
URL: https://github.com/apache/kafka/pull/20424#discussion_r2311684406
##########
build.gradle:
##########
@@ -3362,6 +3362,7 @@ project(':jmh-benchmarks') {
tasks.withType(JavaCompile) {
// Suppress warning caused by code generated by jmh: `warning: [cast]
redundant cast to long`
options.compilerArgs << "-Xlint:-cast"
+ options.compilerArgs << "-Xlint:unchecked"
Review Comment:
Happy to remove it -- it seems something is off with my local setup -- I
don't see the full warn output as you do, and adding this flag did make a
difference for me... so 🤷
##########
build.gradle:
##########
@@ -3362,6 +3362,7 @@ project(':jmh-benchmarks') {
tasks.withType(JavaCompile) {
// Suppress warning caused by code generated by jmh: `warning: [cast]
redundant cast to long`
options.compilerArgs << "-Xlint:-cast"
+ options.compilerArgs << "-Xlint:unchecked"
Review Comment:
```suggestion
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]