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

ASF GitHub Bot commented on GROOVY-11764:
-----------------------------------------

codecov-commenter commented on PR #2342:
URL: https://github.com/apache/groovy/pull/2342#issuecomment-3577348979

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2342?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   :white_check_mark: All modified and coverable lines are covered by tests.
   :white_check_mark: Project coverage is 66.9963%. Comparing base 
([`1b560f5`](https://app.codecov.io/gh/apache/groovy/commit/1b560f57944a03a71329c36bde12919cd0bd7d45?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
 to head 
([`d148543`](https://app.codecov.io/gh/apache/groovy/commit/d1485430e3b4d667484eae730ac03ec758a1651b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   [![Impacted file tree 
graph](https://app.codecov.io/gh/apache/groovy/pull/2342/graphs/tree.svg?width=650&height=150&src=pr&token=1r45138NfQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/groovy/pull/2342?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #2342        +/-   ##
   ==================================================
   + Coverage     66.9917%   66.9963%   +0.0046%     
   - Complexity      29338      29343         +5     
   ==================================================
     Files            1382       1382                
     Lines          116601     116602         +1     
     Branches        20432      20432                
   ==================================================
   + Hits            78113      78119         +6     
   + Misses          32057      32054         -3     
   + Partials         6431       6429         -2     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2342?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Coverage Δ | |
   |---|---|---|
   | 
[...rg/codehaus/groovy/classgen/AsmClassGenerator.java](https://app.codecov.io/gh/apache/groovy/pull/2342?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fclassgen%2FAsmClassGenerator.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L2NsYXNzZ2VuL0FzbUNsYXNzR2VuZXJhdG9yLmphdmE=)
 | `85.0735% <100.0000%> (+0.0110%)` | :arrow_up: |
   
   ... and [4 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/2342/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test 
Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, 
report on failures, and find test suite problems.
   - :package: [JS Bundle 
Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save 
yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>




> super property resolution
> -------------------------
>
>                 Key: GROOVY-11764
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11764
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Assignee: Eric Milles
>            Priority: Minor
>
> Consider the following:
> {code:groovy}
> package p
> class A {
>   public Number getValue() {
>     42
>   }
> }
> class B extends A {
>   @PackageScope String value = 'xx'
> }
> // not in package p:
> class C extends p.B {
>   void test() {
>     print(super.value)
>   }
> }
> new C().test()
> {code}
> I was expecting this to print "42" since {{C}} does not have access to the 
> package-private field {{value}} of {{B}}.  However, the script throws an 
> {{IllegalAccessError}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to