summaryrefslogtreecommitdiffstats
path: root/tests/bugs181/433744
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-04-30 15:17:14 -0700
committerAndy Clement <aclement@gopivotal.com>2014-04-30 15:17:14 -0700
commitb4592485d2358cffe07e9fab6578e8764734dd44 (patch)
treef2cae648018431131d7bab119b6ab0632c50d664 /tests/bugs181/433744
parent144a6294884029d2a5a2a67d0e792b8507a7e897 (diff)
downloadaspectj-b4592485d2358cffe07e9fab6578e8764734dd44.tar.gz
aspectj-b4592485d2358cffe07e9fab6578e8764734dd44.zip
Fix 433744: default methods and itds
Diffstat (limited to 'tests/bugs181/433744')
-rw-r--r--tests/bugs181/433744/AnIterator.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs181/433744/AnIterator.java b/tests/bugs181/433744/AnIterator.java
new file mode 100644
index 000000000..8dcf48463
--- /dev/null
+++ b/tests/bugs181/433744/AnIterator.java
@@ -0,0 +1,18 @@
+import java.util.Iterator;
+
+public class AnIterator implements Iterator<Object> {
+ @Override
+ public boolean hasNext() {
+ return false;
+ }
+
+ @Override
+ public Object next() {
+ throw new IllegalStateException();
+ }
+
+ @Override
+ public void remove() {
+ throw new UnsupportedOperationException();
+ }
+}