Affects Version/s: 2.0-beta-1, 1.8.6
Fix Version/s: None
If I have a standard gradle project setup (attached):
I have a single Abstract base class:
And a class GroovyBase that extends this class:
When running this (using the Gradle script in the attachment), I get the exception:
Changing the line
Or making the base field public in the AbstractBase class makes it work.
It's as if the classes are considered to be in different packages for some things, but not for others.
Thinking about it, not sure if this is a Gradle bug or a Groovy cross compiler one.
To run the tests, unpack the attachment, and run:
You can change the groovy version from 1.8.6 by passing (for example) -Pgroovy=groovy=2.0.0-beta-2
|Workflow||jira [ 12973773 ]||Default workflow, editable Closed status [ 12980936 ]|
|Project Import||Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]|
|Workflow||jira [ 12734319 ]||Default workflow, editable Closed status [ 12746113 ]|
|Field||Original Value||New Value|
|Project Import||Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]|