microsoft / microsoft/gctoolkit
Compiler Warnings with -X:lint switched on
Open
@karianna is already working on this.
Since Feb 26, 2026.
good first issue
help wanted
question
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 177
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 3
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.