Evan Moses created GROOVY-7482: ---------------------------------- Summary: Stub compile fails for Groovy class extending Java class with private getProperty method Key: GROOVY-7482 URL: https://issues.apache.org/jira/browse/GROOVY-7482 Project: Groovy Issue Type: Bug Components: Stub generator / Joint compiler Affects Versions: 2.4.3, 2.3.11 Environment: OSX 10.8.5, JDK 1.8.0_40-b25 Reporter: Evan Moses
See this Gradle project: https://github.com/emosesSfdc/groovyBugReproCase. LibraryTestBase is a Java class with a private method String getProperty(String) LibraryTest is a Groovy test that extends LibraryTestBase. When a Java stub is generated for LibraryTest, it doesn't have an implmentation of getProperty (from the GroovyObject interface), so java compilation of the stub fails. I first saw this when I updated a project from Gradle 2.3 to Gradle 2.4; I have a test class which extends org.glassfish.jersey.test.JerseyTest (in jersey-test-framework-core:2.12), which has a private getProperty method. There was a change which made in Gradle is so that now, Java stubs are generated in circumstances where they weren't before, and my compilation fails. -- This message was sent by Atlassian JIRA (v6.3.4#6332)