Hi,
I made the changes to include both @Override and public and that stopped the 
illegal reflective access

Thanks
Jon

Jon Kerridge PhD FBCS FHEA CITP CEng
Emeritus Professor of Computing
School of Computing
Edinburgh Napier University
Merchiston Campus
10 Colinton Road
Edinburgh
EH10 5DT

j.kerri...@napier.ac.uk

-----Original Message-----
From: Daniel.Sun <sun...@apache.org>
Sent: 08 March 2020 17:06
To: d...@groovy.incubator.apache.org
Subject: RE: [ANNOUNCE] Apache Groovy 3.0.2 released

​

CAUTION: This email originated from outside Edinburgh Napier University. Do not 
follow links or open attachments if you doubt the authenticity of the sender or 
the content.

AFAIK, java.lang.Object.clone() is a protected method.
If its subclass does not override it and make it public, we will get illegal 
access warning.

Cheers,
Daniel.Sun






-----
Apache Groovy committer & PMC member
Blog: http://blog.sunlan.me
Twitter: @daniel_sun

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html
This message and its attachment(s) are intended for the addressee(s) only and 
should not be read, copied, disclosed, forwarded or relied upon by any person 
other than the intended addressee(s) without the permission of the sender. If 
you are not the intended addressee you must not take any action based on this 
message and its attachment(s) nor must you copy or show them to anyone. Please 
respond to the sender and ensure that this message and its attachment(s) are 
deleted.

It is your responsibility to ensure that this message and its attachment(s) are 
scanned for viruses or other defects. Edinburgh Napier University does not 
accept liability for any loss or damage which may result from this message or 
its attachment(s), or for errors or omissions arising after it was sent. Email 
is not a secure medium. Emails entering Edinburgh Napier University's system 
are subject to routine monitoring and filtering by Edinburgh Napier University.

Edinburgh Napier University is a registered Scottish charity. Registration 
number SC018373

Reply via email to