[lworld] RFR: 8253511: [lworld] ClassFileParser does not handle field type mismatch

Frederic Parain fparain at openjdk.java.net
Wed Sep 23 15:48:54 UTC 2020

Please review this change with replaces an assert with the throwing of an IncompatibleClassChangeError when a
pre-loaded class is not an inline type. This case was correctly handled for static fields, but not for non-static

Tested with Mach5, tiers 1 to 3.

Thank you,



Commit messages:
 - Fix exception message
 - Replace assert by exception when field type mismatch is detected

Changes: https://git.openjdk.java.net/valhalla/pull/195/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=195&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253511
  Stats: 104 lines in 3 files changed: 103 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/195.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/195/head:pull/195

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

More information about the valhalla-dev mailing list