javax.lang.model for records

Vicente Romero vicente.romero at oracle.com
Mon Oct 7 19:04:21 UTC 2019


Hi,

We have recently made an update of the javax.lang.model implementation 
for records [1]. The key difference with the previous implementation is 
that we have made javax.lang.model.element.RecordComponentElement, a top 
level element in the model, a direct subinterface of j.l.m.e.Element. 
Previously it was extending j.l.m.e.VariableElement. Doing this 
seemingly minor change has implied a cascade of changes several existing 
APIs plus the addition of several new ones: new visitors, new scanners, 
etc. A specdiff of the changes can be seen at [2].

Thanks,
Vicente

[1] https://hg.openjdk.java.net/amber/amber/rev/cf64ea74503e
[2] 
http://cr.openjdk.java.net/~vromero/amber/records/javax.lang.model/specdiff.00/java.compiler/module-summary.html


More information about the amber-spec-experts mailing list