test/tools/javac/diags/examples/InferredDoNotConformToUpper.java

changeset 1562
2154ed9ff6c8
parent 1352
d4b3cb1ece84
child 2525
2eb010b6cb22
     1.1 --- a/test/tools/javac/diags/examples/InferredDoNotConformToUpper.java	Tue Feb 12 13:36:56 2013 +0000
     1.2 +++ b/test/tools/javac/diags/examples/InferredDoNotConformToUpper.java	Tue Feb 12 19:25:09 2013 +0000
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -23,6 +23,7 @@
    1.11  
    1.12  // key: compiler.err.cant.apply.symbol
    1.13  // key: compiler.misc.inferred.do.not.conform.to.upper.bounds
    1.14 +// options: -source 7 -Xlint:-options
    1.15  
    1.16  import java.util.*;
    1.17  

mercurial