[lworld] RFR: JDK-8271113: [lworld] java/lang/constant/MethodHandleDescTest.java fails after JDK-8247376

Mandy Chung mchung at openjdk.java.net
Thu Jul 22 01:02:17 UTC 2021

It's a bug in the fix of JDK-8247376 that appends ".ref" in the display name if the descriptor is not Q-descriptor.  It can't determine if the class represented by the given L-descriptor string is a primitive class or not.   This patch will revert the change in ClassClass::displayName.   We will follow up if ClassDesc::displayName should return a different string for primitive reference type vs primitive value type in a separate issue.


Commit messages:
 - JDK-8271113: [lworld] java/lang/constant/MethodHandleDescTest.java fails after JDK-8247376

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

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

More information about the valhalla-dev mailing list