Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
jdeprscan will need to be updated to to be able to run successfully after the Java EE and CORBA modules are deleted. The processSelf method adds the java.se.ee and jdk.xml.bind modules: ������������������ boolean processSelf(Collection<String> classes) throws IOException { options.add("--add-modules"); options.add("java.se.ee,jdk.xml.bind"); // TODO why jdk.xml.bind? if (classes.isEmpty()) { Path modules = FileSystems.getFileSystem(URI.create("jrt:/")) .getPath("/modules"); // names are /modules/<modulename>/pkg/.../Classname.class try (Stream<Path> paths = Files.walk(modules)) { Stream<String> files = paths.filter(p -> p.getNameCount() > 2) .map(p -> p.subpath(1, p.getNameCount())) .map(Path::toString); return doModularFileNames(files); } } else { return doClassNames(classes); } } ------------------- The following tests currently fail due to the removal of the Java EE and CORBA modules: make run-test TEST="open/test/langtools/tools/jdeprscan/tests/jdk/jdeprscan/TestNotFound.java��� make run-test TEST="open/test/langtools/tools/jdeprscan/tests/jdk/jdeprscan/TestRelease.java"