Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0-beta-1, 3.0.0-beta-2, 3.0.0-beta-3
-
None
Description
after 3.0.0-beta-1 was released, my project will no longer compile (it would compile against alpha-4)
Most of the classes are annotated with
@TypeChecked @CompileStatic
the error produced takes the form
Compiling with JDK Java compiler API. startup failed: .../kvdn/src/main/groovy/net/iowntheinter/kvdn/storage/kv/impl/KvOp.groovy: 123: Access to java.lang.Object#D is forbidden @ line 123, column 17. D.getMap(this.strAddr, { AsyncResult<AsyncMap> res ->
I believe the relevant code sections are:
@TypeChecked @CompileStatic class KvOp extends KvdnOperation implements KVOperation { public KVData D ................... @Override @TypeChecked void submit(..........) { ................. startOperation(this.valueType, TXTYPE.KV_SUBMIT, key, content, { /*(ln123)*/ D.getMap(this.strAddr, { AsyncResult<AsyncMap> res -> ..................... }) }) }
Attachments
Issue Links
- is related to
-
GROOVY-9226 Calling super.toString() with @TypeChecked or @CompileStatic will throw java.lang.StackOverflowError
- Closed
- links to