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 96bfe61 commit bee50cdCopy full SHA for bee50cd
src/java.base/share/classes/java/lang/reflect/Proxy.java
@@ -618,6 +618,7 @@ private static boolean isDebug(String flag) {
618
private final List<Class<?>> interfaces;
619
private final ProxyClassContext context;
620
ProxyBuilder(ClassLoader loader, List<Class<?>> interfaces) {
621
+ Objects.requireNonNull(interfaces);
622
if (!VM.isModuleSystemInited()) {
623
throw new InternalError("Proxy is not supported until "
624
+ "module system is fully initialized");
0 commit comments