Is there really a jdk.proxy1 module?
Remi Forax
forax at univ-mlv.fr
Tue Dec 8 14:32:04 UTC 2015
No,
jdk.proxy1 is a module created dynamically by the class java.lang.reflect.Proxy.
Rémi
----- Mail original -----
> De: "Stephane Epardaud" <stef at epardaud.fr>
> À: jigsaw-dev at openjdk.java.net
> Envoyé: Mardi 8 Décembre 2015 15:21:57
> Objet: Is there really a jdk.proxy1 module?
>
> I'm getting:
>
> java.lang.IllegalAccessException: class
> com.redhat.ceylon.model.loader.impl.reflect.mirror.ReflectionAnnotation
> (in module com.redhat.ceylon.model) cannot access class
> com.sun.proxy.jdk.proxy1.$Proxy3 (in module jdk.proxy1) because module
> com.redhat.ceylon.model does not read module jdk.proxy1
>
> When using reflection to load annotations. Is there really a
> "jdk.proxy1" module I need to import when doing reflection? Sounds
> fishy, no?
>
> Cheers.
>
More information about the jigsaw-dev
mailing list