JDK-8205157 : jdeprscan reports "error: module not found: java.se.ee"
  • Type: Bug
  • Component: tools
  • Affected Version: 11
  • Priority: P3
  • Status: Resolved
  • Resolution: Cannot Reproduce
  • Submitted: 2018-06-14
  • Updated: 2018-06-21
  • Resolved: 2018-06-21
Related Reports
Relates :  
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
Hi Team, 
I ran jdeprscan on one of my simple class and it will give me error below. 
error: module not found: java.se.ee


REGRESSION : Last worked in version 11

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
ran jdeprscan on test class given by me.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
it should give me dependency list.
ACTUAL -
it give me error
error: module not found: java.se.ee

---------- BEGIN SOURCE ----------
import java.rmi.RMISecurityManager;

public class Deprecations {  
   SecurityManager sm = new RMISecurityManager();    // deprecated in 8 
   Boolean b2 = new Boolean(true);          // deprecated in 9          
}
---------- END SOURCE ----------

FREQUENCY : always



Comments
No long occurs in the tip of the repo. This was probably fixed by JDK-8194308 or JDK-8196618.
21-06-2018

This issue is mostly related to JDK-8194308
18-06-2018

This issue is reproducible in JDK11 ea b01 onwards. Infact it doesn't work for empty file also. == -sh-4.2$ /scratch/fairoz/JAVA/jdk11/jdk-11-ea+17/bin/jdeprscan Deprecations.class error: module not found: java.se.ee == This is regression started from 11 ea b01 onwards. 9 GA - Pass 10 GA - Pass 10.0.1 - Pass 11 ea b01 - Fail //Regression started from here 11 ea b17 - Fail
18-06-2018