Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Consider the following (java.awt.Font is an example of this):
class C { protected String name public String getName() { name } } C.name // calls Class#getName()
MetaClassImpl#establishStaticMetaProperty returns a non-null result for "name". This can get tripped up in access checking when really the static property accessed here is from Class.