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

networkInterface.md not correctly generated with Java 6

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • support-core-plugin
    • None

      In the file networkInterface.md we have

      N/A: No connection to node, or no cache.
      

      Source of the issue:

      support-core-plugin/src/main/java/com/cloudbees/jenkins/support/impl/NetworkInterfaces.java:[122,56]

      getIndex() is not public in java.net.NetworkInterface; cannot be accessed from outside package

      java.net.NetworkInterface#getIndex() is Java 7+

      Several issues :

      If we remove this line the file is correctly generated

          [JENKINS-32110] networkInterface.md not correctly generated with Java 6

          Arnaud Héritier created issue -
          Arnaud Héritier made changes -
          Description Original: In the file networkInterface.md we have

          {code}
          N/A: No connection to node, or no cache.
          {code}

          Source of the issue:

          /Users/arnaud/Code/jenkinsci/support-core-plugin/src/main/java/com/cloudbees/jenkins/support/impl/NetworkInterfaces.java:[122,56]

          getIndex() is not public in java.net.NetworkInterface; cannot be accessed from outside package

          java.net.NetworkInterface#getIndex() is Java 7+

          Several issues :
          * https://jenkins.ci.cloudbees.com/job/plugins/job/support-core-plugin is building with J7 :(
          * animal sniffer is configured to check with java 5 ... but it isn't called by default

          If we remove this line the file is correctly generated
          New: In the file networkInterface.md we have

          {code}
          N/A: No connection to node, or no cache.
          {code}

          Source of the issue:

          support-core-plugin/src/main/java/com/cloudbees/jenkins/support/impl/NetworkInterfaces.java:[122,56]

          getIndex() is not public in java.net.NetworkInterface; cannot be accessed from outside package

          java.net.NetworkInterface#getIndex() is Java 7+

          Several issues :
          * https://jenkins.ci.cloudbees.com/job/plugins/job/support-core-plugin is building with J7 :(
          * animal sniffer is configured to check with java 5 ... but it isn't called by default

          If we remove this line the file is correctly generated
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 167593 ] New: JNJira + In-Review [ 182801 ]

            schristou Steven Christou
            aheritier Arnaud Héritier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: