Re: [External] : Re: JEP 401 -- reflection and class literals

2021-06-27 Thread Remi Forax
- Original Message - > From: "Brian Goetz" > To: "Peter Levart" > Cc: "valhalla-spec-experts" > Sent: Dimanche 27 Juin 2021 22:01:21 > Subject: Re: [External] : Re: JEP 401 -- reflection and class literals >> >> &g

Re: [External] : Re: JEP 401 -- reflection and class literals

2021-06-27 Thread Brian Goetz
Seems like we are forced to re-use Class objects to hold this additional info. Remi says that there should only be "primary" (ref type) primitive class literals (Foo.class) and no (Foo.ref.class or Foo.val.class) and that val type mirrors should be obtained by calling a method (such as