ValueTypes attribute consistency checking and static fields

2018-06-19 Thread Karen Kinnear
Frederic and I have worked on a set of proposals for ValueTypes consistency 
checking.

http://cr.openjdk.java.net/~acorn/value-types-consistency-checking-details.pdf

The first part contains the proposal.

The second walks through details of the consistency checking in the case of a 
value type missing from
the ValueTypes attribute. The third walks the details in the case of a 
non-value type in the ValueTypes attribute.

The goal is to implement the consistency checking for LW1. Reviews appreciated. 
Suggestions on simpler
ways to express the details are also welcome.

The proposal also walks through a possible (post-LW1) approach for handling 
static fields that can contain
an instance of the same type.

I did not explore Value-Based-Class migration here yet, since that adds 
significant complexity.

thanks,
Karen

[Nestmates] Updates to the java.lang.Class docs in relation to nests

2018-06-19 Thread David Holmes
Following some extensive discussion on the JEP-181 CSR, Alex proposed a 
number of changes to the way we described nests and the new nest related 
methods in java.lang.Class. There is no normative change to the new 
reflection API that was added, just a change in how things are presented 
and described. A new overview was added to the class-level javadoc.


For reference the latest version can be seen here:

http://cr.openjdk.java.net/~dholmes/8010319-JEP181/specs/

The updated RFR for these changes was posted here:

http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-June/053913.html

Thanks,
David