file_name stringlengths 6 86 | file_path stringlengths 45 249 | content stringlengths 47 6.26M | file_size int64 47 6.26M | language stringclasses 1 value | extension stringclasses 1 value | repo_name stringclasses 767 values | repo_stars int64 8 14.4k | repo_forks int64 0 1.17k | repo_open_issues int64 0 788 | repo_created_at stringclasses 767 values | repo_pushed_at stringclasses 767 values |
|---|---|---|---|---|---|---|---|---|---|---|---|
Capture.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Capture.java | /*
* Copyright (c) 2002, 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4441338 4994508
* @summary Captured variable synthetic parameters should be passed before explicit params.
* @author gafter
*
* @compile -source 1.4 -target 1.4 Capture.java
* @run main Capture
*/
public class Capture {
final int k;
Capture(int n) {
k = n;
}
public static void main(String args[]) {
final int j;
int k1 = new Capture(2 + (j=3)){
int get () {return k+j;}
}.get();
if (k1 != 8) throw new Error("k1 = " + k1);
}
}
| 1,611 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Parens2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Parens2.java | /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4408036
* @summary Compiler accepted "(i=2);" as a valid expession statement.
* @author gafter
*
* @compile/fail Parens2.java
*/
class Parens2 {
void f() {
int i;
(i = 2);
}
}
| 1,278 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6265400.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6265400.java | /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6265400
* @summary Javac should be shielded from client code errors in JSR 199
* @run main T6265400
*/
import java.util.Arrays;
import java.io.*;
import javax.tools.*;
public class T6265400 {
public static final String SILLY_BILLY = "oh what a silly billy I am";
public static void main (String... args) {
try {
JavaCompiler javac = javax.tools.ToolProvider.getSystemJavaCompiler();
DiagnosticListener<JavaFileObject> dl = new DiagnosticListener<JavaFileObject>() {
public void report (Diagnostic<? extends JavaFileObject> message) {
throw new NullPointerException(SILLY_BILLY);
}
};
StandardJavaFileManager fm = javac.getStandardFileManager(dl, null, null);
Iterable<? extends JavaFileObject> files =
fm.getJavaFileObjectsFromStrings(Arrays.asList("badfile.java"));
javac.getTask(null, fm, dl, null, null, files).call();
}
catch (RuntimeException e) {
Throwable cause = e.getCause();
if (cause instanceof NullPointerException
&& cause.getMessage().equals(SILLY_BILLY))
return;
throw new Error("unexpected exception caught: " + e);
}
catch (Throwable t) {
throw new Error("unexpected exception caught: " + t);
}
throw new Error("no exception caught");
}
}
| 2,547 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6361619.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6361619.java | /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6361619 6392118
* @summary AssertionError from ClassReader; mismatch between JavacTaskImpl.context and JSR 269
*/
import java.io.*;
import java.net.*;
import java.util.*;
import javax.annotation.processing.*;
import javax.lang.model.element.*;
import javax.tools.*;
import com.sun.source.util.*;
import com.sun.tools.javac.api.*;
import com.sun.source.util.Trees;
@SupportedAnnotationTypes("*")
public class T6361619 extends AbstractProcessor {
public static void main(String... args) throws Throwable {
String testSrcDir = System.getProperty("test.src");
String testClassDir = System.getProperty("test.classes");
String self = T6361619.class.getName();
JavacTool tool = JavacTool.create();
final PrintWriter out = new PrintWriter(System.err, true);
Iterable<String> flags = Arrays.asList("-processorpath", testClassDir,
"-processor", self,
"-d", ".");
DiagnosticListener<JavaFileObject> dl = new DiagnosticListener<JavaFileObject>() {
public void report(Diagnostic<? extends JavaFileObject> m) {
out.println(m);
}
};
StandardJavaFileManager fm = tool.getStandardFileManager(dl, null, null);
Iterable<? extends JavaFileObject> f =
fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrcDir,
self + ".java")));
JavacTask task = tool.getTask(out, fm, dl, flags, null, f);
MyTaskListener tl = new MyTaskListener(task);
task.setTaskListener(tl);
// should complete, without exceptions
task.call();
}
public boolean process(Set<? extends TypeElement> elems, RoundEnvironment renv) {
return true;
}
static class MyTaskListener implements TaskListener {
public MyTaskListener(JavacTask task) {
this.task = task;
}
public void started(TaskEvent e) {
System.err.println("Started: " + e);
Trees t = Trees.instance(task);
}
public void finished(TaskEvent e) {
System.err.println("Finished: " + e);
Trees t = Trees.instance(task);
}
JavacTask task;
}
}
| 3,414 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T5048776.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T5048776.java | /*
* @test /nodynamiccopyright/
* @bug 5048776
* @compile/ref=T5048776a.out -XDrawDiagnostics T5048776.java
* @compile/ref=T5048776b.out -XDrawDiagnostics -Xlint:all,-path T5048776.java
*/
class A1 {
void foo(Object[] args) { }
}
class A1a extends A1 {
void foo(Object... args) { }
}
class A2 {
void foo(Object... args) { }
}
class A2a extends A2 {
void foo(Object[] args) { }
}
| 421 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
LocalClasses_1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/LocalClasses_1.java | /*
* Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4030421 4095716
* @summary Verify that compiler can resolve local class names.
* @author William Maddox (maddox)
*
* @clean LocalClasses_1a LocalClasses_1b
* @compile LocalClasses_1.java
*/
class LocalClasses_1a {
class Inner {
void f() {
class Local { }
new Local();
}
}
}
class LocalClasses_1b {
void f() {
class Inner { }
new Object() {
{
new Inner();
}
};
}
}
class LocalClasses_1c {
Object f() {
class Local { }
new Object() {
int x;
Local y;
Local g() {
return new Local();
}
};
return new Local();
}
}
class LocalClasses_1d {
void f() {
class Local { }
class Inner {
Local z;
}
}
}
| 1,945 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NonStaticFieldExpr1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NonStaticFieldExpr1.java | /* @test /nodynamiccopyright/
@bug 4087127 4785453
@author dps
@summary field: instance access through types is not allowed
@compile/fail/ref=NonStaticFieldExpr1.out -XDrawDiagnostics NonStaticFieldExpr1.java
*/
class NonStaticFieldExpr1 {
public int x;
int y = NonStaticFieldExpr1.x; // SHOULD BE ERROR
}
| 339 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6705935.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6705935.java | /*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6705935
* @summary javac reports path name of entry in ZipFileIndex incorectly
*/
import java.io.*;
import java.util.*;
import javax.tools.*;
import com.sun.tools.javac.file.*;
import com.sun.tools.javac.file.ZipArchive.ZipFileObject;
import com.sun.tools.javac.file.ZipFileIndexArchive.ZipFileIndexFileObject;
public class T6705935 {
public static void main(String... args) throws Exception {
new T6705935().run();
}
public void run() throws Exception {
File java_home = new File(System.getProperty("java.home"));
if (java_home.getName().equals("jre"))
java_home = java_home.getParentFile();
JavaCompiler c = ToolProvider.getSystemJavaCompiler();
StandardJavaFileManager fm = c.getStandardFileManager(null, null, null);
//System.err.println("platform class path: " + asList(fm.getLocation(StandardLocation.PLATFORM_CLASS_PATH)));
for (JavaFileObject fo: fm.list(StandardLocation.PLATFORM_CLASS_PATH,
"java.lang",
Collections.singleton(JavaFileObject.Kind.CLASS),
false)) {
test++;
if (!(fo instanceof ZipFileObject || fo instanceof ZipFileIndexFileObject)) {
System.out.println("Skip " + fo.getClass().getSimpleName() + " " + fo.getName());
skip++;
continue;
}
//System.err.println(fo.getName());
String p = fo.getName();
int bra = p.indexOf("(");
int ket = p.indexOf(")");
//System.err.println(bra + "," + ket + "," + p.length());
if (bra == -1 || ket != p.length() -1)
throw new Exception("unexpected path: " + p + "[" + bra + "," + ket + "," + p.length());
String part1 = p.substring(0, bra);
String part2 = p.substring(bra + 1, ket);
//System.err.println("[" + part1 + "|" + part2 + "]" + " " + java_home);
if (part1.equals(part2) || !part1.startsWith(java_home.getPath()))
throw new Exception("bad path: " + p);
}
if (test == 0)
throw new Exception("no files found");
if (skip == 0)
System.out.println(test + " files found");
else
System.out.println(test + " files found, " + skip + " files skipped");
if (test == skip)
System.out.println("Warning: all files skipped; no platform classes found in zip files.");
}
private <T> List<T> asList(Iterable<? extends T> items) {
List<T> list = new ArrayList<T>();
for (T item: items)
list.add(item);
return list;
}
private int skip;
private int test;
}
| 3,875 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
QualifiedNewScope.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/QualifiedNewScope.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4406269
* @summary incorrect scoping for type name in qualified new expression.
* @author gafter
*
* @compile QualifiedNewScope.java
*/
package qualifiedNewScope;
class A {
class B {
}
public static void main(String[] args) {
new A(){}.new B(){};
}
}
| 1,354 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6224167.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6224167.java | /*
* @test /nodynamiccopyright/
* @bug 6224167
* @summary misleading error message when both array and varargs
* methods are defined
* @compile/fail/ref=T6224167.out -XDrawDiagnostics T6224167.java
*/
class T6224167
{
void printf(String s, Object[] args) { }
void printf(String s, Object... args) { }
}
| 323 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
UplevelFromAnonInSuperCall.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/UplevelFromAnonInSuperCall.java | /*
* Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4278953 4713248
* @summary Verify that access to member of outer class from within anonymous
* class in 'super()' call is allowed.
* @author maddox (cribbed from bracha/lillibridge) gafter
*
* @compile UplevelFromAnonInSuperCall.java
* @compile/fail -source 1.4 UplevelFromAnonInSuperCall.java
*/
class UplevelFromAnonInSuperCall {
int x;
class Dummy {
Dummy(Object o) {}
}
class Inside extends Dummy {
Inside() {
super(new Object() { int r = x; });
}
}
}
| 1,572 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
DeclarationStatementInline.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/DeclarationStatementInline.java | /*
* Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4073997
* @summary The compiler used to crash when it tried to "inline" a
* DeclarationStatement.
* @author turnidge
*
* @compile DeclarationStatementInline.java
*/
public
class DeclarationStatementInline {
{
class Foo {
Foo() {
System.out.println("Hello");
}
}
new Foo();
}
DeclarationStatementInline() {
System.out.println("Constructor one");
}
DeclarationStatementInline(int i) {
System.out.println("Constructor two");
}
public static void main() {
new DeclarationStatementInline();
}
}
| 1,733 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ConstBoolAppend.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ConstBoolAppend.java | /*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4102672
* @summary When a constant boolean expression was appended to a
* constant string, the value was accidentally being converted
* into an integer.
* @author turnidge
*
* @compile ConstBoolAppend.java
* @run main ConstBoolAppend
*/
public class ConstBoolAppend {
public static void main(String[] args) throws Exception {
if (!("" + true).equals("true")) {
throw new Exception("append of bools is wrong: 4102672");
}
}
}
| 1,560 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6234077.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6234077.java | /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6234077
* @compile/fail T6234077.java
*/
@Deprecated /** @deprecated */
public class Foo { }
| 1,167 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
CloneableProblem.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/CloneableProblem.java | /*
* Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4047816
* @summary certain inheritance patterns involving methods defined in
* Object used to cause spurious error messages.
* @author turnidge
*
* @compile CloneableProblem.java
*/
interface A extends Cloneable
{
public Object clone() throws CloneNotSupportedException;
}
interface B extends A
{ }
interface C extends A
{ }
interface D extends B, C
{ }
public class CloneableProblem implements D
{
private int i;
public CloneableProblem(int i)
{
this.i = i;
}
public Object clone()
{
CloneableProblem theCloneableProblem = null;
try
{
theCloneableProblem = (CloneableProblem) super.clone();
theCloneableProblem.i = i;
}
catch (CloneNotSupportedException cnse)
{ }
return theCloneableProblem;
}
public static void main(String argv[])
{
try
{
A a0 = new CloneableProblem(0);
A a1 = (A) a0.clone();
B b0 = new CloneableProblem(0);
B b1 = (B) b0.clone();
C c0 = new CloneableProblem(0);
C c1 = (C) c0.clone();
D d0 = new CloneableProblem(0);
D d1 = (D) d0.clone();
}
catch (CloneNotSupportedException cnse)
{ }
}
}
| 2,271 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6972327.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6972327.java | /*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6972327
* @summary JCTree.pos incorrect for annotations without modifiers and package
*/
import com.sun.source.tree.*;
import com.sun.source.util.Trees;
import com.sun.tools.javac.api.*;
import com.sun.tools.javac.tree.*;
import com.sun.tools.javac.tree.JCTree.*;
import java.net.URI;
import java.util.Arrays;
import javax.tools.*;
public class T6972327 {
public static void main(String[] args) throws Exception {
final String bootPath = System.getProperty("sun.boot.class.path"); //NOI18N
final JavaCompiler tool = ToolProvider.getSystemJavaCompiler();
assert tool != null;
String code = "\n@interface Test {}";
JavacTaskImpl ct = (JavacTaskImpl) tool.getTask(null, null, null,
Arrays.asList("-bootclasspath", bootPath, "-Xjcov"), null, Arrays.asList(new MyFileObject(code)));
CompilationUnitTree cut = ct.parse().iterator().next();
ClassTree clazz = (ClassTree) cut.getTypeDecls().get(0);
Trees t = Trees.instance(ct);
long pos = t.getSourcePositions().getStartPosition(cut, clazz);
if (pos != code.indexOf(code.trim()))
throw new IllegalStateException("Unexpected position=" + pos);
}
static class MyFileObject extends SimpleJavaFileObject {
private String text;
public MyFileObject(String text) {
super(URI.create("myfo:/Test.java"), JavaFileObject.Kind.SOURCE);
this.text = text;
}
@Override
public CharSequence getCharContent(boolean ignoreEncodingErrors) {
return text;
}
}
}
| 2,676 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
AnonInnerException_3.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/AnonInnerException_3.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4266172
* @summary Verify that fix for 4266172 does not affect named inner classes.
* @author maddox
*
* @run compile/fail AnonInnerException_3.java
*/
class AnonInnerException_3 {
void foo() throws Exception {
class Inner extends AnonInnerExceptionAux {};
AnonInnerExceptionAux x = new Inner();
}
}
class AnonInnerExceptionAux {
AnonInnerExceptionAux() throws Exception {}
}
| 1,487 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
IllegallyOptimizedException.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/IllegallyOptimizedException.java | /*
* Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4022932
* @summary NegativeArraySizeException should not be optimized away.
* @author turnidge
*
* @compile IllegallyOptimizedException.java
* @run main IllegallyOptimizedException
*/
public class IllegallyOptimizedException {
static int i = 0;
public static void main (String argv[]) {
try{
int m[] = new int[-2];
}
catch(NegativeArraySizeException n) { i = 1;}
if (i != 1) {
throw new Error();
}
}
}
| 1,564 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
FoldConditional.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/FoldConditional.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4403168
* @summary Verify correct type of result of ?: operator when constant folding occurs
* @author gafter
*
* @run main FoldConditional
*/
public class FoldConditional {
static void f(double x) {
// OK
}
static void f(int x) {
throw new Error();
}
public static void main(String args[]){
int x=5;
String value0 = ("value is " + 9.0).intern();
String value1 = ("value is " + ((x> 4)?9:9.9)).intern();
String value2 = ("value is " + ( true ? 9 : (9.9+x) )).intern();
f(true ? 9 : 9.9);
f(true ? 9 : (9.9 + x));
if (value0 != value1) throw new Error();
if (value0 != value2) throw new Error();
}
}
| 1,781 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
FinalIntConcatenation.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/FinalIntConcatenation.java | /*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4106244
* @summary Final ints were getting incorrectly evaluated at compile time
* to the value null when they were used as a part of a constant
* String concatenation.
* @author turnidge
*
* @compile FinalIntConcatenation.java
* @run main FinalIntConcatenation
*/
public class FinalIntConcatenation {
public static void main(String[] args) throws Exception {
final int i = 7;
String s = "" + i;
if (s.indexOf("null",0) != -1) {
throw new Exception(
"incorrect compile-time evaluation of final int");
}
}
}
| 1,676 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6230128.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6230128.java | /*
* @test /nodynamiccopyright/
* @bug 6230128
* @compile/fail/ref=T6230128.out -XDrawDiagnostics T6230128.java
*/
class A1 {
public void foo(Object[] args) { }
}
class A1a extends A1 {
void foo(Object... args) { }
}
| 231 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6326754.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6326754.java | /*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6326754
* @summary Compiler will fail to handle -Xmaxerrs with -ve numbers
*
* @compile/fail/ref=T6326754.out -XDrawDiagnostics -Xmaxerrs -1 T6326754.java
* @compile/fail/ref=T6326754.out -XDrawDiagnostics -Xmaxerrs 0 T6326754.java
* @compile/fail/ref=T6326754.out -XDrawDiagnostics -Xmaxerrs 10 T6326754.java
* @compile/fail/ref=T6326754.out -XDrawDiagnostics T6326754.java
*/
class TestConstructor<T,K>{
T t;
K k;
public TestConstructor(T t,K k){
this.t =t;
}
public TestConstructor(K k){
this.k = k;
this.t = null;
}
public TestConstructor(T t){
this.t=t;
this.k=null;
}
public void setT(T t){
this.t=t;
this.k=null;
}
public void setT(K k){
this.k = k;
this.t = null;
}
public void setT(T t,K k){
this.t = t;
this.k = k;
}
}
class TestC<T>{
T t;
public <T>void setT(T t){
this.t = t;
}
}
public class T6326754{
public static void main(String... arg){
TestC tC =new TestC();
tC.setT();
TestConstructor tc = new TestConstructor("saaa");
tc.setT("sasa");
TestC<Integer> tC1 = new TestC();
tC1.setT(545);
}
}
| 2,322 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6794959.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6794959.java | /*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6794959
* @summary add new switch -XDexpectKeys=key,key,...
* @compile T6794959.java
* @compile/fail -XDfailcomplete=java.lang.String T6794959.java
* @compile -XDfailcomplete=java.lang.String -XDexpectKeys=compiler.err.cant.resolve.location T6794959.java
* @compile/fail -XDexpectKeys=compiler.err.cant.resolve.location T6794959.java
*/
class T6794959 {
String s;
}
| 1,449 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
SuperNew3.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/SuperNew3.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4432312 4721003
* @summary compiler crash with assertion failure (inner classes)
* @author gafter
*
* @compile SuperNew3.java
*/
public class SuperNew3 {
SuperNew3() {}
SuperNew3(Object o) {}
void foo() {
class One extends SuperNew3 {}
class Two extends SuperNew3 {
Two() {
super(new One() {
{ new One(); }
});
}
}
}
}
| 1,521 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
QualifiedNew.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/QualifiedNew.java | /*
* @test /nodynamiccopyright/
* @bug 4406966 6969184
* @summary null qualifying inner instance creation should be error.
* @author gafter
*
* @compile/fail/ref=QualifiedNew.out -XDrawDiagnostics QualifiedNew.java
*/
class QualifiedNew {
class Y {}
class Z {
Y[] a;
Object tmp1 = null.new Y();
Object tmp2 = a.new Y();
}
}
| 369 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6358168.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6358168.java | /*
* Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6358168
* @summary JavaCompiler.hasBeenUsed is not set in delegateCompiler
*/
import java.io.*;
import java.net.*;
import java.util.*;
import javax.annotation.processing.*;
import javax.lang.model.element.*;
import javax.tools.*;
import com.sun.tools.javac.file.*;
import com.sun.tools.javac.file.JavacFileManager;
import com.sun.tools.javac.main.JavaCompiler;
import com.sun.tools.javac.main.*;
import com.sun.tools.javac.util.*;
import com.sun.tools.javac.util.List; // disambiguate
@SupportedAnnotationTypes("*")
public class T6358168 extends AbstractProcessor {
private static String testClasses = System.getProperty("test.classes");
private static String testSrc = System.getProperty("test.src");
private static String self = T6358168.class.getName();
public static void main(String... args) throws Throwable {
JavacFileManager fm = new JavacFileManager(new Context(), false, null);
JavaFileObject f = fm.getFileForInput(testSrc + File.separatorChar + T6358168.class.getName() + ".java");
try {
// first, test case with no annotation processing
testNoAnnotationProcessing(fm, f);
// now, test case with annotation processing
testAnnotationProcessing(fm, f);
}
catch (Throwable t) {
AssertionError e = new AssertionError();
e.initCause(t);
throw e;
}
}
static void testNoAnnotationProcessing(JavacFileManager fm, JavaFileObject f) throws Throwable {
Context context = new Context();
fm.setContext(context);
Main compilerMain = new Main("javac", new PrintWriter(System.err, true));
compilerMain.setOptions(Options.instance(context));
compilerMain.filenames = new LinkedHashSet<File>();
compilerMain.processArgs(new String[] { "-d", "." });
JavaCompiler compiler = JavaCompiler.instance(context);
compiler.compile(List.of(f));
try {
compiler.compile(List.of(f));
throw new Error("Error: AssertionError not thrown after second call of compile");
} catch (AssertionError e) {
System.err.println("Exception from compiler (expected): " + e);
}
}
static void testAnnotationProcessing(JavacFileManager fm, JavaFileObject f) throws Throwable {
Context context = new Context();
fm.setContext(context);
Main compilerMain = new Main("javac", new PrintWriter(System.err, true));
compilerMain.setOptions(Options.instance(context));
compilerMain.filenames = new LinkedHashSet<File>();
compilerMain.processArgs(new String[] {
"-XprintRounds",
"-processorpath", testClasses,
"-processor", self,
"-d", "."});
JavaCompiler compiler = JavaCompiler.instance(context);
compiler.initProcessAnnotations(null);
JavaCompiler compiler2 = compiler.processAnnotations(compiler.enterTrees(compiler.parseFiles(List.of(f))));
try {
compiler2.compile(List.of(f));
throw new Error("Error: AssertionError not thrown after second call of compile");
} catch (AssertionError e) {
System.err.println("Exception from compiler (expected): " + e);
}
}
public boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv) {
return true;
}
}
| 4,593 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6472751.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6472751.java | /*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6472751
* @summary SourcePositions.getStartPos returns incorrect value for enum constants
* @author Peter Ahe
*/
import com.sun.source.tree.CompilationUnitTree;
import com.sun.source.tree.Tree;
import com.sun.source.tree.Tree.Kind;
import com.sun.source.util.JavacTask;
import com.sun.source.util.SourcePositions;
import com.sun.source.util.TreeScanner;
import com.sun.source.util.Trees;
import com.sun.tools.javac.util.List;
import java.io.IOException;
import java.net.URI;
import javax.tools.JavaCompiler;
import javax.tools.JavaFileObject;
import javax.tools.SimpleJavaFileObject;
import javax.tools.ToolProvider;
public class T6472751 {
static class MyFileObject extends SimpleJavaFileObject {
public MyFileObject() {
super(URI.create("myfo:/Test.java"), JavaFileObject.Kind.SOURCE);
}
public CharSequence getCharContent(boolean ignoreEncodingErrors) {
return "public enum Test { ABC, DEF; }";
}
}
static Trees trees;
static SourcePositions positions;
public static void main(String[] args) throws IOException {
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
JavacTask task = (JavacTask) compiler.getTask(null, null, null, null, null, List.of(new MyFileObject()));
trees = Trees.instance(task);
positions = trees.getSourcePositions();
Iterable<? extends CompilationUnitTree> asts = task.parse();
for (CompilationUnitTree ast : asts) {
new MyVisitor().scan(ast, null);
}
}
static class MyVisitor extends TreeScanner<Void,Void> {
@Override
public Void scan(Tree node, Void ignored) {
if (node == null)
return null;
Kind k = node.getKind();
long pos = positions.getStartPosition(null,node);
System.out.format("%s: %s%n", k, pos);
if (k != Kind.MODIFIERS && pos < 0)
throw new Error("unexpected position found");
return super.scan(node, ignored);
}
}
}
| 3,136 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
AnonClsInIntf.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/AnonClsInIntf.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* @test
* @bug 4230690
* @summary An anonyous class in an interface is allowed.
*
* @run clean AnonClsInIntf I
* @run compile AnonClsInIntf.java
*/
// The test fails if the class can not compile.
interface AnonClsInIntf {
I i = new I()
{
};
}
interface I { }
| 1,337 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6654037.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6654037.java | /*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6654037
* @summary JCTree.pos may be incorrect for BinaryTrees
*/
import com.sun.source.tree.BinaryTree;
import com.sun.source.tree.ClassTree;
import com.sun.source.tree.CompilationUnitTree;
import com.sun.source.tree.MethodTree;
import com.sun.source.tree.VariableTree;
import com.sun.tools.javac.api.JavacTaskImpl;
import com.sun.tools.javac.tree.JCTree;
import java.net.URI;
import java.util.Arrays;
import javax.tools.JavaCompiler;
import javax.tools.JavaFileObject;
import javax.tools.SimpleJavaFileObject;
import javax.tools.ToolProvider;
public class T6654037 {
public static void main(String[] args) throws Exception {
final String bootPath = System.getProperty("sun.boot.class.path"); //NOI18N
final JavaCompiler tool = ToolProvider.getSystemJavaCompiler();
assert tool != null;
String code = "package test; public class Test {private void test() {Object o = null; boolean b = o != null && o instanceof String;} private Test() {}}";
JavacTaskImpl ct = (JavacTaskImpl) tool.getTask(null, null, null, Arrays.asList("-bootclasspath", bootPath, "-Xjcov"), null, Arrays.asList(new MyFileObject(code)));
CompilationUnitTree cut = ct.parse().iterator().next();
ClassTree clazz = (ClassTree) cut.getTypeDecls().get(0);
MethodTree method = (MethodTree) clazz.getMembers().get(0);
VariableTree condSt = (VariableTree) method.getBody().getStatements().get(1);
BinaryTree cond = (BinaryTree) condSt.getInitializer();
JCTree condJC = (JCTree) cond;
if (condJC.pos != 93)
throw new IllegalStateException("Unexpected position=" + condJC.pos);
}
static class MyFileObject extends SimpleJavaFileObject {
private String text;
public MyFileObject(String text) {
super(URI.create("myfo:/Test.java"), JavaFileObject.Kind.SOURCE);
this.text = text;
}
@Override
public CharSequence getCharContent(boolean ignoreEncodingErrors) {
return text;
}
}
}
| 3,129 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
AnonymousNull.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/AnonymousNull.java | /*
* Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4054689
* @summary The compiler crashed whenever an anonymous class was created
* with `null' as one of its arguments.
* @author turnidge
*
* @compile AnonymousNull.java
*/
class Dummy {
Dummy(String s) {
System.out.println(s);
}
}
class AnonymousNull {
void method() {
new Dummy(null) {
{
System.out.println("etc.");
}
};
}
}
| 1,502 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ExceptionalFinally2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ExceptionalFinally2.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4630634
* @summary missing warn about exception not thrown in try block if finally can't complete
* @author gafter
*
* @compile/fail ExceptionalFinally2.java
*/
class ExceptionalFinally2 {
static class E extends Exception {}
public void t() throws E {}
void f() {
try {
try {
t();
} finally {
return;
}
} catch (E x) { // error: E can't be thrown in try block
}
}
}
| 1,554 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NonStaticFinalVar.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NonStaticFinalVar.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* @test
* @bug 4062064 4233660
* @summary Some references to non-static variables do not work.
*
* @run clean NonStaticFinalVar
* @run compile NonStaticFinalVar.java
*/
// The test fails if the compiler crashes.
public class NonStaticFinalVar {
// workaround is to declare "constant" static
final int constant = 0; // crashes compiler
// 4062064
final int [] intArray = {constant};
// 4062064
NonStaticFinalVar(int i) {
switch(i) {
case constant:
System.out.println("constructor ok " + constant);
break;
}
}
// 4233660
void methodA() {
class Inner {
final int constant = 0; // crashes compiler
public void otherMethod(int i) {
switch (i) {
case constant:
System.out.println("method ok " + constant);
break;
}
}
}
}
}
| 2,014 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
EmptySwitch.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/EmptySwitch.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4740997
* @summary switch statement with empty body
* @author gafter
*
* @compile EmptySwitch.java
* @run main EmptySwitch
*/
public class EmptySwitch {
public static void main(String[] args) {
int arr[] = { 1, 2, 3 };
int i = -1;
try {
switch (arr[--i]) {}
throw new Error("oops");
} catch (ArrayIndexOutOfBoundsException ex) {
// ok
}
}
}
| 1,504 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6404756.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6404756.java | /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6404756
* @summary javac mishandles deprecation warnings on some elements marked deprecated
* @compile/fail -Werror -Xlint:deprecation T6404756.java
*/
public class T6404756 {
public void foo(Foo f) {
@Deprecated String s1 = f.foo;
}
}
class Foo {
@Deprecated String foo;
}
| 1,372 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
QualifiedOuterThis.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/QualifiedOuterThis.java | /*
* Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4091327 4079087
* @summary Verify resolution of qualified outer class 'this' references.
* @author William Maddox (maddox) [shamelessly cribbed from bug report]
*
* @clean QualifiedOuterThis QualifiedOuterThis$Y QualifiedOuterThis$Y$Z
* @compile QualifiedOuterThis.java
* @run main QualifiedOuterThis
*/
public class QualifiedOuterThis {
static StringBuffer sb = new StringBuffer();
public String toString() { sb.append('X'); return "X"; }
void test() {
class Y {
public String toString() { sb.append('Y'); return "Y"; }
class Z {
public String toString() { sb.append('Z'); return "Z"; }
void test() {
System.out.println(this.toString());
System.out.println(Y.this.toString());
System.out.println(QualifiedOuterThis.this.toString());
}
}
void test() {
new Z().test();
}
}
new Y().test();
}
public static void main(String[] s) throws Exception {
QualifiedOuterThis x = new QualifiedOuterThis();
x.test(); // Print Z Y X
System.out.println(sb.toString());
if (!sb.toString().equals("ZYX")) {
throw new Exception("incorrect outer instance method called!");
}
}
}
| 2,425 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6238612.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6238612.java | /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @summary com.sun.tools.util.List.toArray violates Collection spec
*/
import com.sun.tools.javac.util.List;
public class T6238612 {
public static void main(String... args) {
new T6238612().test();
}
boolean error = false;
// exercise the List.toArray method for a variety of lists
void test() {
test(List.<String>nil());
test(List.of("a"));
test(List.of("a", "b", "c"));
test(List.of("a", "b", "c", "d", "e", "f"));
if (error)
throw new Error("test failed");
}
// given a list, exercise the List.toArray method for a variety of arrays
void test(List<String> list) {
int n = list.size();
if (n > 0)
test(list, new String[0]);
if (n > 1)
test(list, new String[n - 1]);
test(list, new String[n]);
test(list, new String[n + 1]);
test(list, new String[n + 5]);
}
// test the List.toArray method for a particular list and array
void test(List<String> list, String[] array) {
String[] result = list.toArray(array);
if (result.length < list.size()) {
error("returned array is too small; expected: " + list.size() + ", found: " + result.length);
return;
}
if (list.size() <= array.length && result != array)
error("new array wrongly created");
int i = 0;
for (String s: list)
check(result, i++, s);
if (i < result.length)
check(result, i, null);
}
// check a specific element of an array
void check(String[] array, int i, String expected) {
if (!equal(array[i], expected))
error("element " + i + " incorrect; expected: " + str(expected) + ", found: " + str(array[i]));
}
// check if two strings are both null or are equal
boolean equal(String s1, String s2) {
return (s1 == null ? s2 == null : s1.equals(s2));
}
String str(String s) {
return (s == null ? "null" : '"' + s + '"');
}
void error(String message) {
System.err.println(message);
error = true;
}
}
| 3,224 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6411379.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6411379.java | /*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6411379
* @summary NPE from JavacTrees.getPath
* @build T6411379
* @compile -processor T6411379 -proc:only T6411379 T6411379.java
*/
import java.util.Set;
import javax.annotation.processing.*;
import javax.lang.model.*;
import javax.lang.model.element.*;
import com.sun.source.tree.*;
import com.sun.source.util.*;
@SupportedAnnotationTypes("*")
public class T6411379 extends AbstractProcessor {
public boolean process(Set<? extends TypeElement> annoElems,
RoundEnvironment renv) {
Trees trees = Trees.instance(processingEnv);
for (TypeElement annoElem: annoElems) {
for (Element te: renv.getRootElements()) {
System.err.println("te: " + te);
for (AnnotationMirror anno: te.getAnnotationMirrors()) {
// anno is an annotation on te, not on annoElem,
// so we expect the following to return null
// (and not give NPE)
checkNull(trees.getPath(annoElem, anno));
checkNull(trees.getTree(annoElem, anno));
}
}
}
return true;
}
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
}
public void checkNull(Object o) {
if (o != null)
throw new AssertionError("expected null");
}
}
| 2,494 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
OuterParameter_1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/OuterParameter_1.java | /*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4257961
* @summary Check that reference to parameter from within local class is compiled correctly.
* @author maddox
*
* @compile OuterParameter_1.java
* @run main OuterParameter_1
*/
public class OuterParameter_1 {
void f(final int i) throws Exception {
class A {
A() throws Exception {
class B {
B() throws Exception {
if (i != 555) throw new Exception();
}
}
}
}
}
public static void main(String args[]) throws Exception {
new OuterParameter_1().f(555);
}
}
| 1,701 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
UncaughtOverflow.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/UncaughtOverflow.java | /*
* Copyright (c) 1997, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4035346
* @summary Compiler used to allow this initialization, despite the overflow.
* @author turnidge
*
* @compile/fail UncaughtOverflow.java
*/
public
class UncaughtOverflow {
int i = 100000000000;
}
| 1,285 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
DuplicateImport.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/DuplicateImport.java | /*
* Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4093217
* @summary Duplicate import-on-demand declarations should be no-ops.
* @author turnidge
*
* @compile DuplicateImport.java
*/
package nonexistent.pack;
import nonexistent.pack.*;
class DuplicateImport {
}
| 1,298 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
DepParam.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/DepParam.java | /*
* Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 5003983 5109712
* @summary REGRESSION: documentation comment with deprecated tag
* @author gafter
*
* @compile DepParam.java
*/
class DepParam {
void f(/** @deprecated foo. */ int foo) {
}
}
| 1,283 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NullStaticQualifier.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NullStaticQualifier.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4449316 4655091
* @summary missing null pointer check in discarded subexpression
* @author gafter
*
* @compile NullStaticQualifier.java
* @run main NullStaticQualifier
*/
public class NullStaticQualifier {
static NullStaticQualifier s = null;
NullStaticQualifier i;
public static void main(String[] args) {
try {
NullStaticQualifier nulls = null;
nulls.s = null;
System.out.println("ok 1 of 2");
} catch (NullPointerException e) {
throw new Error("failed");
}
try {
s.i.s = null;
throw new Error("failed");
} catch (NullPointerException e) {
System.out.println("ok 2 of 2");
}
}
}
| 1,808 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Enum1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Enum1.java | /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4934060
* @summary private enum ctor versus specialized enum constant crashes javac
* @author gafter
*/
public enum Enum1 {
red {
public String toString() {
return "correct";
}
};
private Enum1() {}
public static void main(String[] args) {
System.out.println(red);
}
}
| 1,401 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
StrictAbstract.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/StrictAbstract.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4428205
* @summary ACC_STRICT is set for methods of strictfp interface
* @author gafter
*
* @compile StrictAbstract.java
* @run main StrictAbstract
*/
import java.lang.reflect.*;
public class StrictAbstract {
static strictfp interface I {
void f();
}
static abstract strictfp class C {
void f() {}
abstract void g();
}
static Class[] ca = new Class[0];
public static void main(String[] args) throws Exception {
check(I.class.getDeclaredMethod("f", ca));
check(C.class.getDeclaredMethod("f", ca));
check(C.class.getDeclaredMethod("g", ca));
}
static void check(Method m) throws Exception {
int mask=Modifier.ABSTRACT | Modifier.STRICT;
if ((m.getModifiers() & mask) == mask) throw new Error();
}
}
| 1,882 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
StaticBlockScope.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/StaticBlockScope.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4680662
* @summary InternalError using inner classes in static { } block
* @author gafter
*
* @compile StaticBlockScope.java
*/
class StaticBlockScope {
static {
Object A = new Object () {
Object B = C;
};
}
static final Object C
= new Object () {
Object D = null;
};
}
| 1,435 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6231847.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6231847.java | /*
* @test /nodynamiccopyright/
* @bug 6231847
* @summary Crash in com.sun.tools.javac.comp.Attr.visitNewClass:1352
* @author Peter von der Ah\u00e9
* @compile/fail -XDdev T6231847.java
* @compile/fail/ref=T6231847.out -XDdev -XDrawDiagnostics T6231847.java
*/
class T6231847 {
interface T6231847I {}
static class T6231847C {}
T6231847 t;
Object o = new <Object> T6231847I() {};
Object p = new T6231847I(o) {};
Object q = t.new T6231847I() {};
Object r = t.new <Object> T6231847I(o) {};
Object s = t.new T6231847C() {};
}
| 569 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
QualifiedOuterThis2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/QualifiedOuterThis2.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4843805
* @summary compiler crash when class literals refers to enclosing class in a super clause
* @author gafter
*
* @compile QualifiedOuterThis2.java
*/
public class QualifiedOuterThis2 {
class TableCellEditor extends X {
TableCellEditor() {
super(new Object() {
public String xyz() {
return QualifiedOuterThis2.this.toString();
}
});
}
}
}
class X {
X(Object o) {}
}
| 1,569 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Closure2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Closure2.java | /*
* Copyright (c) 2001, 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4030374
* @summary Initialization of up-level links, immediately after super(), occurs too late.
* @author gafter
*
* @compile Closure2.java
* @run main Closure2
*/
// Make sure the closure is present when the superclass is constructed.
// Specifically, inner2 must have its Closure2.this initialized when inner calls go().
public class Closure2 {
private int mValue;
public Closure2() {
new inner2();
}
private abstract class inner {
public inner() {
go();
}
public abstract void go();
}
private class inner2 extends inner {
public void go() {
mValue = 2;
}
}
public static void main(String args[]) {
new Closure2();
}
}
| 1,828 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
CastInterface2Array.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/CastInterface2Array.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4242396 4254264
* @summary Verify that a compatible interface can be cast to an array type.
* @author maddox
*
* @run compile CastInterface2Array.java
*/
public class CastInterface2Array {
java.io.Serializable s;
int[] k;
void foo() {
k = (int[])s;
}
// A similar case to verify that
// array classes implement java.io.Serializable
byte[] array = null;
java.io.Serializable c = array;
}
| 1,510 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InterfaceOverrideObject.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InterfaceOverrideObject.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @summary check proper behavior when an interface overrides a method from Object
* @author gafter
*
* @compile InterfaceOverrideObject.java
*/
interface GSSNameSpi {
public boolean equals(GSSNameSpi name);
}
class InterfaceOverrideObject {
private GSSNameSpi mechElement = null;
{
mechElement.equals(mechElement);
}
}
| 1,413 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
SuperclassConstructorException.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/SuperclassConstructorException.java | /*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4350863 4358130
* @summary Verify that name of superclass constructor exception can be
* resolved correctly when instantiating a subclass.
* @author maddox
*
* @compile SuperclassConstructorException.java
*/
class Superclass {
public Superclass() throws java.io.IOException {}
}
class Subclass extends SuperclassConstructorException {}
class SuperclassConstructorException {
public static void main(String args[]) {
try {
Object x = new Superclass(){};
Object y = new Subclass();
} catch (java.io.IOException e) {};
}
}
| 1,628 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InitializerCompletion_1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InitializerCompletion_1.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4253548
* @summary Verify that compiler requires that instance initializers may complete normally.
* @author maddox
*
* @run compile/fail InitializerCompletion_1.java
*/
class InitializerCompletion_1 {
{
throw new RuntimeException();
}
}
| 1,332 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6668802.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6668802.java | /*
* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6668802
* @summary javac handles diagnostics for last line badly, if line not terminated by newline
*/
import java.io.*;
import java.util.*;
public class T6668802
{
public static void main(String[] args) throws Exception {
new T6668802().run();
}
void run() throws Exception {
String test = "public class Test {";
File f = writeTestFile("Test.java", test);
String[] out = compileBadFile(f);
for (String line: out)
System.err.println(">>>" + line + "<<<");
if (!out[1].equals(test)) {
show("expected", test);
show(" actual", out[1]);
throw new Error("test failed");
}
}
File writeTestFile(String path, String contents) throws IOException {
File f = new File(path);
FileWriter out = new FileWriter(f);
out.write(contents);
out.close();
return f;
}
String[] compileBadFile(File file) throws IOException {
List<String> options = new ArrayList<String>();
options.add(file.getPath());
System.err.println("compile: " + options);
String[] opts = options.toArray(new String[options.size()]);
StringWriter sw = new StringWriter();
PrintWriter out = new PrintWriter(sw);
int rc = com.sun.tools.javac.Main.compile(opts, out);
if (rc == 0)
throw new Error("compilation succeeded unexpectedly");
out.close();
return sw.toString().split("[\n\r]+");
}
void show(String prefix, String text) {
System.err.println(prefix + ": (" + text.length() + ") " + text);
}
}
| 2,867 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InitializerCompletion_2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InitializerCompletion_2.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4253548
* @summary Verify that compiler allows an instance initializer that may fail to complete normally
* if it is possible that it might.
* @author maddox
*
* @run compile InitializerCompletion_2.java
*/
class InitializerCompletion_2 {
boolean stop = true;
{
if (stop)
throw new RuntimeException();
}
}
| 1,417 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NewGeneric.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NewGeneric.java | /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4959929
* @summary unclear diagnostic for "new T()"
* @author never
*
* @compile/fail NewGeneric.java
*/
public class NewGeneric {
private static class Type<T> {
Type() { T t = new T(); }
}
}
| 1,287 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NameCollision.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NameCollision.java | /**
* @test /nodynamiccopyright/
* @bug 4222327 4785453
* @summary Interface names for classes in the same scope should not
* cause the compiler to crash.
*
* @compile/fail/ref=NameCollision.out -XDrawDiagnostics NameCollision.java
*/
// The test fails if the compiler crashes.
public class NameCollision {
class Runnable implements Runnable { } // ERROR
}
| 371 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6403466.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6403466.java | /*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6403466
* @summary javac TaskListener should be informed when annotation processing occurs
*/
import com.sun.source.util.*;
import java.io.*;
import java.lang.annotation.*;
import java.util.*;
import javax.annotation.processing.*;
import javax.lang.model.*;
import javax.lang.model.element.*;
import javax.lang.model.type.*;
import javax.lang.model.util.*;
import javax.tools.*;
import com.sun.tools.javac.api.JavacTool;
@Wrap
@SupportedAnnotationTypes("Wrap")
public class T6403466 extends AbstractProcessor {
static final String testSrcDir = System.getProperty("test.src");
static final String testClassDir = System.getProperty("test.classes");
static final String self = T6403466.class.getName();
static PrintWriter out = new PrintWriter(System.err, true);
public static void main(String[] args) throws IOException {
JavacTool tool = JavacTool.create();
StandardJavaFileManager fm = tool.getStandardFileManager(null, null, null);
Iterable<? extends JavaFileObject> files =
fm.getJavaFileObjectsFromFiles(Arrays.asList(new File(testSrcDir, self + ".java")));
Iterable<String> options = Arrays.asList("-processorpath", testClassDir,
"-processor", self,
"-s", ".",
"-d", ".");
JavacTask task = tool.getTask(out, fm, null, options, null, files);
VerifyingTaskListener vtl = new VerifyingTaskListener(new File(testSrcDir, self + ".out"));
task.setTaskListener(vtl);
if (!task.call())
throw new AssertionError("compilation failed");
if (vtl.iter.hasNext() || vtl.errors)
throw new AssertionError("comparison against golden file failed.");
}
public boolean process(Set<? extends TypeElement> annos, RoundEnvironment rEnv) {
if (!rEnv.processingOver()) {
Filer filer = processingEnv.getFiler();
for (TypeElement anno: annos) {
Set<? extends Element> elts = rEnv.getElementsAnnotatedWith(anno);
System.err.println("anno: " + anno);
System.err.println("elts: " + elts);
for (TypeElement te: ElementFilter.typesIn(elts)) {
try {
Writer out = filer.createSourceFile(te.getSimpleName() + "Wrapper").openWriter();
out.write("class " + te.getSimpleName() + "Wrapper { }");
out.close();
} catch (IOException ex) {
ex.printStackTrace();
}
}
}
}
return true;
}
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
}
}
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.TYPE)
@interface Wrap {
}
class VerifyingTaskListener implements TaskListener {
VerifyingTaskListener(File ref) throws IOException {
BufferedReader in = new BufferedReader(new FileReader(ref));
String line;
List<String> lines = new ArrayList<String>();
while ((line = in.readLine()) != null)
lines.add(line);
in.close();
iter = lines.iterator();
}
public void started(TaskEvent e) {
check("Started " + toString(e));
}
public void finished(TaskEvent e) {
check("Finished " + toString(e));
}
// similar to TaskEvent.toString(), but just prints basename of the file
private String toString(TaskEvent e) {
JavaFileObject file = e.getSourceFile();
return "TaskEvent["
+ e.getKind() + ","
+ (file == null ? null : new File(file.toUri().getPath()).getName()) + ","
// the compilation unit is identified by the file
+ e.getTypeElement() + "]";
}
private void check(String s) {
System.out.println(s); // write a reference copy of expected output to stdout
String ref = iter.hasNext() ? iter.next() : null;
line++;
if (!s.equals(ref)) {
if (ref != null)
System.err.println(line + ": expected: " + ref);
System.err.println(line + ": found: " + s);
errors = true;
}
}
Iterator<String> iter;
int line;
boolean errors;
}
| 5,498 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ObjectIncompatibleInterface.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ObjectIncompatibleInterface.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4479715
* @summary compiler incorrectly rejects interface int clone();
* @author gafter
*
* @compile ObjectIncompatibleInterface.java
*/
/** While it's impossible to implement this interface, nevertheless
* JLS requires it to be accepted.
*/
interface ObjectIncompatibleInterface {
int clone();
}
| 1,382 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InterfaceFieldParsing_1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InterfaceFieldParsing_1.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4283170
* @summary Verify that multiple variables in one inteface field declaration all have initializers.
* @author maddox
*
* @run compile/fail InterfaceFieldParsing_1.java
*/
interface InterfaceFieldParsing_1 {
int i = 10, j, k;
}
| 1,318 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NullQualifiedSuper1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NullQualifiedSuper1.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4422082
* @summary NullPointerException missing in an explicit constructor invocation
* @author Neal Gafter
*
* @run compile/fail NullQualifiedSuper1.java
*/
public class NullQualifiedSuper1 {
class a {
int a1 = 5;
}
class c extends a {
c() {
null.super(); // should fail at compile time
}
}
public static void main(String[] args) {
new NullQualifiedSuper1().new c();
}
}
| 1,518 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ClassLit.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ClassLit.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4884387
* @summary Use ldc instruction for class literals
* @author gafter
*
* @compile -source 1.5 -target 1.5 ClassLit.java
* @run main ClassLit
*/
public class ClassLit {
public static void main(String[] args) {
ClassLit t = new ClassLit();
if (t.getClass() != ClassLit.class) throw new Error();
int[] a = new int[2];
if (a.getClass() != int[].class) throw new Error();
if (int.class != Integer.TYPE) throw new Error();
}
}
| 1,554 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6306967.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6306967.java | /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6306967
* @summary Variable x is used before initialized
* @author Wei Tao
* @compile/fail T6306967.java
*/
public class T6306967 {
public static void main(String[] args) {
final int x;
while(true) {
if (true) {
break;
}
x = 1;
}
System.out.println(x);
}
}
| 1,431 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6725036.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6725036.java | /*
* Copyright (c) 2008, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6725036
* @summary javac returns incorrect value for lastModifiedTime() when
* source is a zip file archive
*/
import java.io.File;
import java.util.Date;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import javax.tools.JavaFileObject;
import com.sun.tools.javac.file.JavacFileManager;
import com.sun.tools.javac.file.RelativePath.RelativeFile;
import com.sun.tools.javac.file.ZipFileIndex;
import com.sun.tools.javac.file.ZipFileIndexArchive;
import com.sun.tools.javac.file.ZipFileIndexCache;
import com.sun.tools.javac.util.Context;
public class T6725036 {
public static void main(String... args) throws Exception {
new T6725036().run();
}
void run() throws Exception {
RelativeFile TEST_ENTRY_NAME = new RelativeFile("java/lang/String.class");
File f = new File(System.getProperty("java.home"));
if (!f.getName().equals("jre"))
f = new File(f, "jre");
File rt_jar = new File(new File(f, "lib"), "rt.jar");
JarFile j = new JarFile(rt_jar);
JarEntry je = j.getJarEntry(TEST_ENTRY_NAME.getPath());
long jarEntryTime = je.getTime();
ZipFileIndexCache zfic = ZipFileIndexCache.getSharedInstance();
ZipFileIndex zfi = zfic.getZipFileIndex(rt_jar, null, false, null, false);
long zfiTime = zfi.getLastModified(TEST_ENTRY_NAME);
check(je, jarEntryTime, zfi + ":" + TEST_ENTRY_NAME.getPath(), zfiTime);
Context context = new Context();
JavacFileManager fm = new JavacFileManager(context, false, null);
ZipFileIndexArchive zfia = new ZipFileIndexArchive(fm, zfi);
JavaFileObject jfo =
zfia.getFileObject(TEST_ENTRY_NAME.dirname(),
TEST_ENTRY_NAME.basename());
long jfoTime = jfo.getLastModified();
check(je, jarEntryTime, jfo, jfoTime);
if (errors > 0)
throw new Exception(errors + " occurred");
}
void check(Object ref, long refTime, Object test, long testTime) {
if (refTime == testTime)
return;
System.err.println("Error: ");
System.err.println("Expected: " + getText(ref, refTime));
System.err.println(" Found: " + getText(test, testTime));
errors++;
}
String getText(Object x, long t) {
return String.format("%14d", t) + " (" + new Date(t) + ") from " + x;
}
int errors;
}
| 3,512 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ConditionalWithVoid.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ConditionalWithVoid.java | /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4974927
* @summary The compiler was allowing void types in its parsing of conditional expressions.
* @author tball
*
* @compile/fail ConditionalWithVoid.java
*/
public class ConditionalWithVoid {
public int test(Object o) {
// Should fail to compile since Object.wait() has a void return type.
System.out.println(o instanceof String ? o.hashCode() : o.wait());
}
}
| 1,466 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6358166.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6358166.java | /*
* Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6358166
* @summary -verbose reports absurd times when annotation processing involved
*/
import java.io.*;
import java.util.*;
import javax.annotation.processing.*;
import javax.lang.model.element.*;
import javax.tools.*;
import com.sun.tools.javac.file.*;
import com.sun.tools.javac.file.JavacFileManager; // disambiguate
import com.sun.tools.javac.main.JavaCompiler;
import com.sun.tools.javac.main.*;
import com.sun.tools.javac.util.*;
import com.sun.tools.javac.util.List; // disambiguate
@SupportedAnnotationTypes("*")
public class T6358166 extends AbstractProcessor {
public static void main(String... args) throws Throwable {
String self = T6358166.class.getName();
String testSrc = System.getProperty("test.src");
JavacFileManager fm = new JavacFileManager(new Context(), false, null);
JavaFileObject f = fm.getFileForInput(testSrc + File.separatorChar + self + ".java");
test(fm, f, "-verbose", "-d", ".");
test(fm, f, "-verbose", "-d", ".", "-XprintRounds", "-processorpath", ".", "-processor", self);
}
static void test(JavacFileManager fm, JavaFileObject f, String... args) throws Throwable {
Context context = new Context();
fm.setContext(context);
Main compilerMain = new Main("javac", new PrintWriter(System.err, true));
compilerMain.setOptions(Options.instance(context));
compilerMain.filenames = new LinkedHashSet<File>();
compilerMain.processArgs(args);
JavaCompiler c = JavaCompiler.instance(context);
c.compile(List.of(f));
if (c.errorCount() != 0)
throw new AssertionError("compilation failed");
long msec = c.elapsed_msec;
if (msec < 0 || msec > 5 * 60 * 1000) // allow test 5 mins to execute, should be more than enough!
throw new AssertionError("elapsed time is suspect: " + msec);
}
public boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv) {
return true;
}
}
| 3,090 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
CompoundBox.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/CompoundBox.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4960369
* @summary drop compound boxing operations
* @author gafter
*
* @compile/fail CompoundBox.java
*/
class CompoundBox {
{
Float f = 3;
}
}
| 1,239 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
BoolArray.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/BoolArray.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4832887
* @summary NPE from com.sun.tools.javac.v8.comp.Flow.checkInit in Mantis beta
* @author gafter
*
* @compile BoolArray.java
*/
class BoolArray {
static {
boolean x=false, y=true;
boolean[] a = new boolean[] {!x, y};
}
}
| 1,329 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
HexThree.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/HexThree.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4920023
* @summary Test hex floating-point literals
* @author darcy
*/
public class HexThree {
public static void main(String argv[]) {
double [] testValues = {
+0X.0030000000000P+12,
+0X.0030000000000P+12D,
+0X.0030000000000P+12F,
+0X.0030000000000P+12d,
+0X.0030000000000P+12f,
+0X.0030000000000P12,
+0X.0030000000000P12D,
+0X.0030000000000P12F,
+0X.0030000000000P12d,
+0X.0030000000000P12f,
+0X.0030000000000p+12,
+0X.0030000000000p+12D,
+0X.0030000000000p+12F,
+0X.0030000000000p+12d,
+0X.0030000000000p+12f,
+0X.0030000000000p12,
+0X.0030000000000p12D,
+0X.0030000000000p12F,
+0X.0030000000000p12d,
+0X.0030000000000p12f,
+0X.0030P+12,
+0X.0030P+12D,
+0X.0030P+12F,
+0X.0030P+12d,
+0X.0030P+12f,
+0X.0030P12,
+0X.0030P12D,
+0X.0030P12F,
+0X.0030P12d,
+0X.0030P12f,
+0X.0030p+12,
+0X.0030p+12D,
+0X.0030p+12F,
+0X.0030p+12d,
+0X.0030p+12f,
+0X.0030p12,
+0X.0030p12D,
+0X.0030p12F,
+0X.0030p12d,
+0X.0030p12f,
+0X.003P+12,
+0X.003P+12D,
+0X.003P+12F,
+0X.003P+12d,
+0X.003P+12f,
+0X.003P12,
+0X.003P12D,
+0X.003P12F,
+0X.003P12d,
+0X.003P12f,
+0X.003p+12,
+0X.003p+12D,
+0X.003p+12F,
+0X.003p+12d,
+0X.003p+12f,
+0X.003p12,
+0X.003p12D,
+0X.003p12F,
+0X.003p12d,
+0X.003p12f,
+0X.3P+4,
+0X.3P+4D,
+0X.3P+4F,
+0X.3P+4d,
+0X.3P+4f,
+0X.3P4,
+0X.3P4D,
+0X.3P4F,
+0X.3P4d,
+0X.3P4f,
+0X.3p+4,
+0X.3p+4D,
+0X.3p+4F,
+0X.3p+4d,
+0X.3p+4f,
+0X.3p4,
+0X.3p4D,
+0X.3p4F,
+0X.3p4d,
+0X.3p4f,
+0X.C0P+2,
+0X.C0P+2D,
+0X.C0P+2F,
+0X.C0P+2d,
+0X.C0P+2f,
+0X.C0P2,
+0X.C0P2D,
+0X.C0P2F,
+0X.C0P2d,
+0X.C0P2f,
+0X.C0p+2,
+0X.C0p+2D,
+0X.C0p+2F,
+0X.C0p+2d,
+0X.C0p+2f,
+0X.C0p2,
+0X.C0p2D,
+0X.C0p2F,
+0X.C0p2d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0.cp2d,
+0X0.cp2f,
+0X000000000.0030000000000P+12,
+0X000000000.0030000000000P+12D,
+0X000000000.0030000000000P+12F,
+0X000000000.0030000000000P+12d,
+0X000000000.0030000000000P+12f,
+0X000000000.0030000000000P12,
+0X000000000.0030000000000P12D,
+0X000000000.0030000000000P12F,
+0X000000000.0030000000000P12d,
+0X000000000.0030000000000P12f,
+0X000000000.0030000000000p+12,
+0X000000000.0030000000000p+12D,
+0X000000000.0030000000000p+12F,
+0X000000000.0030000000000p+12d,
+0X000000000.0030000000000p+12f,
+0X000000000.0030000000000p12,
+0X000000000.0030000000000p12D,
+0X000000000.0030000000000p12F,
+0X000000000.0030000000000p12d,
+0X000000000.0030000000000p12f,
+0X00003P+0,
+0X00003P+0D,
+0X00003P+0F,
+0X00003P+0d,
+0X00003P+0f,
+0X00003P-0,
+0X00003P-0D,
+0X00003P-0F,
+0X00003P-0d,
+0X00003P-0f,
+0X00003P0,
+0X00003P0D,
+0X00003P0F,
+0X00003P0d,
+0X00003P0f,
+0X00003p+0,
+0X00003p+0D,
+0X00003p+0F,
+0X00003p+0d,
+0X00003p+0f,
+0X00003p-0,
+0X00003p-0D,
+0X00003p-0F,
+0X00003p-0d,
+0X00003p-0f,
+0X00003p0,
+0X00003p0D,
+0X00003p0F,
+0X00003p0d,
+0X00003p0f,
+0X0003.P+0,
+0X0003.P+0D,
+0X0003.P+0F,
+0X0003.P+0d,
+0X0003.P+0f,
+0X0003.P-0,
+0X0003.P-0D,
+0X0003.P-0F,
+0X0003.P-0d,
+0X0003.P-0f,
+0X0003.P0,
+0X0003.P0D,
+0X0003.P0F,
+0X0003.P0d,
+0X0003.P0f,
+0X0003.p+0,
+0X0003.p+0D,
+0X0003.p+0F,
+0X0003.p+0d,
+0X0003.p+0f,
+0X0003.p-0,
+0X0003.p-0D,
+0X0003.p-0F,
+0X0003.p-0d,
+0X0003.p-0f,
+0X0003.p0,
+0X0003.p0D,
+0X0003.p0F,
+0X0003.p0d,
+0X0003.p0f,
+0X0003P+0,
+0X0003P+0D,
+0X0003P+0F,
+0X0003P+0d,
+0X0003P+0f,
+0X0003P-0,
+0X0003P-0D,
+0X0003P-0F,
+0X0003P-0d,
+0X0003P-0f,
+0X0003P0,
+0X0003P0D,
+0X0003P0F,
+0X0003P0d,
+0X0003P0f,
+0X0003p+0,
+0X0003p+0D,
+0X0003p+0F,
+0X0003p+0d,
+0X0003p+0f,
+0X0003p-0,
+0X0003p-0D,
+0X0003p-0F,
+0X0003p-0d,
+0X0003p-0f,
+0X0003p0,
+0X0003p0D,
+0X0003p0F,
+0X0003p0d,
+0X0003p0f,
+0X01.80P+1,
+0X01.80P+1D,
+0X01.80P+1F,
+0X01.80P+1d,
+0X01.80P+1f,
+0X01.80P1,
+0X01.80P1D,
+0X01.80P1F,
+0X01.80P1d,
+0X01.80P1f,
+0X01.80p+1,
+0X01.80p+1D,
+0X01.80p+1F,
+0X01.80p+1d,
+0X01.80p+1f,
+0X01.80p1,
+0X01.80p1D,
+0X01.80p1F,
+0X01.80p1d,
+0X01.80p1f,
+0X01.8P+1,
+0X01.8P+1D,
+0X01.8P+1F,
+0X01.8P+1d,
+0X01.8P+1f,
+0X01.8P1,
+0X01.8P1D,
+0X01.8P1F,
+0X01.8P1d,
+0X01.8P1f,
+0X01.8p+1,
+0X01.8p+1D,
+0X01.8p+1F,
+0X01.8p+1d,
+0X01.8p+1f,
+0X01.8p1,
+0X01.8p1D,
+0X01.8p1F,
+0X01.8p1d,
+0X01.8p1f,
+0X1.80P+1,
+0X1.80P+1D,
+0X1.80P+1F,
+0X1.80P+1d,
+0X1.80P+1f,
+0X1.80P1,
+0X1.80P1D,
+0X1.80P1F,
+0X1.80P1d,
+0X1.80P1f,
+0X1.80p+1,
+0X1.80p+1D,
+0X1.80p+1F,
+0X1.80p+1d,
+0X1.80p+1f,
+0X1.80p1,
+0X1.80p1D,
+0X1.80p1F,
+0X1.80p1d,
+0X1.80p1f,
+0X1.8P+1,
+0X1.8P+1D,
+0X1.8P+1F,
+0X1.8P+1d,
+0X1.8P+1f,
+0X1.8P1,
+0X1.8P1D,
+0X1.8P1F,
+0X1.8P1d,
+0X1.8P1f,
+0X1.8p+1,
+0X1.8p+1D,
+0X1.8p+1F,
+0X1.8p+1d,
+0X1.8p+1f,
+0X1.8p1,
+0X1.8p1D,
+0X1.8p1F,
+0X1.8p1d,
+0X1.8p1f,
+0X18.0P-3,
+0X18.0P-3D,
+0X18.0P-3F,
+0X18.0P-3d,
+0X18.0P-3f,
+0X18.0p-3,
+0X18.0p-3D,
+0X18.0p-3F,
+0X18.0p-3d,
+0X18.0p-3f,
+0X18P-3,
+0X18P-3D,
+0X18P-3F,
+0X18P-3d,
+0X18P-3f,
+0X18p-3,
+0X18p-3D,
+0X18p-3F,
+0X18p-3d,
+0X18p-3f,
+0X3.000000P+0,
+0X3.000000P+0D,
+0X3.000000P+0F,
+0X3.000000P+0d,
+0X3.000000P+0f,
+0X3.000000P-0,
+0X3.000000P-0D,
+0X3.000000P-0F,
+0X3.000000P-0d,
+0X3.000000P-0f,
+0X3.000000P0,
+0X3.000000P0D,
+0X3.000000P0F,
+0X3.000000P0d,
+0X3.000000P0f,
+0X3.000000p+0,
+0X3.000000p+0D,
+0X3.000000p+0F,
+0X3.000000p+0d,
+0X3.000000p+0f,
+0X3.000000p-0,
+0X3.000000p-0D,
+0X3.000000p-0F,
+0X3.000000p-0d,
+0X3.000000p-0f,
+0X3.000000p0,
+0X3.000000p0D,
+0X3.000000p0F,
+0X3.000000p0d,
+0X3.000000p0f,
+0X3.0P+0,
+0X3.0P+0D,
+0X3.0P+0F,
+0X3.0P+0d,
+0X3.0P+0f,
+0X3.0P-0,
+0X3.0P-0D,
+0X3.0P-0F,
+0X3.0P-0d,
+0X3.0P-0f,
+0X3.0P0,
+0X3.0P0D,
+0X3.0P0F,
+0X3.0P0d,
+0X3.0P0f,
+0X3.0p+0,
+0X3.0p+0D,
+0X3.0p+0F,
+0X3.0p+0d,
+0X3.0p+0f,
+0X3.0p-0,
+0X3.0p-0D,
+0X3.0p-0F,
+0X3.0p-0d,
+0X3.0p-0f,
+0X3.0p0,
+0X3.0p0D,
+0X3.0p0F,
+0X3.0p0d,
+0X3.0p0f,
+0X3.P+0,
+0X3.P+0D,
+0X3.P+0F,
+0X3.P+0d,
+0X3.P+0f,
+0X3.P-0,
+0X3.P-0D,
+0X3.P-0F,
+0X3.P-0d,
+0X3.P-0f,
+0X3.P0,
+0X3.P0D,
+0X3.P0F,
+0X3.P0d,
+0X3.P0f,
+0X3.p+0,
+0X3.p+0D,
+0X3.p+0F,
+0X3.p+0d,
+0X3.p+0f,
+0X3.p-0,
+0X3.p-0D,
+0X3.p-0F,
+0X3.p-0d,
+0X3.p-0f,
+0X3.p0,
+0X3.p0D,
+0X3.p0F,
+0X3.p0d,
+0X3.p0f,
+0X3000000.0000P-24,
+0X3000000.0000P-24D,
+0X3000000.0000P-24F,
+0X3000000.0000P-24d,
+0X3000000.0000P-24f,
+0X3000000.0000p-24,
+0X3000000.0000p-24D,
+0X3000000.0000p-24F,
+0X3000000.0000p-24d,
+0X3000000.0000p-24f,
+0X3000000.P-24,
+0X3000000.P-24D,
+0X3000000.P-24F,
+0X3000000.P-24d,
+0X3000000.P-24f,
+0X3000000.p-24,
+0X3000000.p-24D,
+0X3000000.p-24F,
+0X3000000.p-24d,
+0X3000000.p-24f,
+0X3000000P-24,
+0X3000000P-24D,
+0X3000000P-24F,
+0X3000000P-24d,
+0X3000000P-24f,
+0X3000000p-24,
+0X3000000p-24D,
+0X3000000p-24F,
+0X3000000p-24d,
+0X3000000p-24f,
+0X3P+0,
+0X3P+0D,
+0X3P+0F,
+0X3P+0d,
+0X3P+0f,
+0X3P-0,
+0X3P-0D,
+0X3P-0F,
+0X3P-0d,
+0X3P-0f,
+0X3P0,
+0X3P0D,
+0X3P0F,
+0X3P0d,
+0X3P0f,
+0X3p+0,
+0X3p+0D,
+0X3p+0F,
+0X3p+0d,
+0X3p+0f,
+0X3p-0,
+0X3p-0D,
+0X3p-0F,
+0X3p-0d,
+0X3p-0f,
+0X3p0,
+0X3p0D,
+0X3p0F,
+0X3p0d,
+0X3p0f,
+0XC.0P-2,
+0XC.0P-2D,
+0XC.0P-2F,
+0XC.0P-2d,
+0XC.0P-2f,
+0XC.0p-2,
+0XC.0p-2D,
+0XC.0p-2F,
+0XC.0p-2d,
+0XC.0p-2f,
+0XC.P-2,
+0XC.P-2D,
+0XC.P-2F,
+0XC.P-2d,
+0XC.P-2f,
+0XC.p-2,
+0XC.p-2D,
+0XC.p-2F,
+0XC.p-2d,
+0XC.p-2f,
+0XCP-2,
+0XCP-2D,
+0XCP-2F,
+0XCP-2d,
+0XCP-2f,
+0XCp-2,
+0XCp-2D,
+0XCp-2F,
+0XCp-2d,
+0XCp-2f,
+0Xc.0P-2,
+0Xc.0P-2D,
+0Xc.0P-2F,
+0Xc.0P-2d,
+0Xc.0P-2f,
+0Xc.0p-2,
+0Xc.0p-2D,
+0Xc.0p-2F,
+0Xc.0p-2d,
+0Xc.0p-2f,
+0Xc.P-2,
+0Xc.P-2D,
+0Xc.P-2F,
+0Xc.P-2d,
+0Xc.P-2f,
+0Xc.p-2,
+0Xc.p-2D,
+0Xc.p-2F,
+0Xc.p-2d,
+0Xc.p-2f,
+0XcP-2,
+0XcP-2D,
+0XcP-2F,
+0XcP-2d,
+0XcP-2f,
+0Xcp-2,
+0Xcp-2D,
+0Xcp-2F,
+0Xcp-2d,
+0Xcp-2f,
+0x.0030000000000P+12,
+0x.0030000000000P+12D,
+0x.0030000000000P+12F,
+0x.0030000000000P+12d,
+0x.0030000000000P+12f,
+0x.0030000000000P12,
+0x.0030000000000P12D,
+0x.0030000000000P12F,
+0x.0030000000000P12d,
+0x.0030000000000P12f,
+0x.0030000000000p+12,
+0x.0030000000000p+12D,
+0x.0030000000000p+12F,
+0x.0030000000000p+12d,
+0x.0030000000000p+12f,
+0x.0030000000000p12,
+0x.0030000000000p12D,
+0x.0030000000000p12F,
+0x.0030000000000p12d,
+0x.0030000000000p12f,
+0x.0030P+12,
+0x.0030P+12D,
+0x.0030P+12F,
+0x.0030P+12d,
+0x.0030P+12f,
+0x.0030P12,
+0x.0030P12D,
+0x.0030P12F,
+0x.0030P12d,
+0x.0030P12f,
+0x.0030p+12,
+0x.0030p+12D,
+0x.0030p+12F,
+0x.0030p+12d,
+0x.0030p+12f,
+0x.0030p12,
+0x.0030p12D,
+0x.0030p12F,
+0x.0030p12d,
+0x.0030p12f,
+0x.003P+12,
+0x.003P+12D,
+0x.003P+12F,
+0x.003P+12d,
+0x.003P+12f,
+0x.003P12,
+0x.003P12D,
+0x.003P12F,
+0x.003P12d,
+0x.003P12f,
+0x.003p+12,
+0x.003p+12D,
+0x.003p+12F,
+0x.003p+12d,
+0x.003p+12f,
+0x.003p12,
+0x.003p12D,
+0x.003p12F,
+0x.003p12d,
+0x.003p12f,
+0x.3P+4,
+0x.3P+4D,
+0x.3P+4F,
+0x.3P+4d,
+0x.3P+4f,
+0x.3P4,
+0x.3P4D,
+0x.3P4F,
+0x.3P4d,
+0x.3P4f,
+0x.3p+4,
+0x.3p+4D,
+0x.3p+4F,
+0x.3p+4d,
+0x.3p+4f,
+0x.3p4,
+0x.3p4D,
+0x.3p4F,
+0x.3p4d,
+0x.3p4f,
+0x.C0P+2,
+0x.C0P+2D,
+0x.C0P+2F,
+0x.C0P+2d,
+0x.C0P+2f,
+0x.C0P2,
+0x.C0P2D,
+0x.C0P2F,
+0x.C0P2d,
+0x.C0P2f,
+0x.C0p+2,
+0x.C0p+2D,
+0x.C0p+2F,
+0x.C0p+2d,
+0x.C0p+2f,
+0x.C0p2,
+0x.C0p2D,
+0x.C0p2F,
+0x.C0p2d,
+0x.C0p2f,
+0x.CP+2,
+0x.CP+2D,
+0x.CP+2F,
+0x.CP+2d,
+0x.CP+2f,
+0x.CP2,
+0x.CP2D,
+0x.CP2F,
+0x.CP2d,
+0x.CP2f,
+0x.Cp+2,
+0x.Cp+2D,
+0x.Cp+2F,
+0x.Cp+2d,
+0x.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0.C0P2D,
+0x0.C0P2F,
+0x0.C0P2d,
+0x0.C0P2f,
+0x0.C0p+2,
+0x0.C0p+2D,
+0x0.C0p+2F,
+0x0.C0p+2d,
+0x0.C0p+2f,
+0x0.C0p2,
+0x0.C0p2D,
+0x0.C0p2F,
+0x0.C0p2d,
+0x0.C0p2f,
+0x0.CP+2,
+0x0.CP+2D,
+0x0.CP+2F,
+0x0.CP+2d,
+0x0.CP+2f,
+0x0.CP2,
+0x0.CP2D,
+0x0.CP2F,
+0x0.CP2d,
+0x0.CP2f,
+0x0.Cp+2,
+0x0.Cp+2D,
+0x0.Cp+2F,
+0x0.Cp+2d,
+0x0.Cp+2f,
+0x0.Cp2,
+0x0.Cp2D,
+0x0.Cp2F,
+0x0.Cp2d,
+0x0.Cp2f,
+0x0.c0P+2,
+0x0.c0P+2D,
+0x0.c0P+2F,
+0x0.c0P+2d,
+0x0.c0P+2f,
+0x0.c0P2,
+0x0.c0P2D,
+0x0.c0P2F,
+0x0.c0P2d,
+0x0.c0P2f,
+0x0.c0p+2,
+0x0.c0p+2D,
+0x0.c0p+2F,
+0x0.c0p+2d,
+0x0.c0p+2f,
+0x0.c0p2,
+0x0.c0p2D,
+0x0.c0p2F,
+0x0.c0p2d,
+0x0.c0p2f,
+0x0.cP+2,
+0x0.cP+2D,
+0x0.cP+2F,
+0x0.cP+2d,
+0x0.cP+2f,
+0x0.cP2,
+0x0.cP2D,
+0x0.cP2F,
+0x0.cP2d,
+0x0.cP2f,
+0x0.cp+2,
+0x0.cp+2D,
+0x0.cp+2F,
+0x0.cp+2d,
+0x0.cp+2f,
+0x0.cp2,
+0x0.cp2D,
+0x0.cp2F,
+0x0.cp2d,
+0x0.cp2f,
+0x000000000.0030000000000P+12,
+0x000000000.0030000000000P+12D,
+0x000000000.0030000000000P+12F,
+0x000000000.0030000000000P+12d,
+0x000000000.0030000000000P+12f,
+0x000000000.0030000000000P12,
+0x000000000.0030000000000P12D,
+0x000000000.0030000000000P12F,
+0x000000000.0030000000000P12d,
+0x000000000.0030000000000P12f,
+0x000000000.0030000000000p+12,
+0x000000000.0030000000000p+12D,
+0x000000000.0030000000000p+12F,
+0x000000000.0030000000000p+12d,
+0x000000000.0030000000000p+12f,
+0x000000000.0030000000000p12,
+0x000000000.0030000000000p12D,
+0x000000000.0030000000000p12F,
+0x000000000.0030000000000p12d,
+0x000000000.0030000000000p12f,
+0x00003P+0,
+0x00003P+0D,
+0x00003P+0F,
+0x00003P+0d,
+0x00003P+0f,
+0x00003P-0,
+0x00003P-0D,
+0x00003P-0F,
+0x00003P-0d,
+0x00003P-0f,
+0x00003P0,
+0x00003P0D,
+0x00003P0F,
+0x00003P0d,
+0x00003P0f,
+0x00003p+0,
+0x00003p+0D,
+0x00003p+0F,
+0x00003p+0d,
+0x00003p+0f,
+0x00003p-0,
+0x00003p-0D,
+0x00003p-0F,
+0x00003p-0d,
+0x00003p-0f,
+0x00003p0,
+0x00003p0D,
+0x00003p0F,
+0x00003p0d,
+0x00003p0f,
+0x0003.P+0,
+0x0003.P+0D,
+0x0003.P+0F,
+0x0003.P+0d,
+0x0003.P+0f,
+0x0003.P-0,
+0x0003.P-0D,
+0x0003.P-0F,
+0x0003.P-0d,
+0x0003.P-0f,
+0x0003.P0,
+0x0003.P0D,
+0x0003.P0F,
+0x0003.P0d,
+0x0003.P0f,
+0x0003.p+0,
+0x0003.p+0D,
+0x0003.p+0F,
+0x0003.p+0d,
+0x0003.p+0f,
+0x0003.p-0,
+0x0003.p-0D,
+0x0003.p-0F,
+0x0003.p-0d,
+0x0003.p-0f,
+0x0003.p0,
+0x0003.p0D,
+0x0003.p0F,
+0x0003.p0d,
+0x0003.p0f,
+0x0003P+0,
+0x0003P+0D,
+0x0003P+0F,
+0x0003P+0d,
+0x0003P+0f,
+0x0003P-0,
+0x0003P-0D,
+0x0003P-0F,
+0x0003P-0d,
+0x0003P-0f,
+0x0003P0,
+0x0003P0D,
+0x0003P0F,
+0x0003P0d,
+0x0003P0f,
+0x0003p+0,
+0x0003p+0D,
+0x0003p+0F,
+0x0003p+0d,
+0x0003p+0f,
+0x0003p-0,
+0x0003p-0D,
+0x0003p-0F,
+0x0003p-0d,
+0x0003p-0f,
+0x0003p0,
+0x0003p0D,
+0x0003p0F,
+0x0003p0d,
+0x0003p0f,
+0x01.80P+1,
+0x01.80P+1D,
+0x01.80P+1F,
+0x01.80P+1d,
+0x01.80P+1f,
+0x01.80P1,
+0x01.80P1D,
+0x01.80P1F,
+0x01.80P1d,
+0x01.80P1f,
+0x01.80p+1,
+0x01.80p+1D,
+0x01.80p+1F,
+0x01.80p+1d,
+0x01.80p+1f,
+0x01.80p1,
+0x01.80p1D,
+0x01.80p1F,
+0x01.80p1d,
+0x01.80p1f,
+0x01.8P+1,
+0x01.8P+1D,
+0x01.8P+1F,
+0x01.8P+1d,
+0x01.8P+1f,
+0x01.8P1,
+0x01.8P1D,
+0x01.8P1F,
+0x01.8P1d,
+0x01.8P1f,
+0x01.8p+1,
+0x01.8p+1D,
+0x01.8p+1F,
+0x01.8p+1d,
+0x01.8p+1f,
+0x01.8p1,
+0x01.8p1D,
+0x01.8p1F,
+0x01.8p1d,
+0x01.8p1f,
+0x1.80P+1,
+0x1.80P+1D,
+0x1.80P+1F,
+0x1.80P+1d,
+0x1.80P+1f,
+0x1.80P1,
+0x1.80P1D,
+0x1.80P1F,
+0x1.80P1d,
+0x1.80P1f,
+0x1.80p+1,
+0x1.80p+1D,
+0x1.80p+1F,
+0x1.80p+1d,
+0x1.80p+1f,
+0x1.80p1,
+0x1.80p1D,
+0x1.80p1F,
+0x1.80p1d,
+0x1.80p1f,
+0x1.8P+1,
+0x1.8P+1D,
+0x1.8P+1F,
+0x1.8P+1d,
+0x1.8P+1f,
+0x1.8P1,
+0x1.8P1D,
+0x1.8P1F,
+0x1.8P1d,
+0x1.8P1f,
+0x1.8p+1,
+0x1.8p+1D,
+0x1.8p+1F,
+0x1.8p+1d,
+0x1.8p+1f,
+0x1.8p1,
+0x1.8p1D,
+0x1.8p1F,
+0x1.8p1d,
+0x1.8p1f,
+0x18.0P-3,
+0x18.0P-3D,
+0x18.0P-3F,
+0x18.0P-3d,
+0x18.0P-3f,
+0x18.0p-3,
+0x18.0p-3D,
+0x18.0p-3F,
+0x18.0p-3d,
+0x18.0p-3f,
+0x18P-3,
+0x18P-3D,
+0x18P-3F,
+0x18P-3d,
+0x18P-3f,
+0x18p-3,
+0x18p-3D,
+0x18p-3F,
+0x18p-3d,
+0x18p-3f,
+0x3.000000P+0,
+0x3.000000P+0D,
+0x3.000000P+0F,
+0x3.000000P+0d,
+0x3.000000P+0f,
+0x3.000000P-0,
+0x3.000000P-0D,
+0x3.000000P-0F,
+0x3.000000P-0d,
+0x3.000000P-0f,
+0x3.000000P0,
+0x3.000000P0D,
+0x3.000000P0F,
+0x3.000000P0d,
+0x3.000000P0f,
+0x3.000000p+0,
+0x3.000000p+0D,
+0x3.000000p+0F,
+0x3.000000p+0d,
+0x3.000000p+0f,
+0x3.000000p-0,
+0x3.000000p-0D,
+0x3.000000p-0F,
+0x3.000000p-0d,
+0x3.000000p-0f,
+0x3.000000p0,
+0x3.000000p0D,
+0x3.000000p0F,
+0x3.000000p0d,
+0x3.000000p0f,
+0x3.0P+0,
+0x3.0P+0D,
+0x3.0P+0F,
+0x3.0P+0d,
+0x3.0P+0f,
+0x3.0P-0,
+0x3.0P-0D,
+0x3.0P-0F,
+0x3.0P-0d,
+0x3.0P-0f,
+0x3.0P0,
+0x3.0P0D,
+0x3.0P0F,
+0x3.0P0d,
+0x3.0P0f,
+0x3.0p+0,
+0x3.0p+0D,
+0x3.0p+0F,
+0x3.0p+0d,
+0x3.0p+0f,
+0x3.0p-0,
+0x3.0p-0D,
+0x3.0p-0F,
+0x3.0p-0d,
+0x3.0p-0f,
+0x3.0p0,
+0x3.0p0D,
+0x3.0p0F,
+0x3.0p0d,
+0x3.0p0f,
+0x3.P+0,
+0x3.P+0D,
+0x3.P+0F,
+0x3.P+0d,
+0x3.P+0f,
+0x3.P-0,
+0x3.P-0D,
+0x3.P-0F,
+0x3.P-0d,
+0x3.P-0f,
+0x3.P0,
+0x3.P0D,
+0x3.P0F,
+0x3.P0d,
+0x3.P0f,
+0x3.p+0,
+0x3.p+0D,
+0x3.p+0F,
+0x3.p+0d,
+0x3.p+0f,
+0x3.p-0,
+0x3.p-0D,
+0x3.p-0F,
+0x3.p-0d,
+0x3.p-0f,
+0x3.p0,
+0x3.p0D,
+0x3.p0F,
+0x3.p0d,
+0x3.p0f,
+0x3000000.0000P-24,
+0x3000000.0000P-24D,
+0x3000000.0000P-24F,
+0x3000000.0000P-24d,
+0x3000000.0000P-24f,
+0x3000000.0000p-24,
+0x3000000.0000p-24D,
+0x3000000.0000p-24F,
+0x3000000.0000p-24d,
+0x3000000.0000p-24f,
+0x3000000.P-24,
+0x3000000.P-24D,
+0x3000000.P-24F,
+0x3000000.P-24d,
+0x3000000.P-24f,
+0x3000000.p-24,
+0x3000000.p-24D,
+0x3000000.p-24F,
+0x3000000.p-24d,
+0x3000000.p-24f,
+0x3000000P-24,
+0x3000000P-24D,
+0x3000000P-24F,
+0x3000000P-24d,
+0x3000000P-24f,
+0x3000000p-24,
+0x3000000p-24D,
+0x3000000p-24F,
+0x3000000p-24d,
+0x3000000p-24f,
+0x3P+0,
+0x3P+0D,
+0x3P+0F,
+0x3P+0d,
+0x3P+0f,
+0x3P-0,
+0x3P-0D,
+0x3P-0F,
+0x3P-0d,
+0x3P-0f,
+0x3P0,
+0x3P0D,
+0x3P0F,
+0x3P0d,
+0x3P0f,
+0x3p+0,
+0x3p+0D,
+0x3p+0F,
+0x3p+0d,
+0x3p+0f,
+0x3p-0,
+0x3p-0D,
+0x3p-0F,
+0x3p-0d,
+0x3p-0f,
+0x3p0,
+0x3p0D,
+0x3p0F,
+0x3p0d,
+0x3p0f,
+0xC.0P-2,
+0xC.0P-2D,
+0xC.0P-2F,
+0xC.0P-2d,
+0xC.0P-2f,
+0xC.0p-2,
+0xC.0p-2D,
+0xC.0p-2F,
+0xC.0p-2d,
+0xC.0p-2f,
+0xC.P-2,
+0xC.P-2D,
+0xC.P-2F,
+0xC.P-2d,
+0xC.P-2f,
+0xC.p-2,
+0xC.p-2D,
+0xC.p-2F,
+0xC.p-2d,
+0xC.p-2f,
+0xCP-2,
+0xCP-2D,
+0xCP-2F,
+0xCP-2d,
+0xCP-2f,
+0xCp-2,
+0xCp-2D,
+0xCp-2F,
+0xCp-2d,
+0xCp-2f,
+0xc.0P-2,
+0xc.0P-2D,
+0xc.0P-2F,
+0xc.0P-2d,
+0xc.0P-2f,
+0xc.0p-2,
+0xc.0p-2D,
+0xc.0p-2F,
+0xc.0p-2d,
+0xc.0p-2f,
+0xc.P-2,
+0xc.P-2D,
+0xc.P-2F,
+0xc.P-2d,
+0xc.P-2f,
+0xc.p-2,
+0xc.p-2D,
+0xc.p-2F,
+0xc.p-2d,
+0xc.p-2f,
+0xcP-2,
+0xcP-2D,
+0xcP-2F,
+0xcP-2d,
+0xcP-2f,
+0xcp-2,
+0xcp-2D,
+0xcp-2F,
+0xcp-2d,
+0xcp-2f,
-0X.0030000000000P+12,
-0X.0030000000000P+12D,
-0X.0030000000000P+12F,
-0X.0030000000000P+12d,
-0X.0030000000000P+12f,
-0X.0030000000000P12,
-0X.0030000000000P12D,
-0X.0030000000000P12F,
-0X.0030000000000P12d,
-0X.0030000000000P12f,
-0X.0030000000000p+12,
-0X.0030000000000p+12D,
-0X.0030000000000p+12F,
-0X.0030000000000p+12d,
-0X.0030000000000p+12f,
-0X.0030000000000p12,
-0X.0030000000000p12D,
-0X.0030000000000p12F,
-0X.0030000000000p12d,
-0X.0030000000000p12f,
-0X.0030P+12,
-0X.0030P+12D,
-0X.0030P+12F,
-0X.0030P+12d,
-0X.0030P+12f,
-0X.0030P12,
-0X.0030P12D,
-0X.0030P12F,
-0X.0030P12d,
-0X.0030P12f,
-0X.0030p+12,
-0X.0030p+12D,
-0X.0030p+12F,
-0X.0030p+12d,
-0X.0030p+12f,
-0X.0030p12,
-0X.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0X0.CP+2F,
-0X0.CP+2d,
-0X0.CP+2f,
-0X0.CP2,
-0X0.CP2D,
-0X0.CP2F,
-0X0.CP2d,
-0X0.CP2f,
-0X0.Cp+2,
-0X0.Cp+2D,
-0X0.Cp+2F,
-0X0.Cp+2d,
-0X0.Cp+2f,
-0X0.Cp2,
-0X0.Cp2D,
-0X0.Cp2F,
-0X0.Cp2d,
-0X0.Cp2f,
-0X0.c0P+2,
-0X0.c0P+2D,
-0X0.c0P+2F,
-0X0.c0P+2d,
-0X0.c0P+2f,
-0X0.c0P2,
-0X0.c0P2D,
-0X0.c0P2F,
-0X0.c0P2d,
-0X0.c0P2f,
-0X0.c0p+2,
-0X0.c0p+2D,
-0X0.c0p+2F,
-0X0.c0p+2d,
-0X0.c0p+2f,
-0X0.c0p2,
-0X0.c0p2D,
-0X0.c0p2F,
-0X0.c0p2d,
-0X0.c0p2f,
-0X0.cP+2,
-0X0.cP+2D,
-0X0.cP+2F,
-0X0.cP+2d,
-0X0.cP+2f,
-0X0.cP2,
-0X0.cP2D,
-0X0.cP2F,
-0X0.cP2d,
-0X0.cP2f,
-0X0.cp+2,
-0X0.cp+2D,
-0X0.cp+2F,
-0X0.cp+2d,
-0X0.cp+2f,
-0X0.cp2,
-0X0.cp2D,
-0X0.cp2F,
-0X0.cp2d,
-0X0.cp2f,
-0X000000000.0030000000000P+12,
-0X000000000.0030000000000P+12D,
-0X000000000.0030000000000P+12F,
-0X000000000.0030000000000P+12d,
-0X000000000.0030000000000P+12f,
-0X000000000.0030000000000P12,
-0X000000000.0030000000000P12D,
-0X000000000.0030000000000P12F,
-0X000000000.0030000000000P12d,
-0X000000000.0030000000000P12f,
-0X000000000.0030000000000p+12,
-0X000000000.0030000000000p+12D,
-0X000000000.0030000000000p+12F,
-0X000000000.0030000000000p+12d,
-0X000000000.0030000000000p+12f,
-0X000000000.0030000000000p12,
-0X000000000.0030000000000p12D,
-0X000000000.0030000000000p12F,
-0X000000000.0030000000000p12d,
-0X000000000.0030000000000p12f,
-0X00003P+0,
-0X00003P+0D,
-0X00003P+0F,
-0X00003P+0d,
-0X00003P+0f,
-0X00003P-0,
-0X00003P-0D,
-0X00003P-0F,
-0X00003P-0d,
-0X00003P-0f,
-0X00003P0,
-0X00003P0D,
-0X00003P0F,
-0X00003P0d,
-0X00003P0f,
-0X00003p+0,
-0X00003p+0D,
-0X00003p+0F,
-0X00003p+0d,
-0X00003p+0f,
-0X00003p-0,
-0X00003p-0D,
-0X00003p-0F,
-0X00003p-0d,
-0X00003p-0f,
-0X00003p0,
-0X00003p0D,
-0X00003p0F,
-0X00003p0d,
-0X00003p0f,
-0X0003.P+0,
-0X0003.P+0D,
-0X0003.P+0F,
-0X0003.P+0d,
-0X0003.P+0f,
-0X0003.P-0,
-0X0003.P-0D,
-0X0003.P-0F,
-0X0003.P-0d,
-0X0003.P-0f,
-0X0003.P0,
-0X0003.P0D,
-0X0003.P0F,
-0X0003.P0d,
-0X0003.P0f,
-0X0003.p+0,
-0X0003.p+0D,
-0X0003.p+0F,
-0X0003.p+0d,
-0X0003.p+0f,
-0X0003.p-0,
-0X0003.p-0D,
-0X0003.p-0F,
-0X0003.p-0d,
-0X0003.p-0f,
-0X0003.p0,
-0X0003.p0D,
-0X0003.p0F,
-0X0003.p0d,
-0X0003.p0f,
-0X0003P+0,
-0X0003P+0D,
-0X0003P+0F,
-0X0003P+0d,
-0X0003P+0f,
-0X0003P-0,
-0X0003P-0D,
-0X0003P-0F,
-0X0003P-0d,
-0X0003P-0f,
-0X0003P0,
-0X0003P0D,
-0X0003P0F,
-0X0003P0d,
-0X0003P0f,
-0X0003p+0,
-0X0003p+0D,
-0X0003p+0F,
-0X0003p+0d,
-0X0003p+0f,
-0X0003p-0,
-0X0003p-0D,
-0X0003p-0F,
-0X0003p-0d,
-0X0003p-0f,
-0X0003p0,
-0X0003p0D,
-0X0003p0F,
-0X0003p0d,
-0X0003p0f,
-0X01.80P+1,
-0X01.80P+1D,
-0X01.80P+1F,
-0X01.80P+1d,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
-0X18p-3,
-0X18p-3D,
-0X18p-3F,
-0X18p-3d,
-0X18p-3f,
-0X3.000000P+0,
-0X3.000000P+0D,
-0X3.000000P+0F,
-0X3.000000P+0d,
-0X3.000000P+0f,
-0X3.000000P-0,
-0X3.000000P-0D,
-0X3.000000P-0F,
-0X3.000000P-0d,
-0X3.000000P-0f,
-0X3.000000P0,
-0X3.000000P0D,
-0X3.000000P0F,
-0X3.000000P0d,
-0X3.000000P0f,
-0X3.000000p+0,
-0X3.000000p+0D,
-0X3.000000p+0F,
-0X3.000000p+0d,
-0X3.000000p+0f,
-0X3.000000p-0,
-0X3.000000p-0D,
-0X3.000000p-0F,
-0X3.000000p-0d,
-0X3.000000p-0f,
-0X3.000000p0,
-0X3.000000p0D,
-0X3.000000p0F,
-0X3.000000p0d,
-0X3.000000p0f,
-0X3.0P+0,
-0X3.0P+0D,
-0X3.0P+0F,
-0X3.0P+0d,
-0X3.0P+0f,
-0X3.0P-0,
-0X3.0P-0D,
-0X3.0P-0F,
-0X3.0P-0d,
-0X3.0P-0f,
-0X3.0P0,
-0X3.0P0D,
-0X3.0P0F,
-0X3.0P0d,
-0X3.0P0f,
-0X3.0p+0,
-0X3.0p+0D,
-0X3.0p+0F,
-0X3.0p+0d,
-0X3.0p+0f,
-0X3.0p-0,
-0X3.0p-0D,
-0X3.0p-0F,
-0X3.0p-0d,
-0X3.0p-0f,
-0X3.0p0,
-0X3.0p0D,
-0X3.0p0F,
-0X3.0p0d,
-0X3.0p0f,
-0X3.P+0,
-0X3.P+0D,
-0X3.P+0F,
-0X3.P+0d,
-0X3.P+0f,
-0X3.P-0,
-0X3.P-0D,
-0X3.P-0F,
-0X3.P-0d,
-0X3.P-0f,
-0X3.P0,
-0X3.P0D,
-0X3.P0F,
-0X3.P0d,
-0X3.P0f,
-0X3.p+0,
-0X3.p+0D,
-0X3.p+0F,
-0X3.p+0d,
-0X3.p+0f,
-0X3.p-0,
-0X3.p-0D,
-0X3.p-0F,
-0X3.p-0d,
-0X3.p-0f,
-0X3.p0,
-0X3.p0D,
-0X3.p0F,
-0X3.p0d,
-0X3.p0f,
-0X3000000.0000P-24,
-0X3000000.0000P-24D,
-0X3000000.0000P-24F,
-0X3000000.0000P-24d,
-0X3000000.0000P-24f,
-0X3000000.0000p-24,
-0X3000000.0000p-24D,
-0X3000000.0000p-24F,
-0X3000000.0000p-24d,
-0X3000000.0000p-24f,
-0X3000000.P-24,
-0X3000000.P-24D,
-0X3000000.P-24F,
-0X3000000.P-24d,
-0X3000000.P-24f,
-0X3000000.p-24,
-0X3000000.p-24D,
-0X3000000.p-24F,
-0X3000000.p-24d,
-0X3000000.p-24f,
-0X3000000P-24,
-0X3000000P-24D,
-0X3000000P-24F,
-0X3000000P-24d,
-0X3000000P-24f,
-0X3000000p-24,
-0X3000000p-24D,
-0X3000000p-24F,
-0X3000000p-24d,
-0X3000000p-24f,
-0X3P+0,
-0X3P+0D,
-0X3P+0F,
-0X3P+0d,
-0X3P+0f,
-0X3P-0,
-0X3P-0D,
-0X3P-0F,
-0X3P-0d,
-0X3P-0f,
-0X3P0,
-0X3P0D,
-0X3P0F,
-0X3P0d,
-0X3P0f,
-0X3p+0,
-0X3p+0D,
-0X3p+0F,
-0X3p+0d,
-0X3p+0f,
-0X3p-0,
-0X3p-0D,
-0X3p-0F,
-0X3p-0d,
-0X3p-0f,
-0X3p0,
-0X3p0D,
-0X3p0F,
-0X3p0d,
-0X3p0f,
-0XC.0P-2,
-0XC.0P-2D,
-0XC.0P-2F,
-0XC.0P-2d,
-0XC.0P-2f,
-0XC.0p-2,
-0XC.0p-2D,
-0XC.0p-2F,
-0XC.0p-2d,
-0XC.0p-2f,
-0XC.P-2,
-0XC.P-2D,
-0XC.P-2F,
-0XC.P-2d,
-0XC.P-2f,
-0XC.p-2,
-0XC.p-2D,
-0XC.p-2F,
-0XC.p-2d,
-0XC.p-2f,
-0XCP-2,
-0XCP-2D,
-0XCP-2F,
-0XCP-2d,
-0XCP-2f,
-0XCp-2,
-0XCp-2D,
-0XCp-2F,
-0XCp-2d,
-0XCp-2f,
-0Xc.0P-2,
-0Xc.0P-2D,
-0Xc.0P-2F,
-0Xc.0P-2d,
-0Xc.0P-2f,
-0Xc.0p-2,
-0Xc.0p-2D,
-0Xc.0p-2F,
-0Xc.0p-2d,
-0Xc.0p-2f,
-0Xc.P-2,
-0Xc.P-2D,
-0Xc.P-2F,
-0Xc.P-2d,
-0Xc.P-2f,
-0Xc.p-2,
-0Xc.p-2D,
-0Xc.p-2F,
-0Xc.p-2d,
-0Xc.p-2f,
-0XcP-2,
-0XcP-2D,
-0XcP-2F,
-0XcP-2d,
-0XcP-2f,
-0Xcp-2,
-0Xcp-2D,
-0Xcp-2F,
-0Xcp-2d,
-0Xcp-2f,
-0x.0030000000000P+12,
-0x.0030000000000P+12D,
-0x.0030000000000P+12F,
-0x.0030000000000P+12d,
-0x.0030000000000P+12f,
-0x.0030000000000P12,
-0x.0030000000000P12D,
-0x.0030000000000P12F,
-0x.0030000000000P12d,
-0x.0030000000000P12f,
-0x.0030000000000p+12,
-0x.0030000000000p+12D,
-0x.0030000000000p+12F,
-0x.0030000000000p+12d,
-0x.0030000000000p+12f,
-0x.0030000000000p12,
-0x.0030000000000p12D,
-0x.0030000000000p12F,
-0x.0030000000000p12d,
-0x.0030000000000p12f,
-0x.0030P+12,
-0x.0030P+12D,
-0x.0030P+12F,
-0x.0030P+12d,
-0x.0030P+12f,
-0x.0030P12,
-0x.0030P12D,
-0x.0030P12F,
-0x.0030P12d,
-0x.0030P12f,
-0x.0030p+12,
-0x.0030p+12D,
-0x.0030p+12F,
-0x.0030p+12d,
-0x.0030p+12f,
-0x.0030p12,
-0x.0030p12D,
-0x.0030p12F,
-0x.0030p12d,
-0x.0030p12f,
-0x.003P+12,
-0x.003P+12D,
-0x.003P+12F,
-0x.003P+12d,
-0x.003P+12f,
-0x.003P12,
-0x.003P12D,
-0x.003P12F,
-0x.003P12d,
-0x.003P12f,
-0x.003p+12,
-0x.003p+12D,
-0x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0.Cp2D,
-0x0.Cp2F,
-0x0.Cp2d,
-0x0.Cp2f,
-0x0.c0P+2,
-0x0.c0P+2D,
-0x0.c0P+2F,
-0x0.c0P+2d,
-0x0.c0P+2f,
-0x0.c0P2,
-0x0.c0P2D,
-0x0.c0P2F,
-0x0.c0P2d,
-0x0.c0P2f,
-0x0.c0p+2,
-0x0.c0p+2D,
-0x0.c0p+2F,
-0x0.c0p+2d,
-0x0.c0p+2f,
-0x0.c0p2,
-0x0.c0p2D,
-0x0.c0p2F,
-0x0.c0p2d,
-0x0.c0p2f,
-0x0.cP+2,
-0x0.cP+2D,
-0x0.cP+2F,
-0x0.cP+2d,
-0x0.cP+2f,
-0x0.cP2,
-0x0.cP2D,
-0x0.cP2F,
-0x0.cP2d,
-0x0.cP2f,
-0x0.cp+2,
-0x0.cp+2D,
-0x0.cp+2F,
-0x0.cp+2d,
-0x0.cp+2f,
-0x0.cp2,
-0x0.cp2D,
-0x0.cp2F,
-0x0.cp2d,
-0x0.cp2f,
-0x000000000.0030000000000P+12,
-0x000000000.0030000000000P+12D,
-0x000000000.0030000000000P+12F,
-0x000000000.0030000000000P+12d,
-0x000000000.0030000000000P+12f,
-0x000000000.0030000000000P12,
-0x000000000.0030000000000P12D,
-0x000000000.0030000000000P12F,
-0x000000000.0030000000000P12d,
-0x000000000.0030000000000P12f,
-0x000000000.0030000000000p+12,
-0x000000000.0030000000000p+12D,
-0x000000000.0030000000000p+12F,
-0x000000000.0030000000000p+12d,
-0x000000000.0030000000000p+12f,
-0x000000000.0030000000000p12,
-0x000000000.0030000000000p12D,
-0x000000000.0030000000000p12F,
-0x000000000.0030000000000p12d,
-0x000000000.0030000000000p12f,
-0x00003P+0,
-0x00003P+0D,
-0x00003P+0F,
-0x00003P+0d,
-0x00003P+0f,
-0x00003P-0,
-0x00003P-0D,
-0x00003P-0F,
-0x00003P-0d,
-0x00003P-0f,
-0x00003P0,
-0x00003P0D,
-0x00003P0F,
-0x00003P0d,
-0x00003P0f,
-0x00003p+0,
-0x00003p+0D,
-0x00003p+0F,
-0x00003p+0d,
-0x00003p+0f,
-0x00003p-0,
-0x00003p-0D,
-0x00003p-0F,
-0x00003p-0d,
-0x00003p-0f,
-0x00003p0,
-0x00003p0D,
-0x00003p0F,
-0x00003p0d,
-0x00003p0f,
-0x0003.P+0,
-0x0003.P+0D,
-0x0003.P+0F,
-0x0003.P+0d,
-0x0003.P+0f,
-0x0003.P-0,
-0x0003.P-0D,
-0x0003.P-0F,
-0x0003.P-0d,
-0x0003.P-0f,
-0x0003.P0,
-0x0003.P0D,
-0x0003.P0F,
-0x0003.P0d,
-0x0003.P0f,
-0x0003.p+0,
-0x0003.p+0D,
-0x0003.p+0F,
-0x0003.p+0d,
-0x0003.p+0f,
-0x0003.p-0,
-0x0003.p-0D,
-0x0003.p-0F,
-0x0003.p-0d,
-0x0003.p-0f,
-0x0003.p0,
-0x0003.p0D,
-0x0003.p0F,
-0x0003.p0d,
-0x0003.p0f,
-0x0003P+0,
-0x0003P+0D,
-0x0003P+0F,
-0x0003P+0d,
-0x0003P+0f,
-0x0003P-0,
-0x0003P-0D,
-0x0003P-0F,
-0x0003P-0d,
-0x0003P-0f,
-0x0003P0,
-0x0003P0D,
-0x0003P0F,
-0x0003P0d,
-0x0003P0f,
-0x0003p+0,
-0x0003p+0D,
-0x0003p+0F,
-0x0003p+0d,
-0x0003p+0f,
-0x0003p-0,
-0x0003p-0D,
-0x0003p-0F,
-0x0003p-0d,
-0x0003p-0f,
-0x0003p0,
-0x0003p0D,
-0x0003p0F,
-0x0003p0d,
-0x0003p0f,
-0x01.80P+1,
-0x01.80P+1D,
-0x01.80P+1F,
-0x01.80P+1d,
-0x01.80P+1f,
-0x01.80P1,
-0x01.80P1D,
-0x01.80P1F,
-0x01.80P1d,
-0x01.80P1f,
-0x01.80p+1,
-0x01.80p+1D,
-0x01.80p+1F,
-0x01.80p+1d,
-0x01.80p+1f,
-0x01.80p1,
-0x01.80p1D,
-0x01.80p1F,
-0x01.80p1d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x3.000000P-0f,
-0x3.000000P0,
-0x3.000000P0D,
-0x3.000000P0F,
-0x3.000000P0d,
-0x3.000000P0f,
-0x3.000000p+0,
-0x3.000000p+0D,
-0x3.000000p+0F,
-0x3.000000p+0d,
-0x3.000000p+0f,
-0x3.000000p-0,
-0x3.000000p-0D,
-0x3.000000p-0F,
-0x3.000000p-0d,
-0x3.000000p-0f,
-0x3.000000p0,
-0x3.000000p0D,
-0x3.000000p0F,
-0x3.000000p0d,
-0x3.000000p0f,
-0x3.0P+0,
-0x3.0P+0D,
-0x3.0P+0F,
-0x3.0P+0d,
-0x3.0P+0f,
-0x3.0P-0,
-0x3.0P-0D,
-0x3.0P-0F,
-0x3.0P-0d,
-0x3.0P-0f,
-0x3.0P0,
-0x3.0P0D,
-0x3.0P0F,
-0x3.0P0d,
-0x3.0P0f,
-0x3.0p+0,
-0x3.0p+0D,
-0x3.0p+0F,
-0x3.0p+0d,
-0x3.0p+0f,
-0x3.0p-0,
-0x3.0p-0D,
-0x3.0p-0F,
-0x3.0p-0d,
-0x3.0p-0f,
-0x3.0p0,
-0x3.0p0D,
-0x3.0p0F,
-0x3.0p0d,
-0x3.0p0f,
-0x3.P+0,
-0x3.P+0D,
-0x3.P+0F,
-0x3.P+0d,
-0x3.P+0f,
-0x3.P-0,
-0x3.P-0D,
-0x3.P-0F,
-0x3.P-0d,
-0x3.P-0f,
-0x3.P0,
-0x3.P0D,
-0x3.P0F,
-0x3.P0d,
-0x3.P0f,
-0x3.p+0,
-0x3.p+0D,
-0x3.p+0F,
-0x3.p+0d,
-0x3.p+0f,
-0x3.p-0,
-0x3.p-0D,
-0x3.p-0F,
-0x3.p-0d,
-0x3.p-0f,
-0x3.p0,
-0x3.p0D,
-0x3.p0F,
-0x3.p0d,
-0x3.p0f,
-0x3000000.0000P-24,
-0x3000000.0000P-24D,
-0x3000000.0000P-24F,
-0x3000000.0000P-24d,
-0x3000000.0000P-24f,
-0x3000000.0000p-24,
-0x3000000.0000p-24D,
-0x3000000.0000p-24F,
-0x3000000.0000p-24d,
-0x3000000.0000p-24f,
-0x3000000.P-24,
-0x3000000.P-24D,
-0x3000000.P-24F,
-0x3000000.P-24d,
-0x3000000.P-24f,
-0x3000000.p-24,
-0x3000000.p-24D,
-0x3000000.p-24F,
-0x3000000.p-24d,
-0x3000000.p-24f,
-0x3000000P-24,
-0x3000000P-24D,
-0x3000000P-24F,
-0x3000000P-24d,
-0x3000000P-24f,
-0x3000000p-24,
-0x3000000p-24D,
-0x3000000p-24F,
-0x3000000p-24d,
-0x3000000p-24f,
-0x3P+0,
-0x3P+0D,
-0x3P+0F,
-0x3P+0d,
-0x3P+0f,
-0x3P-0,
-0x3P-0D,
-0x3P-0F,
-0x3P-0d,
-0x3P-0f,
-0x3P0,
-0x3P0D,
-0x3P0F,
-0x3P0d,
-0x3P0f,
-0x3p+0,
-0x3p+0D,
-0x3p+0F,
-0x3p+0d,
-0x3p+0f,
-0x3p-0,
-0x3p-0D,
-0x3p-0F,
-0x3p-0d,
-0x3p-0f,
-0x3p0,
-0x3p0D,
-0x3p0F,
-0x3p0d,
-0x3p0f,
-0xC.0P-2,
-0xC.0P-2D,
-0xC.0P-2F,
-0xC.0P-2d,
-0xC.0P-2f,
-0xC.0p-2,
-0xC.0p-2D,
-0xC.0p-2F,
-0xC.0p-2d,
-0xC.0p-2f,
-0xC.P-2,
-0xC.P-2D,
-0xC.P-2F,
-0xC.P-2d,
-0xC.P-2f,
-0xC.p-2,
-0xC.p-2D,
-0xC.p-2F,
-0xC.p-2d,
-0xC.p-2f,
-0xCP-2,
-0xCP-2D,
-0xCP-2F,
-0xCP-2d,
-0xCP-2f,
-0xCp-2,
-0xCp-2D,
-0xCp-2F,
-0xCp-2d,
-0xCp-2f,
-0xc.0P-2,
-0xc.0P-2D,
-0xc.0P-2F,
-0xc.0P-2d,
-0xc.0P-2f,
-0xc.0p-2,
-0xc.0p-2D,
-0xc.0p-2F,
-0xc.0p-2d,
-0xc.0p-2f,
-0xc.P-2,
-0xc.P-2D,
-0xc.P-2F,
-0xc.P-2d,
-0xc.P-2f,
-0xc.p-2,
-0xc.p-2D,
-0xc.p-2F,
-0xc.p-2d,
-0xc.p-2f,
-0xcP-2,
-0xcP-2D,
-0xcP-2F,
-0xcP-2d,
-0xcP-2f,
-0xcp-2,
-0xcp-2D,
-0xcp-2F,
-0xcp-2d,
-0xcp-2f,
0X.0030000000000P+12,
0X.0030000000000P+12D,
0X.0030000000000P+12F,
0X.0030000000000P+12d,
0X.0030000000000P+12f,
0X.0030000000000P12,
0X.0030000000000P12D,
0X.0030000000000P12F,
0X.0030000000000P12d,
0X.0030000000000P12f,
0X.0030000000000p+12,
0X.0030000000000p+12D,
0X.0030000000000p+12F,
0X.0030000000000p+12d,
0X.0030000000000p+12f,
0X.0030000000000p12,
0X.0030000000000p12D,
0X.0030000000000p12F,
0X.0030000000000p12d,
0X.0030000000000p12f,
0X.0030P+12,
0X.0030P+12D,
0X.0030P+12F,
0X.0030P+12d,
0X.0030P+12f,
0X.0030P12,
0X.0030P12D,
0X.0030P12F,
0X.0030P12d,
0X.0030P12f,
0X.0030p+12,
0X.0030p+12D,
0X.0030p+12F,
0X.0030p+12d,
0X.0030p+12f,
0X.0030p12,
0X.0030p12D,
0X.0030p12F,
0X.0030p12d,
0X.0030p12f,
0X.003P+12,
0X.003P+12D,
0X.003P+12F,
0X.003P+12d,
0X.003P+12f,
0X.003P12,
0X.003P12D,
0X.003P12F,
0X.003P12d,
0X.003P12f,
0X.003p+12,
0X.003p+12D,
0X.003p+12F,
0X.003p+12d,
0X.003p+12f,
0X.003p12,
0X.003p12D,
0X.003p12F,
0X.003p12d,
0X.003p12f,
0X.3P+4,
0X.3P+4D,
0X.3P+4F,
0X.3P+4d,
0X.3P+4f,
0X.3P4,
0X.3P4D,
0X.3P4F,
0X.3P4d,
0X.3P4f,
0X.3p+4,
0X.3p+4D,
0X.3p+4F,
0X.3p+4d,
0X.3p+4f,
0X.3p4,
0X.3p4D,
0X.3p4F,
0X.3p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cp2,
0X0.cp2D,
0X0.cp2F,
0X0.cp2d,
0X0.cp2f,
0X000000000.0030000000000P+12,
0X000000000.0030000000000P+12D,
0X000000000.0030000000000P+12F,
0X000000000.0030000000000P+12d,
0X000000000.0030000000000P+12f,
0X000000000.0030000000000P12,
0X000000000.0030000000000P12D,
0X000000000.0030000000000P12F,
0X000000000.0030000000000P12d,
0X000000000.0030000000000P12f,
0X000000000.0030000000000p+12,
0X000000000.0030000000000p+12D,
0X000000000.0030000000000p+12F,
0X000000000.0030000000000p+12d,
0X000000000.0030000000000p+12f,
0X000000000.0030000000000p12,
0X000000000.0030000000000p12D,
0X000000000.0030000000000p12F,
0X000000000.0030000000000p12d,
0X000000000.0030000000000p12f,
0X00003P+0,
0X00003P+0D,
0X00003P+0F,
0X00003P+0d,
0X00003P+0f,
0X00003P-0,
0X00003P-0D,
0X00003P-0F,
0X00003P-0d,
0X00003P-0f,
0X00003P0,
0X00003P0D,
0X00003P0F,
0X00003P0d,
0X00003P0f,
0X00003p+0,
0X00003p+0D,
0X00003p+0F,
0X00003p+0d,
0X00003p+0f,
0X00003p-0,
0X00003p-0D,
0X00003p-0F,
0X00003p-0d,
0X00003p-0f,
0X00003p0,
0X00003p0D,
0X00003p0F,
0X00003p0d,
0X00003p0f,
0X0003.P+0,
0X0003.P+0D,
0X0003.P+0F,
0X0003.P+0d,
0X0003.P+0f,
0X0003.P-0,
0X0003.P-0D,
0X0003.P-0F,
0X0003.P-0d,
0X0003.P-0f,
0X0003.P0,
0X0003.P0D,
0X0003.P0F,
0X0003.P0d,
0X0003.P0f,
0X0003.p+0,
0X0003.p+0D,
0X0003.p+0F,
0X0003.p+0d,
0X0003.p+0f,
0X0003.p-0,
0X0003.p-0D,
0X0003.p-0F,
0X0003.p-0d,
0X0003.p-0f,
0X0003.p0,
0X0003.p0D,
0X0003.p0F,
0X0003.p0d,
0X0003.p0f,
0X0003P+0,
0X0003P+0D,
0X0003P+0F,
0X0003P+0d,
0X0003P+0f,
0X0003P-0,
0X0003P-0D,
0X0003P-0F,
0X0003P-0d,
0X0003P-0f,
0X0003P0,
0X0003P0D,
0X0003P0F,
0X0003P0d,
0X0003P0f,
0X0003p+0,
0X0003p+0D,
0X0003p+0F,
0X0003p+0d,
0X0003p+0f,
0X0003p-0,
0X0003p-0D,
0X0003p-0F,
0X0003p-0d,
0X0003p-0f,
0X0003p0,
0X0003p0D,
0X0003p0F,
0X0003p0d,
0X0003p0f,
0X01.80P+1,
0X01.80P+1D,
0X01.80P+1F,
0X01.80P+1d,
0X01.80P+1f,
0X01.80P1,
0X01.80P1D,
0X01.80P1F,
0X01.80P1d,
0X01.80P1f,
0X01.80p+1,
0X01.80p+1D,
0X01.80p+1F,
0X01.80p+1d,
0X01.80p+1f,
0X01.80p1,
0X01.80p1D,
0X01.80p1F,
0X01.80p1d,
0X01.80p1f,
0X01.8P+1,
0X01.8P+1D,
0X01.8P+1F,
0X01.8P+1d,
0X01.8P+1f,
0X01.8P1,
0X01.8P1D,
0X01.8P1F,
0X01.8P1d,
0X01.8P1f,
0X01.8p+1,
0X01.8p+1D,
0X01.8p+1F,
0X01.8p+1d,
0X01.8p+1f,
0X01.8p1,
0X01.8p1D,
0X01.8p1F,
0X01.8p1d,
0X01.8p1f,
0X1.80P+1,
0X1.80P+1D,
0X1.80P+1F,
0X1.80P+1d,
0X1.80P+1f,
0X1.80P1,
0X1.80P1D,
0X1.80P1F,
0X1.80P1d,
0X1.80P1f,
0X1.80p+1,
0X1.80p+1D,
0X1.80p+1F,
0X1.80p+1d,
0X1.80p+1f,
0X1.80p1,
0X1.80p1D,
0X1.80p1F,
0X1.80p1d,
0X1.80p1f,
0X1.8P+1,
0X1.8P+1D,
0X1.8P+1F,
0X1.8P+1d,
0X1.8P+1f,
0X1.8P1,
0X1.8P1D,
0X1.8P1F,
0X1.8P1d,
0X1.8P1f,
0X1.8p+1,
0X1.8p+1D,
0X1.8p+1F,
0X1.8p+1d,
0X1.8p+1f,
0X1.8p1,
0X1.8p1D,
0X1.8p1F,
0X1.8p1d,
0X1.8p1f,
0X18.0P-3,
0X18.0P-3D,
0X18.0P-3F,
0X18.0P-3d,
0X18.0P-3f,
0X18.0p-3,
0X18.0p-3D,
0X18.0p-3F,
0X18.0p-3d,
0X18.0p-3f,
0X18P-3,
0X18P-3D,
0X18P-3F,
0X18P-3d,
0X18P-3f,
0X18p-3,
0X18p-3D,
0X18p-3F,
0X18p-3d,
0X18p-3f,
0X3.000000P+0,
0X3.000000P+0D,
0X3.000000P+0F,
0X3.000000P+0d,
0X3.000000P+0f,
0X3.000000P-0,
0X3.000000P-0D,
0X3.000000P-0F,
0X3.000000P-0d,
0X3.000000P-0f,
0X3.000000P0,
0X3.000000P0D,
0X3.000000P0F,
0X3.000000P0d,
0X3.000000P0f,
0X3.000000p+0,
0X3.000000p+0D,
0X3.000000p+0F,
0X3.000000p+0d,
0X3.000000p+0f,
0X3.000000p-0,
0X3.000000p-0D,
0X3.000000p-0F,
0X3.000000p-0d,
0X3.000000p-0f,
0X3.000000p0,
0X3.000000p0D,
0X3.000000p0F,
0X3.000000p0d,
0X3.000000p0f,
0X3.0P+0,
0X3.0P+0D,
0X3.0P+0F,
0X3.0P+0d,
0X3.0P+0f,
0X3.0P-0,
0X3.0P-0D,
0X3.0P-0F,
0X3.0P-0d,
0X3.0P-0f,
0X3.0P0,
0X3.0P0D,
0X3.0P0F,
0X3.0P0d,
0X3.0P0f,
0X3.0p+0,
0X3.0p+0D,
0X3.0p+0F,
0X3.0p+0d,
0X3.0p+0f,
0X3.0p-0,
0X3.0p-0D,
0X3.0p-0F,
0X3.0p-0d,
0X3.0p-0f,
0X3.0p0,
0X3.0p0D,
0X3.0p0F,
0X3.0p0d,
0X3.0p0f,
0X3.P+0,
0X3.P+0D,
0X3.P+0F,
0X3.P+0d,
0X3.P+0f,
0X3.P-0,
0X3.P-0D,
0X3.P-0F,
0X3.P-0d,
0X3.P-0f,
0X3.P0,
0X3.P0D,
0X3.P0F,
0X3.P0d,
0X3.P0f,
0X3.p+0,
0X3.p+0D,
0X3.p+0F,
0X3.p+0d,
0X3.p+0f,
0X3.p-0,
0X3.p-0D,
0X3.p-0F,
0X3.p-0d,
0X3.p-0f,
0X3.p0,
0X3.p0D,
0X3.p0F,
0X3.p0d,
0X3.p0f,
0X3000000.0000P-24,
0X3000000.0000P-24D,
0X3000000.0000P-24F,
0X3000000.0000P-24d,
0X3000000.0000P-24f,
0X3000000.0000p-24,
0X3000000.0000p-24D,
0X3000000.0000p-24F,
0X3000000.0000p-24d,
0X3000000.0000p-24f,
0X3000000.P-24,
0X3000000.P-24D,
0X3000000.P-24F,
0X3000000.P-24d,
0X3000000.P-24f,
0X3000000.p-24,
0X3000000.p-24D,
0X3000000.p-24F,
0X3000000.p-24d,
0X3000000.p-24f,
0X3000000P-24,
0X3000000P-24D,
0X3000000P-24F,
0X3000000P-24d,
0X3000000P-24f,
0X3000000p-24,
0X3000000p-24D,
0X3000000p-24F,
0X3000000p-24d,
0X3000000p-24f,
0X3P+0,
0X3P+0D,
0X3P+0F,
0X3P+0d,
0X3P+0f,
0X3P-0,
0X3P-0D,
0X3P-0F,
0X3P-0d,
0X3P-0f,
0X3P0,
0X3P0D,
0X3P0F,
0X3P0d,
0X3P0f,
0X3p+0,
0X3p+0D,
0X3p+0F,
0X3p+0d,
0X3p+0f,
0X3p-0,
0X3p-0D,
0X3p-0F,
0X3p-0d,
0X3p-0f,
0X3p0,
0X3p0D,
0X3p0F,
0X3p0d,
0X3p0f,
0XC.0P-2,
0XC.0P-2D,
0XC.0P-2F,
0XC.0P-2d,
0XC.0P-2f,
0XC.0p-2,
0XC.0p-2D,
0XC.0p-2F,
0XC.0p-2d,
0XC.0p-2f,
0XC.P-2,
0XC.P-2D,
0XC.P-2F,
0XC.P-2d,
0XC.P-2f,
0XC.p-2,
0XC.p-2D,
0XC.p-2F,
0XC.p-2d,
0XC.p-2f,
0XCP-2,
0XCP-2D,
0XCP-2F,
0XCP-2d,
0XCP-2f,
0XCp-2,
0XCp-2D,
0XCp-2F,
0XCp-2d,
0XCp-2f,
0Xc.0P-2,
0Xc.0P-2D,
0Xc.0P-2F,
0Xc.0P-2d,
0Xc.0P-2f,
0Xc.0p-2,
0Xc.0p-2D,
0Xc.0p-2F,
0Xc.0p-2d,
0Xc.0p-2f,
0Xc.P-2,
0Xc.P-2D,
0Xc.P-2F,
0Xc.P-2d,
0Xc.P-2f,
0Xc.p-2,
0Xc.p-2D,
0Xc.p-2F,
0Xc.p-2d,
0Xc.p-2f,
0XcP-2,
0XcP-2D,
0XcP-2F,
0XcP-2d,
0XcP-2f,
0Xcp-2,
0Xcp-2D,
0Xcp-2F,
0Xcp-2d,
0Xcp-2f,
0x.0030000000000P+12,
0x.0030000000000P+12D,
0x.0030000000000P+12F,
0x.0030000000000P+12d,
0x.0030000000000P+12f,
0x.0030000000000P12,
0x.0030000000000P12D,
0x.0030000000000P12F,
0x.0030000000000P12d,
0x.0030000000000P12f,
0x.0030000000000p+12,
0x.0030000000000p+12D,
0x.0030000000000p+12F,
0x.0030000000000p+12d,
0x.0030000000000p+12f,
0x.0030000000000p12,
0x.0030000000000p12D,
0x.0030000000000p12F,
0x.0030000000000p12d,
0x.0030000000000p12f,
0x.0030P+12,
0x.0030P+12D,
0x.0030P+12F,
0x.0030P+12d,
0x.0030P+12f,
0x.0030P12,
0x.0030P12D,
0x.0030P12F,
0x.0030P12d,
0x.0030P12f,
0x.0030p+12,
0x.0030p+12D,
0x.0030p+12F,
0x.0030p+12d,
0x.0030p+12f,
0x.0030p12,
0x.0030p12D,
0x.0030p12F,
0x.0030p12d,
0x.0030p12f,
0x.003P+12,
0x.003P+12D,
0x.003P+12F,
0x.003P+12d,
0x.003P+12f,
0x.003P12,
0x.003P12D,
0x.003P12F,
0x.003P12d,
0x.003P12f,
0x.003p+12,
0x.003p+12D,
0x.003p+12F,
0x.003p+12d,
0x.003p+12f,
0x.003p12,
0x.003p12D,
0x.003p12F,
0x.003p12d,
0x.003p12f,
0x.3P+4,
0x.3P+4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cP+2,
0x0.cP+2D,
0x0.cP+2F,
0x0.cP+2d,
0x0.cP+2f,
0x0.cP2,
0x0.cP2D,
0x0.cP2F,
0x0.cP2d,
0x0.cP2f,
0x0.cp+2,
0x0.cp+2D,
0x0.cp+2F,
0x0.cp+2d,
0x0.cp+2f,
0x0.cp2,
0x0.cp2D,
0x0.cp2F,
0x0.cp2d,
0x0.cp2f,
0x000000000.0030000000000P+12,
0x000000000.0030000000000P+12D,
0x000000000.0030000000000P+12F,
0x000000000.0030000000000P+12d,
0x000000000.0030000000000P+12f,
0x000000000.0030000000000P12,
0x000000000.0030000000000P12D,
0x000000000.0030000000000P12F,
0x000000000.0030000000000P12d,
0x000000000.0030000000000P12f,
0x000000000.0030000000000p+12,
0x000000000.0030000000000p+12D,
0x000000000.0030000000000p+12F,
0x000000000.0030000000000p+12d,
0x000000000.0030000000000p+12f,
0x000000000.0030000000000p12,
0x000000000.0030000000000p12D,
0x000000000.0030000000000p12F,
0x000000000.0030000000000p12d,
0x000000000.0030000000000p12f,
0x00003P+0,
0x00003P+0D,
0x00003P+0F,
0x00003P+0d,
0x00003P+0f,
0x00003P-0,
0x00003P-0D,
0x00003P-0F,
0x00003P-0d,
0x00003P-0f,
0x00003P0,
0x00003P0D,
0x00003P0F,
0x00003P0d,
0x00003P0f,
0x00003p+0,
0x00003p+0D,
0x00003p+0F,
0x00003p+0d,
0x00003p+0f,
0x00003p-0,
0x00003p-0D,
0x00003p-0F,
0x00003p-0d,
0x00003p-0f,
0x00003p0,
0x00003p0D,
0x00003p0F,
0x00003p0d,
0x00003p0f,
0x0003.P+0,
0x0003.P+0D,
0x0003.P+0F,
0x0003.P+0d,
0x0003.P+0f,
0x0003.P-0,
0x0003.P-0D,
0x0003.P-0F,
0x0003.P-0d,
0x0003.P-0f,
0x0003.P0,
0x0003.P0D,
0x0003.P0F,
0x0003.P0d,
0x0003.P0f,
0x0003.p+0,
0x0003.p+0D,
0x0003.p+0F,
0x0003.p+0d,
0x0003.p+0f,
0x0003.p-0,
0x0003.p-0D,
0x0003.p-0F,
0x0003.p-0d,
0x0003.p-0f,
0x0003.p0,
0x0003.p0D,
0x0003.p0F,
0x0003.p0d,
0x0003.p0f,
0x0003P+0,
0x0003P+0D,
0x0003P+0F,
0x0003P+0d,
0x0003P+0f,
0x0003P-0,
0x0003P-0D,
0x0003P-0F,
0x0003P-0d,
0x0003P-0f,
0x0003P0,
0x0003P0D,
0x0003P0F,
0x0003P0d,
0x0003P0f,
0x0003p+0,
0x0003p+0D,
0x0003p+0F,
0x0003p+0d,
0x0003p+0f,
0x0003p-0,
0x0003p-0D,
0x0003p-0F,
0x0003p-0d,
0x0003p-0f,
0x0003p0,
0x0003p0D,
0x0003p0F,
0x0003p0d,
0x0003p0f,
0x01.80P+1,
0x01.80P+1D,
0x01.80P+1F,
0x01.80P+1d,
0x01.80P+1f,
0x01.80P1,
0x01.80P1D,
0x01.80P1F,
0x01.80P1d,
0x01.80P1f,
0x01.80p+1,
0x01.80p+1D,
0x01.80p+1F,
0x01.80p+1d,
0x01.80p+1f,
0x01.80p1,
0x01.80p1D,
0x01.80p1F,
0x01.80p1d,
0x01.80p1f,
0x01.8P+1,
0x01.8P+1D,
0x01.8P+1F,
0x01.8P+1d,
0x01.8P+1f,
0x01.8P1,
0x01.8P1D,
0x01.8P1F,
0x01.8P1d,
0x01.8P1f,
0x01.8p+1,
0x01.8p+1D,
0x01.8p+1F,
0x01.8p+1d,
0x01.8p+1f,
0x01.8p1,
0x01.8p1D,
0x01.8p1F,
0x01.8p1d,
0x01.8p1f,
0x1.80P+1,
0x1.80P+1D,
0x1.80P+1F,
0x1.80P+1d,
0x1.80P+1f,
0x1.80P1,
0x1.80P1D,
0x1.80P1F,
0x1.80P1d,
0x1.80P1f,
0x1.80p+1,
0x1.80p+1D,
0x1.80p+1F,
0x1.80p+1d,
0x1.80p+1f,
0x1.80p1,
0x1.80p1D,
0x1.80p1F,
0x1.80p1d,
0x1.80p1f,
0x1.8P+1,
0x1.8P+1D,
0x1.8P+1F,
0x1.8P+1d,
0x1.8P+1f,
0x1.8P1,
0x1.8P1D,
0x1.8P1F,
0x1.8P1d,
0x1.8P1f,
0x1.8p+1,
0x1.8p+1D,
0x1.8p+1F,
0x1.8p+1d,
0x1.8p+1f,
0x1.8p1,
0x1.8p1D,
0x1.8p1F,
0x1.8p1d,
0x1.8p1f,
0x18.0P-3,
0x18.0P-3D,
0x18.0P-3F,
0x18.0P-3d,
0x18.0P-3f,
0x18.0p-3,
0x18.0p-3D,
0x18.0p-3F,
0x18.0p-3d,
0x18.0p-3f,
0x18P-3,
0x18P-3D,
0x18P-3F,
0x18P-3d,
0x18P-3f,
0x18p-3,
0x18p-3D,
0x18p-3F,
0x18p-3d,
0x18p-3f,
0x3.000000P+0,
0x3.000000P+0D,
0x3.000000P+0F,
0x3.000000P+0d,
0x3.000000P+0f,
0x3.000000P-0,
0x3.000000P-0D,
0x3.000000P-0F,
0x3.000000P-0d,
0x3.000000P-0f,
0x3.000000P0,
0x3.000000P0D,
0x3.000000P0F,
0x3.000000P0d,
0x3.000000P0f,
0x3.000000p+0,
0x3.000000p+0D,
0x3.000000p+0F,
0x3.000000p+0d,
0x3.000000p+0f,
0x3.000000p-0,
0x3.000000p-0D,
0x3.000000p-0F,
0x3.000000p-0d,
0x3.000000p-0f,
0x3.000000p0,
0x3.000000p0D,
0x3.000000p0F,
0x3.000000p0d,
0x3.000000p0f,
0x3.0P+0,
0x3.0P+0D,
0x3.0P+0F,
0x3.0P+0d,
0x3.0P+0f,
0x3.0P-0,
0x3.0P-0D,
0x3.0P-0F,
0x3.0P-0d,
0x3.0P-0f,
0x3.0P0,
0x3.0P0D,
0x3.0P0F,
0x3.0P0d,
0x3.0P0f,
0x3.0p+0,
0x3.0p+0D,
0x3.0p+0F,
0x3.0p+0d,
0x3.0p+0f,
0x3.0p-0,
0x3.0p-0D,
0x3.0p-0F,
0x3.0p-0d,
0x3.0p-0f,
0x3.0p0,
0x3.0p0D,
0x3.0p0F,
0x3.0p0d,
0x3.0p0f,
0x3.P+0,
0x3.P+0D,
0x3.P+0F,
0x3.P+0d,
0x3.P+0f,
0x3.P-0,
0x3.P-0D,
0x3.P-0F,
0x3.P-0d,
0x3.P-0f,
0x3.P0,
0x3.P0D,
0x3.P0F,
0x3.P0d,
0x3.P0f,
0x3.p+0,
0x3.p+0D,
0x3.p+0F,
0x3.p+0d,
0x3.p+0f,
0x3.p-0,
0x3.p-0D,
0x3.p-0F,
0x3.p-0d,
0x3.p-0f,
0x3.p0,
0x3.p0D,
0x3.p0F,
0x3.p0d,
0x3.p0f,
0x3000000.0000P-24,
0x3000000.0000P-24D,
0x3000000.0000P-24F,
0x3000000.0000P-24d,
0x3000000.0000P-24f,
0x3000000.0000p-24,
0x3000000.0000p-24D,
0x3000000.0000p-24F,
0x3000000.0000p-24d,
0x3000000.0000p-24f,
0x3000000.P-24,
0x3000000.P-24D,
0x3000000.P-24F,
0x3000000.P-24d,
0x3000000.P-24f,
0x3000000.p-24,
0x3000000.p-24D,
0x3000000.p-24F,
0x3000000.p-24d,
0x3000000.p-24f,
0x3000000P-24,
0x3000000P-24D,
0x3000000P-24F,
0x3000000P-24d,
0x3000000P-24f,
0x3000000p-24,
0x3000000p-24D,
0x3000000p-24F,
0x3000000p-24d,
0x3000000p-24f,
0x3P+0,
0x3P+0D,
0x3P+0F,
0x3P+0d,
0x3P+0f,
0x3P-0,
0x3P-0D,
0x3P-0F,
0x3P-0d,
0x3P-0f,
0x3P0,
0x3P0D,
0x3P0F,
0x3P0d,
0x3P0f,
0x3p+0,
0x3p+0D,
0x3p+0F,
0x3p+0d,
0x3p+0f,
0x3p-0,
0x3p-0D,
0x3p-0F,
0x3p-0d,
0x3p-0f,
0x3p0,
0x3p0D,
0x3p0F,
0x3p0d,
0x3p0f,
0xC.0P-2,
0xC.0P-2D,
0xC.0P-2F,
0xC.0P-2d,
0xC.0P-2f,
0xC.0p-2,
0xC.0p-2D,
0xC.0p-2F,
0xC.0p-2d,
0xC.0p-2f,
0xC.P-2,
0xC.P-2D,
0xC.P-2F,
0xC.P-2d,
0xC.P-2f,
0xC.p-2,
0xC.p-2D,
0xC.p-2F,
0xC.p-2d,
0xC.p-2f,
0xCP-2,
0xCP-2D,
0xCP-2F,
0xCP-2d,
0xCP-2f,
0xCp-2,
0xCp-2D,
0xCp-2F,
0xCp-2d,
0xCp-2f,
0xc.0P-2,
0xc.0P-2D,
0xc.0P-2F,
0xc.0P-2d,
0xc.0P-2f,
0xc.0p-2,
0xc.0p-2D,
0xc.0p-2F,
0xc.0p-2d,
0xc.0p-2f,
0xc.P-2,
0xc.P-2D,
0xc.P-2F,
0xc.P-2d,
0xc.P-2f,
0xc.p-2,
0xc.p-2D,
0xc.p-2F,
0xc.p-2d,
0xc.p-2f,
0xcP-2,
0xcP-2D,
0xcP-2F,
0xcP-2d,
0xcP-2f,
0xcp-2,
0xcp-2D,
0xcp-2F,
0xcp-2d,
0xcp-2f,
};
for(int i = 0; i < testValues.length; i++) {
double d = testValues[i];
if (Math.abs(d) != 3.0)
throw new RuntimeException("Bad value for literal at index " +
i + "." );
}
}
}
| 105,741 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6534287.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6534287.java | /*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import java.io.*;
/*
* @test
* @bug 6534287
* @summary empty arg caused a StringIndexOutOfBoundsException
*/
public class T6534287 {
public static void main(String... args) throws Exception {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
com.sun.tools.javac.Main.compile(new String[] { "" }, pw);
pw.close();
sw.close();
String output = sw.toString();
System.err.println("output from javac: ");
System.err.println(output);
if (output.indexOf("Exception") != -1)
throw new Exception("exception in output from javac");
}
}
| 1,700 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Object1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Object1.java | /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4091755
* @summary java.lang.Object can't be redefined without crashing javac
* @author gafter
*
* @compile/fail Object1.java
*/
package java.lang;
class Object extends Throwable {
public final native Class getClass();
public native int hashCode();
public native boolean equals(Object obj);
protected native Object clone() throws CloneNotSupportedException;
public native String toString();
public final native void notify();
public final native void notifyAll();
public final native void wait(long timeout) throws InterruptedException;
public native final void wait(long timeout, int nanos) throws InterruptedException;
public native final void wait() throws InterruptedException;
protected void finalize() throws Throwable { }
}
| 1,853 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
AnonStaticMember_2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/AnonStaticMember_2.java | /*
* @test /nodynamiccopyright/
* @bug 4279339 6969184
* @summary Verify that an anonymous class cannot contain a static method.
* @author maddox
*
* @run compile/fail/ref=AnonStaticMember_2.out -XDrawDiagnostics AnonStaticMember_2.java
*/
class AnonStaticMember_2 {
Object x = new Object() {
static void test() {}
};
}
| 345 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ThrowsIntersection_2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ThrowsIntersection_2.java | /*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4042259
* @summary Check that a class can inherit multiple methods with conflicting throws clauses.
* @author maddox
*
* @compile ThrowsIntersection_2.java
*/
package ThrowsIntersection_2;
class Ex1 extends Exception {}
class Ex2 extends Exception {}
class Ex3 extends Exception {}
interface a {
int m1() throws Ex1, Ex3;
}
interface b {
int m1() throws Ex3, Ex2;
}
// Either order should work
abstract class c1 implements a, b {}
abstract class c2 implements b, a {}
class d extends c1 {
public int m1() throws Ex3 {
return 1;
}
}
class e extends c2 {
public int m1() throws Ex3 {
return 1;
}
}
| 1,707 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T7042623.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T7042623.java | /*
* @test /nodynamiccopyright/
* @bug 7042623
* @summary Regression: javac silently crash when attributing non-existent annotation
* @compile/fail/ref=T7042623.out -XDrawDiagnostics -XDdev T7042623.java
*/
@interface Defined2 {}
@Undefined1(@Defined2)
class Test1{}
| 275 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6855236.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6855236.java | /*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6855236
* @summary Compiler Tree API TreePath class generates NullPointerException from Iterator
* @compile T6855236.java
* @compile -processor T6855236 -proc:only T6855236.java
*/
import java.util.*;
import javax.annotation.processing.*;
import javax.lang.model.*;
import javax.lang.model.element.*;
import com.sun.source.tree.*;
import com.sun.source.util.*;
@SupportedAnnotationTypes("*")
public class T6855236 extends AbstractProcessor {
private Trees trees;
@Override
public void init(ProcessingEnvironment pe) {
super.init(pe);
trees = Trees.instance(pe);
}
@Override
public boolean process(Set<? extends TypeElement> arg0, RoundEnvironment roundEnvironment) {
// Scanner class to scan through various component elements
CodeVisitor visitor = new CodeVisitor();
for (Element e : roundEnvironment.getRootElements()) {
TreePath tp = trees.getPath(e);
visitor.scan(tp, trees);
}
return true;
}
@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.latest();
}
class CodeVisitor extends TreePathScanner<Object, Trees> {
@Override
public Object visitMethodInvocation(MethodInvocationTree node, Trees p) {
System.out.println("current path: ");
for (Tree t : getCurrentPath()) {
System.out.println(" " + t.getKind() + ": " + trim(t, 64));
}
System.out.println("parent path: " + getCurrentPath().getParentPath());
System.out.println("method select: " + node.getMethodSelect().toString());
for (ExpressionTree arg : node.getArguments()) {
System.out.println("argument: " + arg.toString());
}
return super.visitMethodInvocation(node, p);
}
@Override
public Object visitExpressionStatement(ExpressionStatementTree node, Trees p) {
ExpressionTree t = node.getExpression();
System.out.println();
System.out.println("expression statement: " + trim(t, 64));
return super.visitExpressionStatement(node, p);
}
}
private String trim(Tree t, int len) {
String s = t.toString().trim().replaceAll("\\s+", " ");
if (s.length() > len)
s = s.substring(0, len) + "...";
return s;
}
}
| 3,494 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ConditionalArgTypes_1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ConditionalArgTypes_1.java | /*
* Copyright (c) 2000, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4312781 4881179 4949543
* @summary Verify that both branches of a conditional expression must agree in type.
* @author maddox
*
* @compile/fail -source 1.4 ConditionalArgTypes_1.java
* @compile ConditionalArgTypes_1.java
*/
// This is the problematic case -- the controlling expression is a boolean constant.
class ConditionalArgTypes_1 {
public static void main (String [] args) {
System.out.println(true?0:false);
if((true?false:0)==(true?false:0));
}
}
| 1,583 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InterfaceObjectIncompatibility.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InterfaceObjectIncompatibility.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4479164
* @summary Throws clauses incompatible with Object methods allowed in interfaces
* @author gafter
*
* @compile/fail InterfaceObjectIncompatibility.java
*/
interface InterfaceObjectIncompatibility {
String toString() throws java.io.IOException;
int hashCode() throws Exception;
}
| 1,375 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InterfaceObjectInheritance.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InterfaceObjectInheritance.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4526026
* @summary javac allows access to interface members inherited protected from Object
* @author gafter
*
* @compile/fail InterfaceObjectInheritance.java
*/
interface InterfaceObjectInheritance {
class Inner {
static void bar(InterfaceObjectInheritance i) {
try {
// An inner class has access to any protected members, but
// according to JLS 9.2, an interface has no protected members,
// so this reference to finalize should not compile.
i.finalize();
} catch (Throwable t) {
}
}
}
}
| 1,693 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
FaultySignature.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/FaultySignature.java | /*
* Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4085633
* @summary javac used to pass the uplevel arguments into insideMember's
* constructor in the wrong order
* @author turnidge
*
* @compile FaultySignature.java
* @run main FaultySignature
*/
public
class FaultySignature {
void method() throws Exception {
final int value = 888;
class local {
local() throws Exception {
(new insideMember()).tester();
}
class insideMember {
void tester() throws Exception {
if (value != 888) {
throw new Exception("Signature is out of order.");
}
}
}
}
new local();
}
public static void main(String[] args) throws Exception {
(new FaultySignature()).method();
}
}
| 1,917 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
GoodCovar.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/GoodCovar.java | /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 5007379 5034529
* @summary multiple methods inheritence
* @author gafter
*
* @compile GoodCovar.java
*/
package good.covar;
interface A {
A f();
}
interface B {
B f();
}
class C {
public D f() { return null; }
}
class D extends C implements A, B {
// conflicting methods inherited from A, B, but no error required
// because they are overridden by the inherited method from C
}
| 1,477 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InnerMethSig.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InnerMethSig.java | /*
* Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4909550
* @summary 1.5 beta-b15 java compiler throws NPE
* @author gafter
*
* @compile InnerMethSig.java
*/
import javax.swing.text.html.*;
import javax.swing.text.*;
class InnerMethSig extends HTMLDocument {
public AbstractDocument.AbstractElement createDefaultRoot() {
return null;
}
}
| 1,383 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6379327.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6379327.java | /*
* Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6379327
* @summary Erroneous catch block not detected with anonymous class declaration
* @author Peter Jones, Wei Tao
* @compile/fail T6379327.java
*/
import java.security.*;
public class T6379327 {
public static void main(String[] args) {
final String name = args[0];
try {
new PrivilegedExceptionAction() {
public Object run() throws ClassNotFoundException {
return Class.forName(name);
}
};
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
}
}
| 1,668 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
EarlyAssertWrapper.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/EarlyAssertWrapper.java | /*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
import java.io.*;
import java.util.*;
/*
* Wrapper for the EarlyAssert test to run the test in a JVM without assertions
* enabled.
*/
public class EarlyAssertWrapper {
public static void main(String... args) throws Exception {
EarlyAssertWrapper w = new EarlyAssertWrapper();
w.run();
}
void run() throws Exception {
List<String> cmd = new ArrayList<String>();
File java_home = new File(System.getProperty("java.home"));
if (java_home.getName().equals("jre"))
java_home = java_home.getParentFile();
cmd.add(new File(new File(java_home, "bin"), "java").getPath());
// ensure we run with the same bootclasspath as this test,
// in case this test is being run with -Xbootclasspath
cmd.add("-Xbootclasspath:" + System.getProperty("sun.boot.class.path"));
// propogate classpath
cmd.add("-classpath");
cmd.add(System.getProperty("java.class.path"));
// ensure all assertions disabled in target VM
cmd.add("-da");
cmd.add("-dsa");
cmd.add("EarlyAssert");
System.err.println("Running command: " + cmd);
ProcessBuilder pb = new ProcessBuilder(cmd);
pb.redirectErrorStream(true);
Process p = pb.start();
p.getOutputStream().close();
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
String line;
DataInputStream in = new DataInputStream(p.getInputStream());
try {
while ((line = in.readLine()) != null)
pw.println(line);
} finally {
in.close();
}
pw.close();
String out = sw.toString();
int rc = p.waitFor();
if (rc != 0 || out.length() > 0)
throw new Error("failed: rc=" + rc + (out.length() > 0 ? ": " + out : ""));
}
}
| 2,933 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6304128.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6304128.java | /*
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6304128
* @summary verify that annotations inside foreach statements do not cause AssertionError
* @compile T6304128.java
*/
package p1.p2;
import java.util.ArrayList;
public class T6304128 {
private void testme( boolean check ) {
ArrayList<Integer> aList = new ArrayList<Integer>();
for( @Ann(Color.red) Integer i : aList ) {
System.out.println( "checking" );
}
}
}
enum Color { red, green, blue };
@interface Ann {
Color value();
}
| 1,561 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
BadCovar.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/BadCovar.java | /*
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 5007379
* @summary Compiler allows inheritance of multiple methods with unrelated return types
* @author gafter
*
* @compile/fail BadCovar.java
*/
package bad.covar;
import java.util.*;
interface A{
List<? extends A> f();
}
interface B{
List<? extends B> f();
}
abstract class C implements A, B {} // should give error
| 1,417 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Increment.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Increment.java | /*
* Copyright (c) 1998, 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4044502 4090372
* @summary The compiler refused to parse/accept increments of
* parenthesized expressions.
* @compile Increment.java
* @author turnidge
*/
public class Increment {
int i = 0;
int j = (i)++;
int k = (j)--;
int l = ++(k);
int m = --(l);
}
| 1,365 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
QualifiedThisAndSuper_2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/QualifiedThisAndSuper_2.java | /*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4147520
* @summary Verify correct implementation of qualified 'this' and 'super'.
*
* @run compile QualifiedThisAndSuper_2.java
* @run main QualifiedThisAndSuper_2
*/
import p1.*;
public class QualifiedThisAndSuper_2 {
void check(String expr, String result, String expected) {
if (!result.equals(expected)) {
throw new Error("Evaluated "+ expr +
" : result " + result + ", expected " + expected);
}
}
public class A extends p1.AS {
A() { super(); }
String s = "as";
private String t = "at";
protected String u = "au";
String m() { return "am"; }
private String n() { return "an"; }
protected String o() { return "ao"; }
public class B extends p1.BS {
B() { super(); }
String s = "bs";
private String t = "bt";
protected String u = "bu";
String m() { return "bm"; }
private String n() { return "bn"; }
protected String o() { return "bo"; }
public class C extends p1.CS {
C() { super(); }
String s = "cs";
private String t = "ct";
protected String u = "cu";
String m() { return "cm"; }
private String n() { return "cn"; }
protected String o() { return "co"; }
void test() {
check("this.m()", this.m(), "cm");
check("A.this.m()", A.this.m(), "am");
check("B.this.m()", B.this.m(), "bm");
check("C.this.m()", C.this.m(), "cm");
//---
check("this.n()", this.n(), "cn");
check("A.this.n()", A.this.n(), "an");
check("B.this.n()", B.this.n(), "bn");
check("C.this.n()", C.this.n(), "cn");
//---
check("this.o()", this.o(), "co");
check("A.this.o()", A.this.o(), "ao");
check("B.this.o()", B.this.o(), "bo");
check("C.this.o()", C.this.o(), "co");
check("super.o()", super.o(), "cso");
check("A.super.o()", A.super.o(), "aso");
check("B.super.o()", B.super.o(), "bso");
check("C.super.o()", C.super.o(), "cso");
// should re-use access methods.
check("A.super.o()", A.super.o(), "aso");
check("B.super.o()", B.super.o(), "bso");
check("C.super.o()", C.super.o(), "cso");
//---
check("this.s", this.s, "cs");
check("A.this.s", A.this.s, "as");
check("B.this.s", B.this.s, "bs");
check("C.this.s", C.this.s, "cs");
//---
check("this.t", this.t, "ct");
check("A.this.t", A.this.t, "at");
check("B.this.t", B.this.t, "bt");
check("C.this.t", C.this.t, "ct");
//---
check("this.u", this.u, "cu");
check("A.this.u", A.this.u, "au");
check("B.this.u", B.this.u, "bu");
check("C.this.u", C.this.u, "cu");
//---
check("super.u", super.u, "csu");
check("A.super.u", A.super.u, "asu");
check("B.super.u", B.super.u, "bsu");
check("C.super.u", C.super.u, "csu");
//---
A.this.s = "foo";
System.out.println(A.this.s);
check("A.this.s", A.this.s, "foo");
B.this.s = "bar";
System.out.println(B.this.s);
check("B.this.s", B.this.s, "bar");
C.this.s = "baz";
System.out.println(C.this.s);
check("C.this.s", C.this.s, "baz");
A.this.t = "foo";
System.out.println(A.this.t);
check("A.this.t", A.this.t, "foo");
B.this.t = "bar";
System.out.println(B.this.t);
check("B.this.t", B.this.t, "bar");
C.this.t = "baz";
System.out.println(C.this.t);
check("C.this.t", C.this.t, "baz");
A.this.u = "foo";
System.out.println(A.this.u);
check("A.this.u", A.this.u, "foo");
B.this.u = "bar";
System.out.println(B.this.u);
check("B.this.u", B.this.u, "bar");
C.this.u = "baz";
System.out.println(C.this.u);
check("C.this.u", C.this.u, "baz");
A.super.u = "foo";
System.out.println(A.super.u);
check("A.super.u", A.super.u, "foo");
B.super.u = "bar";
System.out.println(B.super.u);
check("B.super.u", B.super.u, "bar");
C.super.u = "baz";
System.out.println(C.super.u);
check("C.super.u", C.super.u, "baz");
}
}
void test() throws Exception {
C c = new C();
c.test();
}
}
void test() throws Exception {
B b = new B();
b.test();
}
}
public static void main(String[] args) throws Exception {
A a = new QualifiedThisAndSuper_2().new A();
a.test();
}
}
| 6,917 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ShiftExpressionTest.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ShiftExpressionTest.java | /*
* Copyright (c) 1997, 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4082814
* @summary Constant shift expressions whose left operands were of type
* long were previously not evaluated correctly at compile-time.
* This is for the most part invisible, but it can be detected
* with the following test after 1.2beta1.
* @author turnidge
*
* @compile ShiftExpressionTest.java
* @run main ShiftExpressionTest
*/
public class ShiftExpressionTest {
public static void main(String[] args) throws Exception {
String s = "" + (0x0101L << 2) + (0x0101L >> 2) + (0x0101L >>> 2);
if (s.indexOf("null",0) != -1) {
throw new Exception(
"incorrect compile-time evaluation of shift");
}
}
}
| 1,783 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ReturnAfterIfThenElse.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ReturnAfterIfThenElse.java | /*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4144008
* @summary Both branches of if-then-else preceding end of method must not return normally,
* even if boolean expression is constant.
*
* @run compile/fail ReturnAfterIfThenElse.java
*/
public class ReturnAfterIfThenElse {
int method() {
if (false) {
// no return here
} else {
return 1;
}
// ERROR
// A return statement is required here,
// becase, according to the special rules
// for if-then-else in JLS 14.19, the
// preceding statement *can* complete normally.
}
}
| 1,652 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ExtendsScope.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ExtendsScope.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4402884
* @summary javac improperly extends superclass's scope to implements clause
* @author gafter
*
* @clean I
* @compile/fail ExtendsScope.java
*/
class P {
interface I {}
}
class T extends P implements I { // error: no I in scope
}
| 1,321 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ArrayCast.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ArrayCast.java | /*
* Copyright (c) 1997, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4080434
* @summary Casts to an array type used to cause a NullPointerException during
* compilation. This was fixed in 1.2beta2.
* @author turnidge
*
* @compile ArrayCast.java
*/
public class ArrayCast {
String[] array = (String[])new Object[0];
public static void main(String[] args) {
}
}
| 1,399 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
AnonymousConstructorExceptions.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/AnonymousConstructorExceptions.java | /*
* Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4337978
* @summary Verify that anonymous classes inheriting from classes whose constructors
* are declared to throw exceptions can be succesfully compiled.
* @author William Maddox
*
* @compile AnonymousConstructorExceptions.java
*/
class AnonymousConstructorExceptions {
static class A1 {
A1() throws RuntimeException {}
}
static class A2 {
A2() throws Error {}
}
static class A3 {
A3() throws Exception {}
}
void test1() {
A1 bar = new A1() { };
}
void test2() {
A2 bar = new A2() { };
}
void test3() throws Exception {
A3 bar = new A3() { };
}
}
| 1,731 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InnerTruth.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InnerTruth.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4242399
* @summary Verify sense of boolean constants is not reversed
* inside inner classes.
* @author maddox
*
*/
public class InnerTruth {
static final boolean DEBUG = true;
public static void main(String[] args) throws Exception {
InnerTruth me = new InnerTruth();
}
InnerTruth() throws Exception {
new Inner().doIt();
if (DEBUG) {
System.out.println("OK");
} else {
System.out.println("FAILED in outer");
throw new Exception("FAILED in outer");
}
}
class Inner {
public void doIt() throws Exception {
if (DEBUG) {
System.out.println("OK");
} else {
System.out.println("FAILED in inner");
throw new Exception("FAILED in inner");
}
}
}
}
| 1,926 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
EnclosingAccessCheck.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/EnclosingAccessCheck.java | /*
* Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4143715
* @summary Compiler should diagnose attempt to access a member of a package-private
* class contained in another package.
*
* @run compile/fail EnclosingAccessCheck.java
*/
public class EnclosingAccessCheck extends packone.Mediator {
public void test() {
getSecret().greet();
}
public static void main(String[] args) {
new EnclosingAccessCheck().test();
}
}
| 1,477 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Parens1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/Parens1.java | /*
* Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4391330
* @summary compiler accepted (Integer).toString(123)
* @author gafter
*
* @compile/fail Parens1.java
*/
class Parens1 {
void f() {
String s = (Integer).toString(123);
}
}
| 1,273 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
MemberTypeInheritance.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/MemberTypeInheritance.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4254213
* @summary Verify that member types of classes and interfaces can be inherited.
*
* @run compile MemberTypeInheritance.java
*/
class C {
class D {}
interface E {}
}
interface I {
class J {}
interface K{}
}
class L extends C {}
interface M extends I {}
class X extends C implements I {
D d;
E e;
J j;
K k;
}
class Y extends L implements M {
D d;
E e;
J j;
K k;
}
class Outer {
class C {
class D {}
// Inner class cannot have member interface (static member).
}
interface I {
class J {}
interface K{}
}
class L extends C {}
interface M extends I {}
class X extends C implements I {
D d;
J j;
K k;
}
class Y extends L implements M {
D d;
J j;
K k;
}
void test() {
// Blocks may not contain local interfaces.
class C {
class D {}
// Inner class cannot have member interface (static member).
}
class L extends C {}
class X extends C {
D d;
}
class Y extends L {
D d;
}
}
}
| 2,261 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
NestedInnerClassNames.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/NestedInnerClassNames.java | /*
* @test /nodynamiccopyright/
* @bug 4037746 4277279 4350658 4785453
* @summary Verify that an inner class cannot have the same simple name as an enclosing one.
* @author William Maddox (maddox)
*
* @compile/fail/ref=NestedInnerClassNames.out -XDrawDiagnostics NestedInnerClassNames.java
*/
/*
* This program should compile with errors as marked.
*/
public class NestedInnerClassNames {
class NestedInnerClassNames {} // ERROR
void m1() {
class NestedInnerClassNames {} // ERROR
}
class foo {
class foo { } // ERROR
}
void m2 () {
class foo {
class foo { } // ERROR
}
}
class bar {
class foo { }
class NestedInnerClassNames {} // ERROR
}
void m3() {
class bar {
class foo { }
class NestedInnerClassNames {} // ERROR
}
}
class baz {
class baz { // ERROR
class baz { } // ERROR
}
}
void m4() {
class baz {
class baz { // ERROR
class baz { } // ERROR
}
}
}
class foo$bar {
class foo$bar { // ERROR
class foo { }
class bar { }
}
}
void m5() {
class foo$bar {
class foo$bar { // ERROR
class foo { }
class bar { }
}
}
}
class $bar {
class foo {
class $bar { } // ERROR
}
}
void m6() {
class $bar {
class foo {
class $bar { } // ERROR
}
}
}
class bar$bar {
class bar {
class bar{ } // ERROR
}
}
void m7() {
class bar$bar {
class bar {
class bar{ } // ERROR
}
}
}
// The name of the class below clashes with the name of the
// class created above for 'class foo { class foo {} }'.
// The clash follows from the naming requirements of the inner
// classes spec, but is most likely a specification bug.
// Error may be reported here. See 4278961.
// As of Merlin-beta b21, this now results in an error.
class foo$foo { } // ERROR
}
| 2,578 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
ExceptionalFinally.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/ExceptionalFinally.java | /*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4510360
* @summary REGRESSION: Unreported exception in code with "return" in finally block
* @author gafter
*
* @compile ExceptionalFinally.java
*/
class ExceptionalFinally {
static class E extends Exception {}
public void t() throws E {}
public void a() {
try {
t();
} catch (E x) {
t();
} finally {
return;
}
}
}
| 1,479 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
AnonStaticMember_1.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/AnonStaticMember_1.java | /*
* Copyright (c) 1999, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 4279339
* @summary Verify that an anonymous class cannot contain a static field.
* @author maddox
*
* @run compile/fail AnonStaticMember_1.java
*/
class AnonStaticMember_1 {
Object x = new Object() {
static int y;
};
}
| 1,313 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
T6663588.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/T6663588.java | /*
* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6663588
* @summary Compiler goes into infinite loop for Cyclic Inheritance test case
* @author Maurizio Cimadamore
* @compile/fail T6663588.java
*/
public class T6663588<T extends T6663588.Inner> extends T6663588 {
class Inner extends T6663588.Inner {}
}
| 1,337 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
InnerNamedConstant_2.java | /FileExtraction/Java_unseen/openjdk-mirror_jdk7u-langtools/test/tools/javac/InnerNamedConstant_2.java | /*
* @test /nodynamiccopyright/
* @bug 4095568 4277286 4785453
* @summary Verify rejection of illegal static variables in inner classes.
* @author William Maddox (maddox)
*
* @compile/fail/ref=InnerNamedConstant_2.out -XDrawDiagnostics InnerNamedConstant_2.java
*/
public class InnerNamedConstant_2 {
static class Inner1 {
static int x = 1; // OK - class is top-level
static final int y = x * 5; // OK - class is top-level
static final String z; // OK - class is top-level
static {
z = "foobar";
}
}
class Inner2 {
static int x = 1; // ERROR - static not final
static final String z; // ERROR - static blank final
{
z = "foobar"; // Error may be reported here. See 4278961.
}
}
// This case must go in a separate class, as otherwise the detection
// of the error is suppressed as a result of recovery from the other
// errors.
class Inner3 {
static final int y = Inner1.x * 5; // ERROR - initializer not constant
}
}
| 1,153 | Java | .java | openjdk-mirror/jdk7u-langtools | 9 | 3 | 0 | 2012-05-07T19:45:34Z | 2012-05-08T17:47:06Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.