[Integrated] [lworld] RFR: 8244235: java.lang.NoSuchFieldError: this when initializing an inner class inside an inline type
sadayapalam at openjdk.java.net
Tue May 12 12:05:53 UTC 2020
On Tue, 12 May 2020 02:56:59 GMT, Srikanth Adayapalam <sadayapalam at openjdk.org> wrote:
> Jim, Thanks for reviewing this small fix.
> Basically, javac mistakenly treats references to 'this' as an instance field.
> Fix is to handle this particular case specially and return the value factory
> product which is the proxy for 'this' in the inline factory.
> I renamed a method suitably for better clarity. Of the three call sites only
> one needed change. It is implausible in the other two sites that the symbol
> involved is 'this' (since 'this' cannot be assigned to and qualified this would
> have been lowered already)
This pull request has now been integrated.
Author: Srikanth Adayapalam <sadayapalam at openjdk.org>
Stats: 59 lines in 2 files changed: 0 ins; 54 del; 5 mod
8244235: java.lang.NoSuchFieldError: this when initializing an inner class inside an inline type
More information about the valhalla-dev