Summary: | NullPointerException with generic inter type method declaration | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Andrey Verbin <andrey.verbin> | ||||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | aclement | ||||||
Version: | 1.8.7 | ||||||||
Target Milestone: | 1.8.8 | ||||||||
Hardware: | PC | ||||||||
OS: | Mac OS X | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Created attachment 256734 [details]
relevant source files
Thanks for the testcode. Pushed a fix. |
Created attachment 256733 [details] dump Below snippet produce NullPointerException. If I replace line public OrientDBValue OrientKey<T>.getOrientDBValue() with public OrientDBValue OrientKey.getOrientDBValue() it compiles ok import com.flickbay.orientdb.OrientKey; public aspect OrientDBKeyIO { public interface IO<T> { OrientDBValue<T> getOrientDBValue(); } declare parents : OrientKey implements IO; public SimpleOrientDBValue OrientKey<T>.value = null; public OrientDBValue OrientKey<T>.getOrientDBValue() { return this.value; } }