Runnable sources, broken examples and captured transcripts for the ankurm.com JEP 513 article, including the JDK 25 vs 27 compiler wording differences. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01TF9JWFvJSNm6HVzswzZU5a
14 lines
517 B
Plaintext
14 lines
517 B
Plaintext
$ javap -c -p 'PrologueBytecode$Child' (OpenJDK Runtime Environment Temurin-25.0.4.1+1 (build 25.0.4.1+1-LTS))
|
|
class PrologueBytecode$Child extends PrologueBytecode$Parent {
|
|
PrologueBytecode$Child(int);
|
|
Code:
|
|
0: iload_1
|
|
1: iconst_0
|
|
2: invokestatic #1 // Method java/lang/Math.max:(II)I
|
|
5: istore_2
|
|
6: aload_0
|
|
7: iload_2
|
|
8: invokespecial #7 // Method PrologueBytecode$Parent."<init>":(I)V
|
|
11: return
|
|
}
|