hg: valhalla/valhalla/langtools: Tweak rules for generating accessors to statics.

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Fri Oct 17 12:02:28 UTC 2014


Changeset: 3bdde8f34f6b
Author:    mcimadamore
Date:      2014-10-17 12:59 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/3bdde8f34f6b

Tweak rules for generating accessors to statics.
* access to private static members should always go through accessors, even in cases
where the accessed symbol is in the same _specializable_ class.

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/valhalla/typespec/Statics02.java




More information about the valhalla-dev mailing list