RFR: 8300040: TypeOopPtr::make_from_klass_common calls itself with args in wrong order

Tobias Hartmann thartmann at openjdk.org
Thu Jan 12 13:44:53 UTC 2023


[JDK-8297933](https://bugs.openjdk.org/browse/JDK-8297933) added an `InterfaceHandling interface_handling` parameter to `TypeOopPtr::make_from_klass_common` and updated all callers. Accidentally, the order of the `klass_change` and `try_for_exact` arguments were swapped.

Thanks to @MrSimms for reporting!

Thanks,
Tobias

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

Commit messages:
 - 8300040: TypeOopPtr::make_from_klass_common calls itself with args in wrong order

Changes: https://git.openjdk.org/jdk/pull/11966/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11966&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300040
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11966.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11966/head:pull/11966

PR: https://git.openjdk.org/jdk/pull/11966


More information about the hotspot-compiler-dev mailing list