[lworld] RFR: 8244796: [lworld] Javac does not compile test/hotspot/jtreg/runtime/valhalla/valuetypes/UnsafeTest.java anymore

Srikanth Adayapalam sadayapalam at openjdk.java.net
Thu May 14 01:42:08 UTC 2020


On Thu, 14 May 2020 01:34:10 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:

> Summary: Implement temporary typing rules for value class literals, these being:
> 
>     o Given a value class V that implements an interface I
>         - Class<V>, Class<? extends V>, Class<? super V> are all malformed for the time being.
>         - V.class and v.getClass() are to be typed temporarily as Class<? extends Object & I>

/solves 8244799

-------------

PR: https://git.openjdk.java.net/valhalla/pull/46


More information about the valhalla-dev mailing list