RFR: 8336874: WhiteBoxAPI: assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native())) failed: cannot compile abstract/native methods

Sonia Zaldana Calles szaldana at openjdk.org
Fri Sep 13 13:07:26 UTC 2024


Hi all, 

This PR addresses [8336874](https://bugs.openjdk.org/browse/JDK-8336874) ensuring enqueuing an abstract method for compilation doesn't hit an assert with WhiteBox. 

Testing: 
- [x] Added test case passes. 

Thanks, 
Sonia

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

Commit messages:
 - 8336874: WhiteBoxAPI: assert(!method->is_abstract() && (osr_bci == InvocationEntryBci || !method->is_native())) failed: cannot compile abstract/native methods

Changes: https://git.openjdk.org/jdk/pull/20973/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20973&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336874
  Stats: 60 lines in 2 files changed: 60 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20973.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20973/head:pull/20973

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


More information about the hotspot-dev mailing list