RFR: JDK-8310425: [JVMCI] compiler/runtime/TestConstantDynamic: lookupConstant returned an object of incorrect type: null
    Doug Simon 
    dnsimon at openjdk.org
       
    Thu Jun 22 08:19:02 UTC 2023
    
    
  
On Wed, 21 Jun 2023 10:26:19 GMT, David Leopoldseder <davleopo at openjdk.org> wrote:
> Fix JVMCI handling of null dynamic constants and dynamic constant errors.
> 
> For null dynamic constants the jvmci code wrongly was checking for the_null_sentinel while constantpool resolve_possibly_cached_constant_at returns nullptr for null constants.
> 
> And for errors during the bootstrap method resolve_possibly_cached_constant_at already throws the BootstrapMethodError so we can never reach the next branch.
Marked as reviewed by dnsimon (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/14582#pullrequestreview-1492642352
    
    
More information about the graal-dev
mailing list