Module prefix contains a '/' in the end which makes us beilive it is a jar file instead of a main class.
E.g. jps should list main class without package but module prefix causes us to think it's a jar file, hence we print main class including package.
E.g. jps should list main class without package but module prefix causes us to think it's a jar file, hence we print main class including package.
- duplicates
-
JDK-8154146 jps displays full package names by default after jigsaw
-
- Closed
-
- relates to
-
JDK-8176533 REGRESSION: a java process is not recognized by jcmd/jinfo/jstack/jmap tool
-
- Closed
-