-
Improvement
-
Resolution: Fixed
-
Minor
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC olamy who may know workarounds
Proposal:
- Disable Animal sniffer when java.level is 9 or above
- Enable http://openjdk.java.net/jeps/247 flags for newer versions (maybe Maven Compiler does it automatically)
- is blocking
-
JENKINS-54828 Support building plugins with Java 11 and 17
-
- Closed
-
- links to
[JENKINS-54842] Use Java 11 built-in functionality instead of Animal Sniffer
Epic Link |
New:
|
Labels | New: java11 |
Labels | Original: java11 | New: java11 java11-devtools-compatibility |
Summary | Original: Find and add Java 9+ signatures for Animal Sniffer | New: Plugin POM: use Java 11 built-in functionality instead of Animal Sniffer |
Description |
Original:
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC [~olamy] who may know workarounds |
New:
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC [~olamy] who may know workarounds Proposal: * Disable Animal sniffer when java.level is 9 or above * |
Description |
Original:
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC [~olamy] who may know workarounds Proposal: * Disable Animal sniffer when java.level is 9 or above * |
New:
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC [~olamy] who may know workarounds Proposal: * Disable Animal sniffer when java.level is 9 or above * Enable [http://openjdk.java.net/jeps/247] flags for newer versions |
Description |
Original:
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC [~olamy] who may know workarounds Proposal: * Disable Animal sniffer when java.level is 9 or above * Enable [http://openjdk.java.net/jeps/247] flags for newer versions |
New:
Currently there is no Java 9+ signatures for Animal Sniffer, so we cannot really compile code for Java 11 without disable static checks. CC [~olamy] who may know workarounds Proposal: * Disable Animal sniffer when java.level is 9 or above * Enable [http://openjdk.java.net/jeps/247] flags for newer versions (maybe Maven Compiler does it automatically) |
Labels | Original: java11 java11-devtools-compatibility | New: java11 java11-devtools-compatibility triaged-2018-12 |
IMHO we do not need anymore animal sniffer but simply use the release compiler flag...
Read the motivation section here http://openjdk.java.net/jeps/247 I guess this was inspired by our signatures.
This simply insure the code is RELEASE compatible.