mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert groovyc JointCompilationClassLoader changes as they don't fix IDEA-166169
This commit is contained in:
-9
@@ -15,7 +15,6 @@
|
||||
*/
|
||||
package org.jetbrains.jps.incremental.groovy;
|
||||
|
||||
import com.intellij.util.SystemProperties;
|
||||
import com.intellij.util.lang.ClassPath;
|
||||
import com.intellij.util.lang.UrlClassLoader;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -24,7 +23,6 @@ import org.jetbrains.annotations.NotNull;
|
||||
* @author peter
|
||||
*/
|
||||
class JointCompilationClassLoader extends UrlClassLoader {
|
||||
private static final boolean ourExplicitlyAvoidLoadingJava = SystemProperties.getBooleanProperty("groovy.classloader.skip.java.package", true);
|
||||
@NotNull private final Builder myBuilder;
|
||||
@NotNull private ClassPath myClassPath;
|
||||
|
||||
@@ -34,13 +32,6 @@ class JointCompilationClassLoader extends UrlClassLoader {
|
||||
myClassPath = super.getClassPath();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Class findClass(String name) throws ClassNotFoundException {
|
||||
if (ourExplicitlyAvoidLoadingJava && name.startsWith("java.")) return null;
|
||||
|
||||
return super.findClass(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Class _defineClass(String name, byte[] b) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user