diff --git a/make/Makefile b/make/Makefile index 37875e8da2aa65fbafdb0956bb62d55225083b5a..8a55470e5848d973d4f96ca6212494150eea1fea 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 b99373fe9438409487b15446322a062994a4ee39..90926d4a60dd6263b346af70d89b7639f7835aaf 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 8582ef998289e916712879106d16a94391241d84..8d5a6dd9a99094aab49ef5e240c75634304fed07 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 33f1667395f305481e00af82e358c3b63b0a1e34..2f2038f16ad9667081cf5a62c3b762595cc00106 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 2356f40b3b1df1cb4833a0e0c1f21352950c5289..7f4514964f7ba074b7f69ac7563d03653c857f52 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 18e3d05e38215472012a2d9bea63f9a687919561..602ccbfe232c5770ee9c6930d5ffd3a9bfe094c7 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 0e01452ab3aa55273ee862050638cdc5e5ff35f5..ef2bcd224af1174f476b06c951b523c9f4c4b9a8 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 e8e201eb1c90a9b6a3df1d5723d43e2cd0fd8733..1e98ec9ce279830214ea3b83c5bd1703d5298123 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 60df3514346e8b56071b86f9b00c40899eecb62f..2b98ce9332f40713089b291cb8f5898c2770d061 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 445b8c4f4b6640bc9657a17cf910dd0b998f4701..c02c5bb9e55e787b75ad6948eb54cbf2599671ef 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 5ccdfaec6fd41d15bde727e763aafcedaa0e99d7..cf609c370fd80a512c5d6c68298ccc0a50f2135f 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 e534557c30a50366f699f5354dac11f38da98305..fdabcb937388e3f6020c0aa13f49482bcb44232d 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 80e16c37e22f1ffbb1a5d42695412fb92fd53fe4..944ddc8f3306c874ccc25e0e11a56a502db7a77b 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 7e17756e942c4ed547dcc530d245b09fa5d0447f..86ad41635af18d59b92be92ba9ac76acd1c2875a 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 5c3998e80feb26f0985f526cd88d3ce39a9ec456..a74595be682cad3af2ad587bde0c19e1b0479dac 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 bfb6fa1f9bae71dc6792bf41b8fde47e5ceb2e65..068ff7591670742c3abca626a1798250f333cb10 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 b82598dd08c3ba1552683fdf45586f3aad5b91f9..f289d095541efd109e27e537d1a3b03e7a15c985 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