553N/A * Copyright (c) 2004, 2008, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 0N/A * @bug 4853450 5014539 5034991 0N/A * @summary Tests AnnotationValue methods. 0N/A * @library ../../lib 0N/A "l Long 4294967296",
0N/A // The following results reflect some implementation details. 0N/A "k ClassTypeImpl java.lang.Boolean",
0N/A "kb PrimitiveTypeImpl boolean",
0N/A "ka ArrayTypeImpl java.lang.Boolean[]",
0N/A "kab ArrayTypeImpl int[][]",
0N/A "w ClassTypeImpl java.lang.Long",
0N/A "e EnumConstantDeclarationImpl TYPE",
0N/A "sa ArrayList [\"up\", \"down\"]",
0N/A "a AnnotationMirrorImpl @AT1"})
0N/A l =
1024 *
1024 *
1024 *
4L,
0N/A "long l 4294967296L",
0N/A "java.lang.String s \"sigh\"",
0N/A "java.lang.Class k java.lang.Boolean.class",
0N/A "java.lang.Class kb boolean.class",
0N/A "java.lang.Class ka java.lang.Boolean[].class",
0N/A "java.lang.Class kab int[][].class",
0N/A "java.lang.Class<? extends java.lang.Number> w java.lang.Long.class",
0N/A "java.lang.annotation.ElementType e java.lang.annotation.ElementType.TYPE",
0N/A "java.lang.String[] sa {\"up\", \"down\"}",
0N/A "double nan 0.0/0.0",
0N/A "double hi 1.0/0.0",
0N/A "float lo -1.0f/0.0f",
0N/A "char newline '\\n'",
0N/A "char ff '\\u00ff'",
0N/A "java.lang.String s \"\\\"high\\tlow\\\"\"",
0N/A "java.lang.String smiley \"\\u263a\""})
0N/A s =
"\"high\tlow\"",
0N/A * Returns the simple name of an object's class. 0N/A * Annotations used for testing.