[JIRA] (JENKINS-57223) Telemetry gathering for missing classes due to Java modules

4 views
Skip to first unread message

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 29, 2019, 10:18:01 AM4/29/19
to jenkinsc...@googlegroups.com
Ramon Leon created an issue
 
Jenkins / New Feature JENKINS-57223
Telemetry gathering for missing classes due to Java modules
Issue Type: New Feature New Feature
Assignee: Ramon Leon
Components: core
Created: 2019-04-29 14:17
Labels: java11
Priority: Minor Minor
Reporter: Ramon Leon

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 29, 2019, 10:24:02 AM4/29/19
to jenkinsc...@googlegroups.com
Ramon Leon commented on New Feature JENKINS-57223
 
Re: Telemetry gathering for missing classes due to Java modules

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

manuelramonleonjimenez@gmail.com (JIRA)

unread,
Apr 29, 2019, 10:27:01 AM4/29/19
to jenkinsc...@googlegroups.com
Ramon Leon edited a comment on New Feature JENKINS-57223
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]

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 8, 2019, 8:51:03 AM7/8/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 8, 2019, 8:51:03 AM7/8/19
to jenkinsc...@googlegroups.com
Change By: Oleg Nenashev
Status: Open Fixed but Unreleased
Resolution: Fixed
Released As: Jenkins 2.184
Reply all
Reply to author
Forward
0 new messages