[lworld] RFR: 8354728: [lworld] Langtools work to update strict implementation to latest

Chen Liang liach at openjdk.org
Wed Apr 16 02:27:53 UTC 2025


On Wed, 16 Apr 2025 00:48:26 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> The updates to the core libraries + langtools for the latest strict field initialization spec https://cr.openjdk.org/~dlsmith/jep401/jep401-20250409/specs/strict-fields-jvms.html is ready.
>> 
>> Currently, since there is no VM support, testing is restricted to generation by ClassFile API/javac and inspection through ClassFile API (and javap)
>> 
>> Not suitable for integration yet; StrictFinalInstanceFieldsTest requires VM side's support.
>
> src/java.base/share/classes/jdk/internal/classfile/impl/StackMapDecoder.java line 64:
> 
>> 62:                     SAME_LOCALS_1_STACK_ITEM_EXTENDED = 247,
>> 63:                     SAME_EXTENDED = 251;
>> 64:     private static final int BASE_FRAMES_UPPER_LIMIT = SAME_LOCALS_1_STACK_ITEM_EXTENDED; // not inclusive
> 
> shouldn't this be EARLY_LARVAL now?

Oh, I moved enclosing frames to another system, so this now intentionally rejects early larval.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1432#discussion_r2045887256


More information about the valhalla-dev mailing list