equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.err.cant.apply.symbol |
24 // key: compiler.err.cant.apply.symbol |
25 // key: compiler.misc.inferred.do.not.conform.to.eq.bounds |
25 // key: compiler.misc.inferred.do.not.conform.to.eq.bounds |
|
26 // options: -source 7 -Xlint:-options |
26 |
27 |
27 import java.util.*; |
28 import java.util.*; |
28 |
29 |
29 class InferredDoNotConformToEq { |
30 class InferredDoNotConformToEq { |
30 <X> void m(List<X> lx1, List<X> lx2) {} |
31 <X> void m(List<X> lx1, List<X> lx2) {} |