RFR: 8147755: ASM should create correct constant tag for invokestatic on handle point to interface static method
forax at univ-mlv.fr
forax at univ-mlv.fr
Thu Mar 3 15:19:44 UTC 2016
comments inlinined ...
----- Mail original -----
> De: "Kumar Srinivasan" <kumar.x.srinivasan at oracle.com>
> À: "core-libs-dev" <core-libs-dev at openjdk.java.net>, "Remi Forax" <forax at univ-mlv.fr>
> Cc: "SUNDARARAJAN.ATHIJEGANNATHAN" <sundararajan.athijegannathan at oracle.com>, "Michael Haupt"
> <michael.haupt at oracle.com>, "Jaroslav Bachor?k" <jaroslav.bachorik at oracle.com>, "Coleen Phillmore"
> <coleen.phillimore at oracle.com>, "Stas Smirnov" <stanislav.smirnov at oracle.com>, "harsha wardhana b"
> <harsha.wardhana.b at oracle.com>
> Envoyé: Mercredi 2 Mars 2016 16:41:01
> Objet: RFR: 8147755: ASM should create correct constant tag for invokestatic on handle point to interface static
> Hello Remi, et. al.,
> Can you please approve this patch, it is taken out of ASM's svn repo.
> change id 1795, which addresses the problem described in .
for anybody else, this revision roughtly correspond to ASM 5.1, which includes:
- change non visible StringBuffer to StringBuilder
- improve documentation of Printer API (and related classe)
- provide a new Remapper API
- add a way to create constant method handles on interface (invokestatic/invokespecial)
which fix 8147755.
> Note 1: A couple of @Deprecated annotations and doc comments
> have been disabled, because we have a catch-22 that an internal and closed
> component depends on these APIs, and the replacement is not available until
> we push this patch. A follow up bug  has been filed.
for ASM, we use @Deprecated when a method is superseded by a new one,
not to indicate that calling this method is hazardous,
so i'm fine if you want to do the update in two steps.
> Note 2: jprt tested, all core-libs, langtools and nashorn regressions
> pass. HotSpot team has verified that it address their issues.
> Thank you
thumb up for me.
>  https://bugs.openjdk.java.net/browse/JDK-8147755
>  https://bugs.openjdk.java.net/browse/JDK-8151056
More information about the core-libs-dev