Minor changes to the JVM spec likely slated to Java 18

"Remi Forax" (via asm Mailing List) <[email protected]> Sun, 6 Jun 2021 16:08:25 +0200 (CEST)
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1622988511-12597-1
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi all,
Dan Smith (a VM spec maintainer) has recently posted a JEP about minor chan=
ges to the JVM spec.
This changes are likely to be targeted to Java 18.
  http://openjdk.java.net/jeps/8267650

Most of these changes are changes in Hotspot and a small number of them are=
 clarification of the VM spec.

In term of classfile for ASM,
  - ACC_SUPER (since V8) and ACC_STRICT (since V17) are dead access flags.
    So no change for ASM.
  - field constants are now restricted to static fields, before they were i=
gnored for instance field
    so it was valid in term of classfile,
    we will add a check in CheckClassAdapter for that if version >=3D V18.
  - for <init>, <clinit>,
    - we need to add a check that <init> is an invalid name for invokedynam=
ic
    - that <clinit> must not have parameters
    - that both <init> and <clinit> must return void=20
    we will add those checks in CheckClassAdapter and CheckMethodAdapter

regards,
R=C3=A9mi

------------=_1622988511-12597-1
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit


-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

------------=_1622988511-12597-1--