< prev index next >
langtools/test/tools/javac/T8003967/DetectMutableStaticFields.java
Print this page
*** 106,123 ****
// The following static fields are used for caches of information obtained
// by reflective lookup, to avoid explicit references that are not available
// when running javac on JDK 8.
ignore("com/sun/tools/javac/util/ModuleHelper",
"addExportsMethod", "getModuleMethod", "getUnnamedModuleMethod");
! ignore("com/sun/tools/javac/util/ModuleWrappers$ConfigurationHelper",
"resolveRequiresAndUsesMethod", "configurationClass");
! ignore("com/sun/tools/javac/util/ModuleWrappers$LayerHelper",
"bootMethod", "defineModulesWithOneLoaderMethod", "configurationMethod", "layerClass");
! ignore("com/sun/tools/javac/util/ModuleWrappers$ModuleFinderHelper",
! "emptyMethod", "moduleFinderInterface", "ofMethod");
!
!
}
private final List<String> errors = new ArrayList<>();
public static void main(String[] args) {
--- 106,123 ----
// The following static fields are used for caches of information obtained
// by reflective lookup, to avoid explicit references that are not available
// when running javac on JDK 8.
ignore("com/sun/tools/javac/util/ModuleHelper",
"addExportsMethod", "getModuleMethod", "getUnnamedModuleMethod");
! ignore("com/sun/tools/javac/util/JDK9Wrappers$Configuration",
"resolveRequiresAndUsesMethod", "configurationClass");
! ignore("com/sun/tools/javac/util/JDK9Wrappers$Layer",
"bootMethod", "defineModulesWithOneLoaderMethod", "configurationMethod", "layerClass");
! ignore("com/sun/tools/javac/util/JDK9Wrappers$ModuleFinder",
! "moduleFinderClass", "ofMethod");
! ignore("com/sun/tools/javac/util/JDK9Wrappers$ServiceLoaderHelper",
! "loadMethod");
}
private final List<String> errors = new ArrayList<>();
public static void main(String[] args) {
< prev index next >