# HG changeset patch # User alundblad # Date 1461006470 -7200 # Node ID d16d6d59446decf0c94f0c2afe04b72bde85c253 # Parent 8d78fb40648dd221ce4ef19f9d5aa41ee1a3a884 8036952: copyright issues in jdk9/dev/langtools files Summary: Updated copyright notices. Reviewed-by: jjg, jlahoda diff -r 8d78fb40648d -r d16d6d59446d langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java --- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/FSInfo.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,27 @@ +/* + * Copyright (c) 2008, 2015, 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. + */ package com.sun.tools.javac.file; diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6520152/T.java --- a/langtools/test/tools/javac/6520152/T.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6520152/T.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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.Serializable; public class T { diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6520152/T6520152.java --- a/langtools/test/tools/javac/6520152/T6520152.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6520152/T6520152.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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 6520152 diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6521805/T6521805e.out --- a/langtools/test/tools/javac/6521805/T6521805e.out Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6521805/T6521805e.out Mon Apr 18 21:07:50 2016 +0200 @@ -1,2 +1,2 @@ -Sub.java:8:11: compiler.err.synthetic.name.conflict: this$0, p.Inner +Sub.java:10:11: compiler.err.synthetic.name.conflict: this$0, p.Inner 1 error diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6521805/p/Outer.java --- a/langtools/test/tools/javac/6521805/p/Outer.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6521805/p/Outer.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,5 @@ +/* /nodynamiccopyright/ */ + package p; class Outer { diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6521805/p/Sub.java --- a/langtools/test/tools/javac/6521805/p/Sub.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6521805/p/Sub.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,5 @@ +/* /nodynamiccopyright/ */ + package p; class Inner extends Outer.Super { diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6547131/T.java --- a/langtools/test/tools/javac/6547131/T.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6547131/T.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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 6547131 diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6589361/T6589361.java --- a/langtools/test/tools/javac/6589361/T6589361.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6589361/T6589361.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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 6589361 diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/6668794/badSource/Test.java --- a/langtools/test/tools/javac/6668794/badSource/Test.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/6668794/badSource/Test.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,5 +1,5 @@ /* - * @test /nodynamiccopyight/ + * @test /nodynamiccopyright/ * @bug 6668794 6668796 * @summary javac puts localized text in raw diagnostics * bad diagnostic "bad class file" given for source files diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/annotations/typeAnnotations/referenceinfos/Test.java --- a/langtools/test/tools/javac/annotations/typeAnnotations/referenceinfos/Test.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/annotations/typeAnnotations/referenceinfos/Test.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,25 @@ +/* + * Copyright (c) 2016, 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.util.*; import java.lang.annotation.*; diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/api/6731573/Erroneous.java --- a/langtools/test/tools/javac/api/6731573/Erroneous.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/api/6731573/Erroneous.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,5 @@ +/* /nodynamiccopyright/ */ + class A { boolean b; boolean b; diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/flow/T8062747.java --- a/langtools/test/tools/javac/flow/T8062747.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/flow/T8062747.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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 8062747 diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/jvm/6397652/com/test/Test$Test$Test.java --- a/langtools/test/tools/javac/jvm/6397652/com/test/Test$Test$Test.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/jvm/6397652/com/test/Test$Test$Test.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * 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. + */ + package com.test; public class Test$Test$Test { diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/jvm/6397652/com/test/Test$Test.java --- a/langtools/test/tools/javac/jvm/6397652/com/test/Test$Test.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/jvm/6397652/com/test/Test$Test.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * 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. + */ + package com.test; public class Test$Test { diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/lambda/badMemberRefBytecode/Main.java --- a/langtools/test/tools/javac/lambda/badMemberRefBytecode/Main.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/lambda/badMemberRefBytecode/Main.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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.util.Collections; public class Main { @@ -6,4 +29,5 @@ Collections.sort(null, String::compareTo); } + } diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/lambda/badMemberRefBytecode/Use.java --- a/langtools/test/tools/javac/lambda/badMemberRefBytecode/Use.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/lambda/badMemberRefBytecode/Use.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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. + */ + public class Use { private Main m; } diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/lambda/lambdaExecution/TBlock.java --- a/langtools/test/tools/javac/lambda/lambdaExecution/TBlock.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/lambda/lambdaExecution/TBlock.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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. + */ + /** * Performs operations upon an input object which may modify that object and/or * external state (other objects). diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/policy/test3/A.java --- a/langtools/test/tools/javac/policy/test3/A.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/policy/test3/A.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,5 @@ +/* /nodynamiccopyright/ */ + class A { void m1() { System.err.println("hello"); diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/synthesize/src/Double.java --- a/langtools/test/tools/javac/synthesize/src/Double.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/synthesize/src/Double.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2007, 2016, 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. + */ + package java.lang; public class Double extends Number diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/synthesize/src/Float.java --- a/langtools/test/tools/javac/synthesize/src/Float.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/synthesize/src/Float.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2007, 2016, 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. + */ + package java.lang; public class Float extends Number diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/warnings/6594914/Auxiliary.java --- a/langtools/test/tools/javac/warnings/6594914/Auxiliary.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/warnings/6594914/Auxiliary.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,5 @@ +/* /nodynamiccopyright/ */ + import java.io.StringBufferInputStream; public class Auxiliary { diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/warnings/6594914/ExplicitCompilation.out --- a/langtools/test/tools/javac/warnings/6594914/ExplicitCompilation.out Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/warnings/6594914/ExplicitCompilation.out Mon Apr 18 21:07:50 2016 +0200 @@ -1,2 +1,2 @@ -Auxiliary.java:1:15: compiler.warn.has.been.deprecated: java.io.StringBufferInputStream, java.io +Auxiliary.java:3:15: compiler.warn.has.been.deprecated: java.io.StringBufferInputStream, java.io 1 warning diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javac/warnings/6594914/ImplicitCompilation.out --- a/langtools/test/tools/javac/warnings/6594914/ImplicitCompilation.out Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javac/warnings/6594914/ImplicitCompilation.out Mon Apr 18 21:07:50 2016 +0200 @@ -1,2 +1,2 @@ -Auxiliary.java:1:15: compiler.warn.has.been.deprecated: java.io.StringBufferInputStream, java.io +Auxiliary.java:3:15: compiler.warn.has.been.deprecated: java.io.StringBufferInputStream, java.io 1 warning diff -r 8d78fb40648d -r d16d6d59446d langtools/test/tools/javap/4111861/A.java --- a/langtools/test/tools/javap/4111861/A.java Wed Jul 05 21:36:10 2017 +0200 +++ b/langtools/test/tools/javap/4111861/A.java Mon Apr 18 21:07:50 2016 +0200 @@ -1,3 +1,26 @@ +/* + * Copyright (c) 2016, 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. + */ + class A { public static final int i = 42; public static final boolean b = true;