Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import java.net.URL;
import java.net.URLConnection;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.Enumeration;
Expand Down Expand Up @@ -734,7 +733,17 @@ private static boolean hasSourceCache(@NonNull final URL root) {

//keep synchronized with libs.javacapi/manifest.mf and libs.javacimpl/manifest.mf
//when adding new packages, double-check the quick path in loadClass below:
private static final Iterable<? extends String> javacPackages = Arrays.asList("com.sun.javadoc.", "com.sun.source.", "javax.annotation.processing.", "javax.lang.model.", "javax.tools.", "com.sun.tools.javac.", "com.sun.tools.javadoc.", "com.sun.tools.classfile.", "com.sun.tools.hc.");
private static final Iterable<? extends String> javacPackages = List.of(
"com.sun.source.",
"com.sun.tools.classfile.",
"com.sun.tools.javac.",
"com.sun.tools.doclint.",
"com.sun.tools.javap.",
"javax.annotation.processing.",
"javax.lang.model.",
"javax.tools."
);

private static final class BypassOpenIDEUtilClassLoader extends ClassLoader {
private final ClassLoader contextCL;
public BypassOpenIDEUtilClassLoader(ClassLoader contextCL) {
Expand Down
Loading