clintropolis opened a new pull request, #14241:
URL: https://github.com/apache/druid/pull/14241

   ### Description
   Suppress some CVEs that I think are false positives, not applicable, or that 
are unable to be resolved (like ambari stuff).
   
   Also fixes some errors that happen with the javadoc plugin build and java 
17, which complains about our `yield()` method
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:2.10.1:jar (attach-javadocs) on 
project druid-processing: MavenReportException: Error while creating archive: 
   [ERROR] Exit code: 1 - Loading source files for package 
org.apache.druid.crypto...
   [ERROR] Loading source files for package org.apache.druid.hll...
   
   ...
   
   [ERROR] 
/Users/clint/workspace/apache/druid/processing/src/main/java/org/apache/druid/java/util/common/guava/Yielders.java:39:
 error: invalid use of a restricted identifier 'yield'
   [ERROR]             yield();
   [ERROR]             ^
   [ERROR]   (to invoke a method called yield, qualify the yield with a 
receiver or type name)
   [ERROR] 
/Users/clint/workspace/apache/druid/processing/src/main/java/org/apache/druid/java/util/common/guava/ConcatSequence.java:58:
 error: invalid use of a restricted identifier 'yield'
   [ERROR]             yield();
   [ERROR]             ^
   [ERROR]   (to invoke a method called yield, qualify the yield with a 
receiver or type name)
   [ERROR] 
/Users/clint/workspace/apache/druid/processing/src/main/java/org/apache/druid/java/util/common/guava/MergeSequence.java:73:
 error: invalid use of a restricted identifier 'yield'
   [ERROR]                     yield();
   [ERROR]                     ^
   [ERROR]   (to invoke a method called yield, qualify the yield with a 
receiver or type name)
   [ERROR] 
/Users/clint/workspace/apache/druid/processing/src/main/java/org/apache/druid/java/util/common/guava/ParallelMergeCombiningSequence.java:898:
 error: invalid use of a restricted identifier 'yield'
   [ERROR]                 yield();
   [ERROR]                 ^
   [ERROR]   (to invoke a method called yield, qualify the yield with a 
receiver or type name)
   [ERROR] 
/Users/clint/workspace/apache/druid/processing/src/main/java/org/apache/druid/java/util/common/guava/LimitedSequence.java:135:
 error: invalid use of a restricted identifier 'yield'
   [ERROR]         yield();
   [ERROR]         ^
   [ERROR]   (to invoke a method called yield, qualify the yield with a 
receiver or type name)
   [ERROR] 
/Users/clint/workspace/apache/druid/processing/src/main/java/org/apache/druid/query/scan/ScanQueryLimitRowIterator.java:79:
 error: invalid use of a restricted identifier 'yield'
   [ERROR]             yield();
   [ERROR]             ^
   [ERROR]   (to invoke a method called yield, qualify the yield with a 
receiver or type name)
   [ERROR] 6 errors
   [ERROR] 
   [ERROR] Command line was: 
/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home/bin/javadoc
 @options @packages
   [ERROR] 
   [ERROR] Refer to the generated Javadoc files in 
'/Users/clint/workspace/apache/druid/processing/target/apidocs' dir.
   [ERROR] 
   ```


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to