Deprecated attribute in module-info.class?

Stephan Herrmann stephan.herrmann at berlin.de
Thu Mar 29 14:36:24 UTC 2018


I'm looking at jdk.xml.bind/module-info.class from JDK 9.0.4.

I do find a RuntimeVisibleAnnotation attribute representing
   @java.lang.Deprecated(since="9", forRemoval=true)
but I don't find a Deprecated attribute.

Is this intended? JVMS 4.7.15 neither includes nor excludes
modules, but not generating the Deprecated attribute looks
like an omission to me.

best,
Stephan

PS: Tested also with JDK 10+46


More information about the jigsaw-dev mailing list