nestmates spec open issues
Brian Goetz
brian.goetz at oracle.com
Wed Oct 25 15:39:31 UTC 2017
John Rose proposed:
> a) Class.getnestHost() - defaults to itself if there is a resolution error
(or if there is no Nest attribute)
> b) Class.getNestMembers() - returns full nest, fallback of self if
> any resolution errors including it lists a nestHost that
> does not list it.
For consistency with the classfile representation, this should probably
omit the host class.
> [editor notes:
> - full statically defined nest from classfile attribute? As distinct
> from full dynamically
> currently loaded nest - right?
I would prefer that this return only the static members, which is
consistent with the design center for reflection -- reflection over
classfiles.
More information about the valhalla-spec-observers
mailing list