You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Matt Johnson (JIRA)" <ji...@apache.org> on 2017/02/02 14:56:51 UTC
[jira] [Created] (GROOVY-8070) Class Naming with multiple Uppercase
chooses getter over class
Matt Johnson created GROOVY-8070:
------------------------------------
Summary: Class Naming with multiple Uppercase chooses getter over class
Key: GROOVY-8070
URL: https://issues.apache.org/jira/browse/GROOVY-8070
Project: Groovy
Issue Type: Bug
Components: Compiler, groovy-runtime
Affects Versions: 2.4.7
Reporter: Matt Johnson
If there is a collision in a class with the name of a getter and a class name that has multiple uppercase letters at the beginning of the name then the runtime chooses the getter instead of the class. I've contrived a simple example show the bug.
https://github.com/mattjohnson/groovy-bug
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)