RFR: JEP 359-Records: javadoc code

Chris Hegarty chris.hegarty at oracle.com
Thu Oct 31 10:31:36 UTC 2019


Jon,

> On 30 Oct 2019, at 23:50, Jonathan Gibbons <jonathan.gibbons at oracle.com> wrote:
> 
> ...
> 
> Also, the sets of examples are updated, showing examples linked and not linked to JDK API docs
> http://cr.openjdk.java.net/~jjg/amber-records/examples/api-with-link/
> http://cr.openjdk.java.net/~jjg/amber-records/examples/api-no-link/

The API docs should show all records as final, regardless of whether or not the final keywords appears in the source code. ( I’m not sure that this is currently the case in the changes ).

Additionally, ( something that I forgot previously ) I think that the API doc for all nested records should show them as static, regardless of whether or not the static keyword appears in the source code. ( A nested record is implicitly static  ).

-Chris.


More information about the amber-dev mailing list