We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b961ac commit d5375c7Copy full SHA for d5375c7
src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java
@@ -867,7 +867,7 @@ private JavaFileObject getClassFileObject(String className) throws IOException {
867
if (moduleLocation != null) {
868
fo = fileManager.getJavaFileForInput(moduleLocation, className, JavaFileObject.Kind.CLASS);
869
} else {
870
- if (className.indexOf('.') > 0) {
+ if (className.indexOf('.') > 0 || className.indexOf('/') > 0) {
871
//search for classes with a named package in the JDK modules specifed by --system option first
872
try {
873
for (Set<Location> locations: fileManager.listLocationsForModules(StandardLocation.SYSTEM_MODULES)) {
0 commit comments