Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54842

Use Java 11 built-in functionality instead of Animal Sniffer

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • plugin-pom
    • 4.40

      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)

       

       

          [JENKINS-54842] Use Java 11 built-in functionality instead of Animal Sniffer

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-40689 [ 177392 ]
          Oleg Nenashev made changes -
          Labels New: java11
          Oleg Nenashev made changes -
          Labels Original: java11 New: java11 java11-devtools-compatibility
          Oleg Nenashev made changes -
          Summary Original: Find and add Java 9+ signatures for Animal Sniffer New: Plugin POM: use Java 11 built-in functionality instead of Animal Sniffer
          Oleg Nenashev made changes -
          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
           *  

           
          Oleg Nenashev made changes -
          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

           

           
          Oleg Nenashev made changes -
          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)

           

           
          Isa Vilacides made changes -
          Labels Original: java11 java11-devtools-compatibility New: java11 java11-devtools-compatibility triaged-2018-12
          Isa Vilacides made changes -
          Labels Original: java11 java11-devtools-compatibility triaged-2018-12 New: java11 java11-devtools-compatibility triaged
          Basil Crow made changes -
          Epic Link Original: JENKINS-40689 [ 177392 ] New: JENKINS-67688 [ 214193 ]

            basil Basil Crow
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: