RFR: JEP 359-Records: reflection code

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Mon Oct 21 22:32:04 UTC 2019


On 21/10/2019 23:02, Remi Forax wrote:
> - the same call works for equals/hashCode and toString, so depending on the methods some arguments are not used or not

I too found this a bit odd when looking at the javac code - it took me 
sometime to figure out what was going on.

The question I have here is - is the decision of having a single point a 
deliberate decision that we think it's going to pay off in the long run? 
Or was it more a way to quickly bootstrap the javac implementation? If 
the latter, we should probably revert to one bootstrap per Object method.

Maurizio



More information about the compiler-dev mailing list