Build break fix for r2576; apparently TOAST wasn't happy with my changes. :) Review by: mmendez (postmortem) git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2578 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/test/com/google/gwt/core/ext/typeinfo/TypeOracleAnnotationSupportTest.java b/dev/core/test/com/google/gwt/core/ext/typeinfo/TypeOracleAnnotationSupportTest.java index ba170c0..3f60358 100644 --- a/dev/core/test/com/google/gwt/core/ext/typeinfo/TypeOracleAnnotationSupportTest.java +++ b/dev/core/test/com/google/gwt/core/ext/typeinfo/TypeOracleAnnotationSupportTest.java
@@ -28,6 +28,7 @@ import junit.framework.TestCase; +import java.io.File; import java.lang.annotation.Annotation; import java.lang.reflect.Constructor; import java.lang.reflect.Field; @@ -199,7 +200,9 @@ // It is an error if we fail to get the type. JClassType classType = typeOracle.getType(ClassAnnotatedWithBinaryOnlyAnnotation.class.getCanonicalName()); - assertNull(classType.getAnnotation(BinaryOnlyAnnotation.class)); + BinaryOnlyAnnotation annotation = classType.getAnnotation(BinaryOnlyAnnotation.class); + assertNotNull(annotation); + assertEquals(File.class, annotation.jreClassLiteralReference()); } /**