[ https://issues.apache.org/jira/browse/GROOVY-11481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883103#comment-17883103 ]
Eric Milles edited comment on GROOVY-11481 at 9/23/24 2:55 PM: --------------------------------------------------------------- https://github.com/apache/groovy/commit/5e6bf46183706ba3d0840252a144d5f230e21a75 was (Author: emilles): https://github.com/apache/groovy/commit/5e6bf46183706ba3d0840252a144d5f230e21a75 https://github.com/apache/groovy/commit/1097de34dace28061f9b2b796efbd7fc3f136743 > anonymous inner class visibility > -------------------------------- > > Key: GROOVY-11481 > URL: https://issues.apache.org/jira/browse/GROOVY-11481 > Project: Groovy > Issue Type: Bug > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Major > Labels: breaking > Fix For: 5.0.0-alpha-11 > > > An anonymous inner class in groovy is created with public visibility. The > java compiler creates them with default (package-private) visibility. > The language specification makes no specific mention of visibility modifiers: > https://docs.oracle.com/javase/specs/jls/se11/html/jls-15.html#jls-15.9.5 -- This message was sent by Atlassian Jira (v8.20.10#820010)