--- a/langtools/test/tools/javac/diags/examples/InferredDoNotConformToUpper.java Tue Feb 12 13:36:56 2013 +0000
+++ b/langtools/test/tools/javac/diags/examples/InferredDoNotConformToUpper.java Tue Feb 12 19:25:09 2013 +0000
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,7 @@
// key: compiler.err.cant.apply.symbol
// key: compiler.misc.inferred.do.not.conform.to.upper.bounds
+// options: -source 7 -Xlint:-options
import java.util.*;