aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs188
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2015-11-18 14:43:41 -0800
committerAndy Clement <aclement@pivotal.io>2015-11-18 14:43:41 -0800
commit12d0a8268abb5100d7982e5be13c6cb0f8cdbf83 (patch)
tree965a686546c00c22fdf4058bc9a07ba76ddaa162 /tests/bugs188
parent67448004cccae49b5dc05dfd71b6bb35e848e0b5 (diff)
downloadaspectj-12d0a8268abb5100d7982e5be13c6cb0f8cdbf83.tar.gz
aspectj-12d0a8268abb5100d7982e5be13c6cb0f8cdbf83.zip
Fix 478003: declare parents with generic itd npe
Diffstat (limited to 'tests/bugs188')
-rw-r--r--tests/bugs188/478003/OrientDBKeyIO.java22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs188/478003/OrientDBKeyIO.java b/tests/bugs188/478003/OrientDBKeyIO.java
new file mode 100644
index 000000000..2397ae8d2
--- /dev/null
+++ b/tests/bugs188/478003/OrientDBKeyIO.java
@@ -0,0 +1,22 @@
+//import com.flickbay.orientdb.OrientKey;
+
+class OrientKey<T> {
+}
+
+class SimpleOrientDBValue extends OrientDBValue {}
+class OrientDBValue<T> {}
+
+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; }
+
+}
+