[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:40:04 UTC 2020


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>

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

Commit messages:
 - Additional fixes for typing of value class literals.
 - Merge branch 'JDK-8244796' of https://github.com/sadayapalam/valhalla into JDK-8244796
 - 8244796: Javac does not compile test/hotspot/jtreg/runtime/valhalla/valuetypes/UnsafeTest.java anymore
 - 8244796: Javac does not compile test/hotspot/jtreg/runtime/valhalla/valuetypes/UnsafeTest.java anymore

Changes: https://git.openjdk.java.net/valhalla/pull/46/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/46/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8244796
  Stats: 91 lines in 6 files changed: 85 ins; 2 del; 4 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/46.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/46/head:pull/46

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


More information about the valhalla-dev mailing list