[lworld] RFR: JDK-8252061 [lword] Support Object::toString for inline type
Srikanth Adayapalam
sadayapalam at openjdk.java.net
Thu Aug 20 05:00:39 UTC 2020
On Thu, 20 Aug 2020 01:40:40 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> This adds the `Object::toString` support for inline classes. This will replace the need
> for javac to generate the `toString` method to call the bootstrap method.
>
> JDK-8206077 will revisit the overlap of `ValueBootstrapMethods` and `ObjectMethods`.
>
> This patch also removes the private `isSubstituable0` method and makes sure
> that `isSubstitutable` does not have `acmp` instruction and can be invoked by VM.
+1 for javac changes
-------------
Marked as reviewed by sadayapalam (Committer).
PR: https://git.openjdk.java.net/valhalla/pull/155
More information about the valhalla-dev
mailing list