[lworld] RFR: 8321941: Migrate test/jdk/valhalla/valuetypes from primitive classes to null-restricted types
    Chen Liang 
    liach at openjdk.org
       
    Wed Dec 13 02:35:12 UTC 2023
    
    
  
On Wed, 13 Dec 2023 01:28:58 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> Migrate test/jdk/valhalla/valuetypes tests to use null-restricted types instead.
src/java.base/share/classes/java/lang/invoke/DirectMethodHandle.java line 830:
> 828:         final int ZERO_INSTANCE = (needsZeroInstance && isGetter ? nameCursor++ : -1);
> 829:         final int POST_CAST = (needsCast && isGetter ? nameCursor++ : -1);
> 830:         final int RESULT    = nameCursor-1;  // either the call or the cast
Outdated comment, should be
// the call, the zero instance, or the cast
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/963#discussion_r1424776266
    
    
More information about the valhalla-dev
mailing list