gctoolkit
gctoolkit copied to clipboard
Compiler Warnings with -X:lint switched on
trafficstars
These aren't necessarily bugs, but we should look into them:
[INFO] Compiling 99 source files to /Users/karianna/Documents/workspace/microsoft/gctoolkit/core/api/target/classes
[WARNING] /Users/karianna/Documents/workspace/microsoft/gctoolkit/core/api/src/main/java/com/microsoft/gctoolkit/aggregator/JVMEventDispatcher.java:[49,72] unchecked cast
required: java.lang.Class<? extends com.microsoft.gctoolkit.event.jvm.JVMEvent>
found: java.lang.Class<capture#1 of ? super capture#2 of ? extends com.microsoft.gctoolkit.event.jvm.JVMEvent>
[WARNING] /Users/karianna/Documents/workspace/microsoft/gctoolkit/core/api/src/main/java/com/microsoft/gctoolkit/aggregator/JVMEventDispatcher.java:[65,60] unchecked cast
required: java.util.function.Consumer<com.microsoft.gctoolkit.event.jvm.JVMEvent>
found: java.util.function.Consumer<capture#3 of ? super R>
and
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 66 source files to /Users/karianna/Documents/workspace/microsoft/gctoolkit/core/parser/target/classes
[WARNING] /Users/karianna/Documents/workspace/microsoft/gctoolkit/core/parser/src/main/java/com/microsoft/gctoolkit/parser/collection/MRUQueue.java:[26,33] unchecked cast
required: K
found: java.lang.Object