groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leifur Halldor Asgeirsson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-3010) fix private field visibility
Date Wed, 31 Aug 2016 15:01:20 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-3010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15452463#comment-15452463
] 

Leifur Halldor Asgeirsson commented on GROOVY-3010:
---------------------------------------------------

I was a little confused today after importing a Java class in Groovy and finding that the
private access modifier seemed to be ignored. I think it would be helpful to include some
kind of warning or explanation about this behavior in the docs at groovy-lang.org; I understand
that this is considered subject to change, but that doesn't prevent documenting this behavior
as long as it's made clear that it's subject to change.

> fix private field visibility
> ----------------------------
>
>                 Key: GROOVY-3010
>                 URL: https://issues.apache.org/jira/browse/GROOVY-3010
>             Project: Groovy
>          Issue Type: Task
>          Components: groovy-runtime
>            Reporter: Jochen Theodorou
>             Fix For: 3.0
>
>         Attachments: privateInJsUseWrapMethodExample.js
>
>
> this task collects all the issues related to a privae field being visible, when it should
not be visible



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message