| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2010 Walter Harley and others |
| 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.model.pc; |
| 12 |
|
| 13 |
import org.eclipse.jdt.compiler.apt.tests.annotations.*; |
| 14 |
|
| 15 |
/** |
| 16 |
* Bug 261969 concerns the ability to read a unary string value |
| 17 |
* in a string array typed annotation value. |
| 18 |
* See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4961299 |
| 19 |
* for discussion of why this should be permitted. |
| 20 |
*/ |
| 21 |
public class Bug261969 { |
| 22 |
@TypedAnnos.AnnoArrayString("foo") |
| 23 |
public class Annotated {} |
| 24 |
} |