[lworld] RFR: 8230082: [lworld] Volatile field declaration in inline class fails with ClassFormatError

Srikanth Adayapalam sadayapalam at openjdk.java.net
Tue May 12 05:19:50 UTC 2020


Jim, could you please review this small fix ?

Basically while checking that both FINAL and VOLATILE are not simultaneously
on, we should also check implicitly computed flags.

(Perhaps all calls to disjoint should consider implicit flags - but after
spending some time, I couldn't construct other problematic scenarios, so
decided to mind my business and limit it to the case at hand)

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

Commit messages:
 - 8230082: Volatile field declaration in inline class fails with ClassFormatError

Changes: https://git.openjdk.java.net/valhalla/pull/43/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/43/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8230082
  Stats: 22 lines in 3 files changed: 21 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/43.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/43/head:pull/43

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



More information about the valhalla-dev mailing list