| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2007 BEA Systems, Inc. |
| 3 |
* |
| 4 |
* This program and the accompanying materials |
| 5 |
* are made available under the terms of the Eclipse Public License 2.0 |
| 6 |
* which accompanies this distribution, and is available at |
| 7 |
* https://www.eclipse.org/legal/epl-2.0/ |
| 8 |
* |
| 9 |
* SPDX-License-Identifier: EPL-2.0 |
| 10 |
*******************************************************************************/ |
| 11 |
package targets.negative.pa; |
| 12 |
|
| 13 |
/** |
| 14 |
* This code is syntactic but contains semantic errors due to missing types. |
| 15 |
* All the M* types (M for "Missing") are expected to be unresolved. |
| 16 |
* The desired behavior is specified in the javadoc for package |
| 17 |
* javax.lang.model.element: in general, missing types should be replaced |
| 18 |
* by empty types with the same name. |
| 19 |
*/ |
| 20 |
class Negative3 { |
| 21 |
M1 foo(M2.M3.M4 param) {} |
| 22 |
} |
| 23 |
|
| 24 |
interface I2 extends MI1 { |
| 25 |
M5 boo(M6.M7.M8 param); |
| 26 |
} |