Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ast/CodeElement.java @ 7801:86f502220794
More JDK8 api change fixes.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 18 Feb 2013 18:50:44 +0100 |
parents | 418635acf875 |
children | c0c5286d88df |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ast/CodeElement.java Mon Feb 18 18:33:04 2013 +0100 +++ b/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/ast/CodeElement.java Mon Feb 18 18:50:44 2013 +0100 @@ -109,6 +109,11 @@ throw new UnsupportedOperationException(); } + /* Support for some JDK8 builds. (remove after jdk8 is released) */ + public <A extends Annotation> A[] getAnnotations(Class<A> annotationType) { + throw new UnsupportedOperationException(); + } + @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { throw new UnsupportedOperationException();