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

Telemetry gathering for missing classes due to Java modules

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.184

      Description

      A first step on gathering information via telemetry related to Java 11.

      In this ticket, we are going to gather the ClassNotFoundExeptions and some NoClassDefFoundError thrown in the master related to the Java packages moved to modules from Java 8.

        Attachments

          Activity

          Hide
          mramonleon Ramon Leon added a comment - - edited

          It has been tested in this scenarios:

          • A CNFE thrown by a `getClass().getClassLoader().loadClass` in a step implemented in a plugin 
          • A CNFE thrown by a `Thread.currentThread().getContextClassLoader().loadClass` in a step implemented in a plugin
          • A CNFE thrown by a `getClass().getClassLoader().loadClass` in an action implemented in a plugin 
          • A CNFE thrown by a `Thread.currentThread().getContextClassLoader().loadClass` in an action implemented in a plugin
          • A NoClassDefFoundError thrown by a call to a class moved to a module (`import sun.misc.BASE64Encoder;`) in a step implemented in a plugin

          Tester plugin: https://github.com/MRamonLeon/java11-tester-plugin

          Show
          mramonleon Ramon Leon added a comment - - edited It has been tested in this scenarios: A CNFE thrown by a `getClass().getClassLoader().loadClass` in a step implemented in a plugin  A CNFE thrown by a `Thread.currentThread().getContextClassLoader().loadClass` in a step implemented in a plugin A CNFE thrown by a `getClass().getClassLoader().loadClass` in an action implemented in a plugin  A CNFE thrown by a `Thread.currentThread().getContextClassLoader().loadClass` in an action implemented in a plugin A NoClassDefFoundError thrown by a call to a class moved to a module (`import sun.misc.BASE64Encoder;`) in a step implemented in a plugin Tester plugin:  https://github.com/MRamonLeon/java11-tester-plugin

            People

            • Assignee:
              mramonleon Ramon Leon
              Reporter:
              mramonleon Ramon Leon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: