[lworld] RFR: 8242612: [lworld] Javac should not expressly encode the new super interface types in class files

Srikanth Adayapalam sadayapalam at openjdk.java.net
Mon May 18 12:20:20 UTC 2020


Jim, Could you please review this change ? TIA.

Changes:

    - Withdraw the new top type InlineObject (per design)
    - Do not encode the new top types in class files as this is noisy and
      very disruptive and let the static compiler and the dynamic environments
      inject these types as needed. (since classes compiled with legacy compilers
      will not encode these top types anyway the VM has to resort to injection,
      why not resort to injection for everything is the motivation)
    - Adjust some code that is surprised by super interfaces being empty.

More background is available in https://bugs.openjdk.java.net/browse/JDK-8242612

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

Commit messages:
 - 8242612: [lworld] Javac should not expressly encode the new super interface types in class files

Changes: https://git.openjdk.java.net/valhalla/pull/50/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/50/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8242612
  Stats: 138 lines in 12 files changed: 24 ins; 101 del; 13 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/50.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/50/head:pull/50

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


More information about the valhalla-dev mailing list