Need to access syntactic method out of package using Bootstrap attribute

Bansal, Puneet Puneet.Bansal at safenet-inc.com
Fri Jun 5 03:59:45 UTC 2015


Hi All


I got an strange error with Synthetic methods and bootstrap methods. In my one of application, my bootstrap entry is locating a synthetic method of another class(this class is part of another package).



[cid:image001.png at 01D09F72.06DF4CD0]





In above screenshot, this lambda$main$0 is a syntactic method and part of another package.



While execution, I am getting reflection error because Synthetic methods are not accessible from outside package. Can anyone help me to resolve this issue?

Regards
Puneet


-- 
The information contained in this electronic mail transmission 
may be privileged and confidential, and therefore, protected 
from disclosure. If you have received this communication in 
error, please notify us immediately by replying to this 
message and deleting it from your computer without copying 
or disclosing it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20150605/ba637230/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 19639 bytes
Desc: image001.png
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20150605/ba637230/image001-0001.png>


More information about the mlvm-dev mailing list