From 44531ff795c0cbf35870cd819e2e2464c63e0b71 Mon Sep 17 00:00:00 2001 From: jjg Date: Thu, 10 Jun 2010 17:09:56 -0700 Subject: [PATCH] 6960407: Potential rebranding issues in openjdk/langtools repository sources Reviewed-by: darcy --- make/Makefile | 8 ++++---- make/Makefile-classic | 6 +++--- src/share/classes/com/sun/source/tree/Tree.java | 2 +- src/share/classes/com/sun/source/util/JavacTask.java | 2 +- src/share/classes/com/sun/source/util/TaskEvent.java | 2 +- .../classes/com/sun/source/util/TaskListener.java | 2 +- .../com/sun/tools/doclets/formats/html/package.html | 3 +-- .../classes/com/sun/tools/javac/api/JavacTaskImpl.java | 2 +- src/share/classes/com/sun/tools/javac/code/Flags.java | 2 +- src/share/classes/com/sun/tools/javac/code/Lint.java | 2 +- src/share/classes/com/sun/tools/javac/code/Symtab.java | 2 +- src/share/classes/com/sun/tools/javac/comp/Attr.java | 2 +- src/share/classes/com/sun/tools/javac/comp/Check.java | 4 ++-- .../com/sun/tools/javac/resources/compiler.properties | 10 +++++----- .../com/sun/tools/javadoc/resources/javadoc.properties | 2 +- .../tools/javadoc/resources/javadoc_zh_CN.properties | 2 +- src/share/classes/javax/tools/JavaFileManager.java | 4 ++-- 17 files changed, 28 insertions(+), 29 deletions(-) diff --git a/make/Makefile b/make/Makefile index 37875e8d..8a55470e 100644 --- a/make/Makefile +++ b/make/Makefile @@ -26,9 +26,9 @@ # Makefile for langtools: wrapper around Ant build.xml file # -# On Solaris, the 'make' utility from Sun will not work with these makefiles. -# This little rule is only understood by Sun's make, and is harmless -# when seen by the GNU make tool. If using Sun's make, this causes the +# On Solaris, the standard 'make' utility will not work with these makefiles. +# This little rule is only understood by Solaris make, and is harmless +# when seen by the GNU make tool. If using Solaris make, this causes the # make command to fail. # SUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33 @@ -202,7 +202,7 @@ $(ANT_TARGETS): $(OUTPUTDIR)/build/ant-diagnostics.log #------------------------------------------------------------------- # -# Targets for Sun's internal JPRT build system +# Targets for Oracle's internal JPRT build system CD = cd ZIP = zip diff --git a/make/Makefile-classic b/make/Makefile-classic index b99373fe..90926d4a 100644 --- a/make/Makefile-classic +++ b/make/Makefile-classic @@ -28,9 +28,9 @@ # # -# On Solaris, the 'make' utility from Sun will not work with these makefiles. -# This little rule is only understood by Sun's make, and is harmless -# when seen by the GNU make tool. If using Sun's make, this causes the +# On Solaris, the standard 'make' utility will not work with these makefiles. +# This little rule is only understood by Solaris make, and is harmless +# when seen by the GNU make tool. If using Solaris make, this causes the # make command to fail. # SUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33 diff --git a/src/share/classes/com/sun/source/tree/Tree.java b/src/share/classes/com/sun/source/tree/Tree.java index 8582ef99..8d5a6dd9 100644 --- a/src/share/classes/com/sun/source/tree/Tree.java +++ b/src/share/classes/com/sun/source/tree/Tree.java @@ -30,7 +30,7 @@ package com.sun.source.tree; * *

WARNING: This interface and its sub-interfaces are * subject to change as the Java™ programming language evolves. - * These interfaces are implemented by Sun's Java compiler (javac) + * These interfaces are implemented by the JDK Java compiler (javac) * and should not be implemented either directly or indirectly by * other applications. * diff --git a/src/share/classes/com/sun/source/util/JavacTask.java b/src/share/classes/com/sun/source/util/JavacTask.java index 33f16673..2f2038f1 100644 --- a/src/share/classes/com/sun/source/util/JavacTask.java +++ b/src/share/classes/com/sun/source/util/JavacTask.java @@ -36,7 +36,7 @@ import javax.tools.JavaCompiler.CompilationTask; import javax.tools.JavaFileObject; /** - * Provides access to functionality specific to the Sun Java Compiler, javac. + * Provides access to functionality specific to the JDK Java Compiler, javac. * * @author Peter von der Ahé * @author Jonathan Gibbons diff --git a/src/share/classes/com/sun/source/util/TaskEvent.java b/src/share/classes/com/sun/source/util/TaskEvent.java index 2356f40b..7f451496 100644 --- a/src/share/classes/com/sun/source/util/TaskEvent.java +++ b/src/share/classes/com/sun/source/util/TaskEvent.java @@ -30,7 +30,7 @@ import javax.lang.model.element.TypeElement; import javax.tools.JavaFileObject; /** - * Provides details about work that has been done by the Sun Java Compiler, javac. + * Provides details about work that has been done by the JDK Java Compiler, javac. * * @author Jonathan Gibbons * @since 1.6 diff --git a/src/share/classes/com/sun/source/util/TaskListener.java b/src/share/classes/com/sun/source/util/TaskListener.java index 18e3d05e..602ccbfe 100644 --- a/src/share/classes/com/sun/source/util/TaskListener.java +++ b/src/share/classes/com/sun/source/util/TaskListener.java @@ -27,7 +27,7 @@ package com.sun.source.util; /** - * Provides a listener to monitor the activity of the Sun Java Compiler, javac. + * Provides a listener to monitor the activity of the JDK Java Compiler, javac. * * @author Jonathan Gibbons * @since 1.6 diff --git a/src/share/classes/com/sun/tools/doclets/formats/html/package.html b/src/share/classes/com/sun/tools/doclets/formats/html/package.html index 0e01452a..ef2bcd22 100644 --- a/src/share/classes/com/sun/tools/doclets/formats/html/package.html +++ b/src/share/classes/com/sun/tools/doclets/formats/html/package.html @@ -28,8 +28,7 @@ com.sun.tools.doclets.formats.html package - This is the default doclet provided by doclet provided by - SunTM that produces Javadoc's + This is the default doclet provided with JDK that produces Javadoc's default HTML-formatted API output. For more documentation on this doclet, please refer to the link below. diff --git a/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java b/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java index e8e201eb..1e98ec9c 100644 --- a/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java +++ b/src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java @@ -54,7 +54,7 @@ import com.sun.tools.javac.util.List; import com.sun.tools.javac.main.JavaCompiler; /** - * Provides access to functionality specific to the Sun Java Compiler, javac. + * Provides access to functionality specific to the JDK Java Compiler, javac. * *

This is NOT part of any supported API. * If you write code that depends on this, you do so at your own diff --git a/src/share/classes/com/sun/tools/javac/code/Flags.java b/src/share/classes/com/sun/tools/javac/code/Flags.java index 60df3514..2b98ce93 100644 --- a/src/share/classes/com/sun/tools/javac/code/Flags.java +++ b/src/share/classes/com/sun/tools/javac/code/Flags.java @@ -226,7 +226,7 @@ public class Flags { public static final long HYPOTHETICAL = 1L<<37; /** - * Flag that marks a Sun proprietary class. + * Flag that marks an internal proprietary class. */ public static final long PROPRIETARY = 1L<<38; diff --git a/src/share/classes/com/sun/tools/javac/code/Lint.java b/src/share/classes/com/sun/tools/javac/code/Lint.java index 445b8c4f..c02c5bb9 100644 --- a/src/share/classes/com/sun/tools/javac/code/Lint.java +++ b/src/share/classes/com/sun/tools/javac/code/Lint.java @@ -196,7 +196,7 @@ public class Lint RAW("rawtypes"), /** - * Warn about Sun proprietary API that may be removed in a future release. + * Warn about proprietary API that may be removed in a future release. */ SUNAPI("sunapi", true), diff --git a/src/share/classes/com/sun/tools/javac/code/Symtab.java b/src/share/classes/com/sun/tools/javac/code/Symtab.java index 5ccdfaec..cf609c37 100644 --- a/src/share/classes/com/sun/tools/javac/code/Symtab.java +++ b/src/share/classes/com/sun/tools/javac/code/Symtab.java @@ -469,7 +469,7 @@ public class Symtab { synthesizeBoxTypeIfMissing(floatType); synthesizeBoxTypeIfMissing(voidType); - // Enter a synthetic class that is used to mark Sun + // Enter a synthetic class that is used to mark internal // proprietary classes in ct.sym. This class does not have a // class file. ClassType proprietaryType = (ClassType)enterClass("sun.Proprietary+Annotation"); diff --git a/src/share/classes/com/sun/tools/javac/comp/Attr.java b/src/share/classes/com/sun/tools/javac/comp/Attr.java index e534557c..fdabcb93 100644 --- a/src/share/classes/com/sun/tools/javac/comp/Attr.java +++ b/src/share/classes/com/sun/tools/javac/comp/Attr.java @@ -166,7 +166,7 @@ public class Attr extends JCTree.Visitor { boolean useBeforeDeclarationWarning; /** - * Switch: allow lint infrastructure to control Sun proprietary + * Switch: allow lint infrastructure to control proprietary * API warnings. */ boolean enableSunApiLintControl; diff --git a/src/share/classes/com/sun/tools/javac/comp/Check.java b/src/share/classes/com/sun/tools/javac/comp/Check.java index 80e16c37..944ddc8f 100644 --- a/src/share/classes/com/sun/tools/javac/comp/Check.java +++ b/src/share/classes/com/sun/tools/javac/comp/Check.java @@ -157,7 +157,7 @@ public class Check { */ private MandatoryWarningHandler unsafeVarargsHandler; - /** A handler for messages about using Sun proprietary API. + /** A handler for messages about using proprietary API. */ private MandatoryWarningHandler sunApiHandler; @@ -198,7 +198,7 @@ public class Check { unsafeVarargsHandler.report(pos, "varargs.non.reifiable.type", elemType); } - /** Warn about using Sun proprietary API. + /** Warn about using proprietary API. * @param pos Position to be used for error reporting. * @param msg A string describing the problem. */ diff --git a/src/share/classes/com/sun/tools/javac/resources/compiler.properties b/src/share/classes/com/sun/tools/javac/resources/compiler.properties index 7e17756e..86ad4163 100644 --- a/src/share/classes/com/sun/tools/javac/resources/compiler.properties +++ b/src/share/classes/com/sun/tools/javac/resources/compiler.properties @@ -608,17 +608,17 @@ compiler.note.varargs.plural.additional=\ Some input files additionally declares unsafe vararg methods. compiler.note.sunapi.filename=\ - {0} uses Sun proprietary API that may be removed in a future release. + {0} uses internal proprietary API that may be removed in a future release. compiler.note.sunapi.plural=\ - Some input files use Sun proprietary API that may be removed in a future release. + Some input files use internal proprietary API that may be removed in a future release. # The following string may appear after one of the above sunapi messages. compiler.note.sunapi.recompile=\ Recompile with -Xlint:sunapi for details. compiler.note.sunapi.filename.additional=\ - {0} uses additional Sun proprietary API that may be removed in a future release. + {0} uses additional internal proprietary API that may be removed in a future release. compiler.note.sunapi.plural.additional=\ - Some input files additionally use Sun proprietary API that may be removed in a future release. + Some input files additionally use internal proprietary API that may be removed in a future release. # Notes related to annotation processing @@ -701,7 +701,7 @@ compiler.warn.has.been.deprecated=\ [deprecation] {0} in {1} has been deprecated compiler.warn.sun.proprietary=\ - {0} is Sun proprietary API and may be removed in a future release + {0} is internal proprietary API and may be removed in a future release compiler.warn.illegal.char.for.encoding=\ unmappable character for encoding {0} diff --git a/src/share/classes/com/sun/tools/javadoc/resources/javadoc.properties b/src/share/classes/com/sun/tools/javadoc/resources/javadoc.properties index 5c3998e8..a74595be 100644 --- a/src/share/classes/com/sun/tools/javadoc/resources/javadoc.properties +++ b/src/share/classes/com/sun/tools/javadoc/resources/javadoc.properties @@ -65,7 +65,7 @@ main.no_source_files_for_package=No source files for package {0} main.fatal.error=fatal error main.fatal.exception=fatal exception main.out.of.memory=java.lang.OutOfMemoryError: Please increase memory.\n\ -For example, on the Sun Classic or HotSpot VMs, add the option -J-Xmx\n\ +For example, on the JDK Classic or HotSpot VMs, add the option -J-Xmx\n\ such as -J-Xmx32m. main.done_in=[done in {0} ms] main.doclet_method_must_be_static=In doclet class {0}, method {1} must be static. diff --git a/src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties b/src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties index bfb6fa1f..068ff759 100644 --- a/src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties +++ b/src/share/classes/com/sun/tools/javadoc/resources/javadoc_zh_CN.properties @@ -65,7 +65,7 @@ main.no_source_files_for_package=\u6ca1\u6709\u8f6f\u4ef6\u5305 {0} \u7684\u6e90 main.fatal.error=\u81f4\u547d\u9519\u8bef main.fatal.exception=\u81f4\u547d\u5f02\u5e38 main.out.of.memory=java.lang.OutOfMemoryError\uff1a\u8bf7\u589e\u52a0\u5185\u5b58\u3002\n\ -\u4f8b\u5982\uff0c\u5bf9\u4e8e Sun Classic \u6216 HotSpot VM\uff0c\u8bf7\u6dfb\u52a0\u9009\u9879 -J-Xmx\uff0c\n\ +\u4f8b\u5982\uff0c\u5bf9\u4e8e JDK Classic \u6216 HotSpot VM\uff0c\u8bf7\u6dfb\u52a0\u9009\u9879 -J-Xmx\uff0c\n\ \u5982 -J-Xmx32m\u3002 main.done_in=[\u5728{0} \u6beb\u79d2\u5185\u5b8c\u6210] main.doclet_method_must_be_static=\u5728 doclet \u7c7b {0} \u4e2d\uff0c\u65b9\u6cd5 {1} \u5fc5\u987b\u4e3a\u9759\u6001\u3002 diff --git a/src/share/classes/javax/tools/JavaFileManager.java b/src/share/classes/javax/tools/JavaFileManager.java index b82598dd..f289d095 100644 --- a/src/share/classes/javax/tools/JavaFileManager.java +++ b/src/share/classes/javax/tools/JavaFileManager.java @@ -256,7 +256,7 @@ public interface JavaFileManager extends Closeable, Flushable, OptionChecker { * *

Optionally, this file manager might consider the sibling as * a hint for where to place the output. The exact semantics of - * this hint is unspecified. Sun's compiler, javac, for + * this hint is unspecified. The JDK compiler, javac, for * example, will place class files in the same directories as * originating source files unless a class file output directory * is provided. To facilitate this behavior, javac might provide @@ -338,7 +338,7 @@ public interface JavaFileManager extends Closeable, Flushable, OptionChecker { * *

Optionally, this file manager might consider the sibling as * a hint for where to place the output. The exact semantics of - * this hint is unspecified. Sun's compiler, javac, for + * this hint is unspecified. The JDK compiler, javac, for * example, will place class files in the same directories as * originating source files unless a class file output directory * is provided. To facilitate this behavior, javac might provide -- GitLab