RFR JDK-8038178: Fix corrupt license header
David Holmes
david.holmes at oracle.com
Wed Apr 16 11:36:47 UTC 2014
On 16/04/2014 9:28 PM, Pavel Rappo wrote:
> Hi everyone,
>
> could you please review my change for JDK-8038178?
Looks okay to me.
> P.S. Some may find this a little bit amusing.
Indeed :) I'm guessing original code was
private static final Unsafe U;
then a rename occurred
s/U/UNSAFE/
:)
David
> Thanks
> -Pavel
>
> diff --git a/src/share/classes/sun/misc/InnocuousThread.java b/src/share/classes/sun/misc/InnocuousThread.java
> --- a/src/share/classes/sun/misc/InnocuousThread.java
> +++ b/src/share/classes/sun/misc/InnocuousThread.java
> @@ -3,22 +3,22 @@
> * 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 GNUNSAFE General Public License version 2 only, as
> + * 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 WITHOUNSAFET
> + * 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 PARTICUNSAFELAR PUNSAFERPOSE. See the GNUNSAFE General Public License
> + * 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 GNUNSAFE General Public License version
> + * 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 UNSAFESA.
> + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
> *
> - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 UNSAFESA
> + * 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.
> */
>
More information about the core-libs-dev
mailing list