mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8344575: Examine usage of ReflectUtil.forName() in java.sql.rowset - XmlReaderContentHandler
Reviewed-by: lancea, mchung, alanb, liach
This commit is contained in:
parent
470701f0bb
commit
e0d6398783
3 changed files with 8 additions and 14 deletions
|
@ -315,8 +315,7 @@ module java.base {
|
|||
java.desktop;
|
||||
exports sun.reflect.misc to
|
||||
java.desktop,
|
||||
java.management,
|
||||
java.sql.rowset;
|
||||
java.management;
|
||||
exports sun.security.internal.interfaces to
|
||||
jdk.crypto.cryptoki;
|
||||
exports sun.security.internal.spec to
|
||||
|
|
|
@ -32,10 +32,6 @@ public final class ReflectUtil {
|
|||
private ReflectUtil() {
|
||||
}
|
||||
|
||||
public static Class<?> forName(String name) throws ClassNotFoundException {
|
||||
return Class.forName(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensures that access to a method or field is granted and throws
|
||||
* IllegalAccessException if not. This method is not suitable for checking
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue