[
https://issues.apache.org/jira/browse/GROOVY-12570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18140663#comment-18140663
]
ASF GitHub Bot commented on GROOVY-12570:
-----------------------------------------
testlens-app[bot] commented on PR #3099:
URL: https://github.com/apache/groovy/pull/3099#issuecomment-6720124668
## 🚨 Jobs failed without executing tests 🚨
### Failed Jobs without Test Failures
❌ [Generate SNAPSHOT artifacts /
dist](https://github.com/apache/groovy/actions/runs/42469658566/job/128697227589?pr=3099)
❌ [Generate SNAPSHOT distributions /
dist](https://github.com/apache/groovy/actions/runs/42469658550/job/128697227417?pr=3099)
❌ [Lint gate /
lint](https://github.com/apache/groovy/actions/runs/42469658677/job/128697228028?pr=3099)
❌ [Performance check /
test](https://github.com/apache/groovy/actions/runs/42469658593/job/128697227601?pr=3099)
❌ [jmh / test \(core-ag,
\\\\.perf\\\\.[A-G]\)](https://github.com/apache/groovy/actions/runs/42469658708/job/128697228377?pr=3099)
❌ [jmh / test \(core-hz,
\\\\.perf\\\\.[H-Z]\)](https://github.com/apache/groovy/actions/runs/42469658708/job/128697228333?pr=3099)
❌ [jmh / test \(grails-ad,
\\\\.perf\\\\.grails\\\\.[A-D]\)](https://github.com/apache/groovy/actions/runs/42469658708/job/128697228138?pr=3099)
❌ [jmh / test \(grails-ez,
\\\\.perf\\\\.grails\\\\.[E-Z]\)](https://github.com/apache/groovy/actions/runs/42469658708/job/128697228247?pr=3099)
❌ [jmh-classic / test \(bench,
\\\\.bench\\\\.\)](https://github.com/apache/groovy/actions/runs/42469658567/job/128697228018?pr=3099)
❌ [jmh-classic / test \(core-ag,
\\\\.perf\\\\.[A-G]\)](https://github.com/apache/groovy/actions/runs/42469658567/job/128697227878?pr=3099)
❌ [jmh-classic / test \(core-hz,
\\\\.perf\\\\.[H-Z]\)](https://github.com/apache/groovy/actions/runs/42469658567/job/128697227951?pr=3099)
❌ [jmh-classic / test \(grails-ad,
\\\\.perf\\\\.grails\\\\.[A-D]\)](https://github.com/apache/groovy/actions/runs/42469658567/job/128697227847?pr=3099)
🏷️ Commit: 3808866759bdc2aa138e7f2bb5443c14b26ff9e4
▶️ Tests: 0 executed
🟡 Checks: 14/25 completed
### Rerun Controls
Click the checkbox to trigger a rerun:
🔲 **Rerun jobs**
---
_Learn more about TestLens at
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
> super.m() cannot reach a package-private method of a superclass defined by
> another class loader
> -----------------------------------------------------------------------------------------------
>
> Key: GROOVY-12570
> URL: https://issues.apache.org/jira/browse/GROOVY-12570
> Project: Groovy
> Issue Type: Bug
> Components: groovy-runtime
> Affects Versions: 6.0.0
> Reporter: Scott Murphy Heiberg
> Priority: Major
>
> {code:groovy}
> def shell = new GroovyShell()
> shell.evaluate '''package p
> class M { @groovy.transform.PackageScope String pm() { 'M' } }
> true
> '''
> shell.evaluate '''package p
> class B extends M { // same package name as M, but another class loader
> String pm() { 'B>' + super.pm() }
> }
> new B().pm()
> ''' // MissingMethodException; expected 'B>M'
> {code}
> The JVM does not let {{B.pm()}} override a package-private method of another
> run-time package, so no {{super$}} method can call it, and the meta-class
> drops the method from the methods for super calls without keeping the
> superclass method. Expected: in dynamic and {{@TypeChecked}} code,
> {{super.pm()}} calls {{M.pm()}}, and no {{super$}} method is generated for
> such a method, as it could only fail with {{IllegalAccessError}}. Under
> {{@CompileStatic}} it is reported with
> {{CompilerConfiguration.RUNTIME_PACKAGE_CHECK}} (GROOVY-12568).
> PR: https://github.com/apache/groovy/pull/3099
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)