-
Enhancement
-
Resolution: Fixed
-
P4
-
None
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8324708 | 17.0.12-oracle | Weibing Xiao | P4 | Resolved | Fixed | b01 |
JDK-8304372 | 17.0.8 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
JDK-8324709 | 11.0.24-oracle | Weibing Xiao | P4 | Resolved | Fixed | b01 |
JDK-8304431 | 11.0.20 | Christoph Langer | P4 | Resolved | Fixed | b01 |
JDK-8304970 | openjdk8u382 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
The IllegalArgumentException message is not showing the ClassLoader object from which the class was not visible. It would be useful to know which specific ClassLoader object was the one from which the class was not visible.
Caused by: java.lang.IllegalArgumentException: package.ClassName referenced from a method is not visible from class loader
at java.lang.reflect.Proxy$ProxyBuilder.ensureVisible(Proxy.java:858) ~[?:?]
at java.lang.reflect.Proxy$ProxyBuilder.validateProxyInterfaces(Proxy.java:681) ~[?:?]
at java.lang.reflect.Proxy$ProxyBuilder.(Proxy.java:627) ~[?:?]
at java.lang.reflect.Proxy.lambda$getProxyConstructor$1(Proxy.java:426) ~[?:?]
at jdk.internal.loader.AbstractClassLoaderValue$Memoizer.get(AbstractClassLoaderValue.java:329) ~[?:?]
at jdk.internal.loader.AbstractClassLoaderValue.computeIfAbsent(AbstractClassLoaderValue.java:205) ~[?:?]
at java.lang.reflect.Proxy.getProxyConstructor(Proxy.java:424) ~[?:?]
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:1006) ~[?:?]
- backported by
-
JDK-8304372 Add specific ClassLoader object to Proxy IllegalArgumentException message
-
- Resolved
-
-
JDK-8304431 Add specific ClassLoader object to Proxy IllegalArgumentException message
-
- Resolved
-
-
JDK-8304970 Add specific ClassLoader object to Proxy IllegalArgumentException message
-
- Resolved
-
-
JDK-8324708 Add specific ClassLoader object to Proxy IllegalArgumentException message
-
- Resolved
-
-
JDK-8324709 Add specific ClassLoader object to Proxy IllegalArgumentException message
-
- Resolved
-
- relates to
-
JDK-8319436 Proxy.newProxyInstance throws NPE if loader is null and interface not visible from class loader
-
- Closed
-
- links to
-
Commit openjdk/jdk8u-dev/ca1c3b1e
-
Commit openjdk/jdk11u-dev/f4776fe1
-
Commit openjdk/jdk17u-dev/c6805e64
-
Commit openjdk/jdk/9f9d6785
-
Review openjdk/jdk8u-dev/290
-
Review openjdk/jdk11u-dev/1802
-
Review openjdk/jdk17u-dev/1199
-
Review openjdk/jdk/12641