提交 44531ff7 编写于 作者: J jjg

6960407: Potential rebranding issues in openjdk/langtools repository sources

Reviewed-by: darcy
上级 e999dd62
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
# Makefile for langtools: wrapper around Ant build.xml file # Makefile for langtools: wrapper around Ant build.xml file
# #
# On Solaris, the 'make' utility from Sun will not work with these makefiles. # On Solaris, the standard 'make' utility will not work with these makefiles.
# This little rule is only understood by Sun's make, and is harmless # This little rule is only understood by Solaris make, and is harmless
# when seen by the GNU make tool. If using Sun's make, this causes the # when seen by the GNU make tool. If using Solaris make, this causes the
# make command to fail. # make command to fail.
# #
SUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33 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 ...@@ -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 CD = cd
ZIP = zip ZIP = zip
......
...@@ -28,9 +28,9 @@ ...@@ -28,9 +28,9 @@
# #
# #
# On Solaris, the 'make' utility from Sun will not work with these makefiles. # On Solaris, the standard 'make' utility will not work with these makefiles.
# This little rule is only understood by Sun's make, and is harmless # This little rule is only understood by Solaris make, and is harmless
# when seen by the GNU make tool. If using Sun's make, this causes the # when seen by the GNU make tool. If using Solaris make, this causes the
# make command to fail. # make command to fail.
# #
SUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33 SUN_MAKE_TEST:sh = @echo "ERROR: PLEASE USE GNU VERSION OF MAKE"; exit 33
......
...@@ -30,7 +30,7 @@ package com.sun.source.tree; ...@@ -30,7 +30,7 @@ package com.sun.source.tree;
* *
* <p><b>WARNING:</b> This interface and its sub-interfaces are * <p><b>WARNING:</b> This interface and its sub-interfaces are
* subject to change as the Java&trade; programming language evolves. * subject to change as the Java&trade; 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 * and should not be implemented either directly or indirectly by
* other applications. * other applications.
* *
......
...@@ -36,7 +36,7 @@ import javax.tools.JavaCompiler.CompilationTask; ...@@ -36,7 +36,7 @@ import javax.tools.JavaCompiler.CompilationTask;
import javax.tools.JavaFileObject; 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&eacute; * @author Peter von der Ah&eacute;
* @author Jonathan Gibbons * @author Jonathan Gibbons
......
...@@ -30,7 +30,7 @@ import javax.lang.model.element.TypeElement; ...@@ -30,7 +30,7 @@ import javax.lang.model.element.TypeElement;
import javax.tools.JavaFileObject; 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 * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
......
...@@ -27,7 +27,7 @@ package com.sun.source.util; ...@@ -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 * @author Jonathan Gibbons
* @since 1.6 * @since 1.6
......
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
<title>com.sun.tools.doclets.formats.html package</title> <title>com.sun.tools.doclets.formats.html package</title>
</head> </head>
<body bgcolor="white"> <body bgcolor="white">
This is the default doclet provided by doclet provided by This is the default doclet provided with JDK that produces Javadoc's
Sun<font size="-2"><sup>TM</sup></font> that produces Javadoc's
default HTML-formatted API output. For more documentation default HTML-formatted API output. For more documentation
on this doclet, please refer to the link below. on this doclet, please refer to the link below.
......
...@@ -54,7 +54,7 @@ import com.sun.tools.javac.util.List; ...@@ -54,7 +54,7 @@ import com.sun.tools.javac.util.List;
import com.sun.tools.javac.main.JavaCompiler; 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.
* *
* <p><b>This is NOT part of any supported API. * <p><b>This is NOT part of any supported API.
* If you write code that depends on this, you do so at your own * If you write code that depends on this, you do so at your own
......
...@@ -226,7 +226,7 @@ public class Flags { ...@@ -226,7 +226,7 @@ public class Flags {
public static final long HYPOTHETICAL = 1L<<37; 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; public static final long PROPRIETARY = 1L<<38;
......
...@@ -196,7 +196,7 @@ public class Lint ...@@ -196,7 +196,7 @@ public class Lint
RAW("rawtypes"), 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), SUNAPI("sunapi", true),
......
...@@ -469,7 +469,7 @@ public class Symtab { ...@@ -469,7 +469,7 @@ public class Symtab {
synthesizeBoxTypeIfMissing(floatType); synthesizeBoxTypeIfMissing(floatType);
synthesizeBoxTypeIfMissing(voidType); 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 // proprietary classes in ct.sym. This class does not have a
// class file. // class file.
ClassType proprietaryType = (ClassType)enterClass("sun.Proprietary+Annotation"); ClassType proprietaryType = (ClassType)enterClass("sun.Proprietary+Annotation");
......
...@@ -166,7 +166,7 @@ public class Attr extends JCTree.Visitor { ...@@ -166,7 +166,7 @@ public class Attr extends JCTree.Visitor {
boolean useBeforeDeclarationWarning; boolean useBeforeDeclarationWarning;
/** /**
* Switch: allow lint infrastructure to control Sun proprietary * Switch: allow lint infrastructure to control proprietary
* API warnings. * API warnings.
*/ */
boolean enableSunApiLintControl; boolean enableSunApiLintControl;
......
...@@ -157,7 +157,7 @@ public class Check { ...@@ -157,7 +157,7 @@ public class Check {
*/ */
private MandatoryWarningHandler unsafeVarargsHandler; private MandatoryWarningHandler unsafeVarargsHandler;
/** A handler for messages about using Sun proprietary API. /** A handler for messages about using proprietary API.
*/ */
private MandatoryWarningHandler sunApiHandler; private MandatoryWarningHandler sunApiHandler;
...@@ -198,7 +198,7 @@ public class Check { ...@@ -198,7 +198,7 @@ public class Check {
unsafeVarargsHandler.report(pos, "varargs.non.reifiable.type", elemType); 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 pos Position to be used for error reporting.
* @param msg A string describing the problem. * @param msg A string describing the problem.
*/ */
......
...@@ -608,17 +608,17 @@ compiler.note.varargs.plural.additional=\ ...@@ -608,17 +608,17 @@ compiler.note.varargs.plural.additional=\
Some input files additionally declares unsafe vararg methods. Some input files additionally declares unsafe vararg methods.
compiler.note.sunapi.filename=\ 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=\ 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. # The following string may appear after one of the above sunapi messages.
compiler.note.sunapi.recompile=\ compiler.note.sunapi.recompile=\
Recompile with -Xlint:sunapi for details. Recompile with -Xlint:sunapi for details.
compiler.note.sunapi.filename.additional=\ 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=\ 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 # Notes related to annotation processing
...@@ -701,7 +701,7 @@ compiler.warn.has.been.deprecated=\ ...@@ -701,7 +701,7 @@ compiler.warn.has.been.deprecated=\
[deprecation] {0} in {1} has been deprecated [deprecation] {0} in {1} has been deprecated
compiler.warn.sun.proprietary=\ 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=\ compiler.warn.illegal.char.for.encoding=\
unmappable character for encoding {0} unmappable character for encoding {0}
......
...@@ -65,7 +65,7 @@ main.no_source_files_for_package=No source files for package {0} ...@@ -65,7 +65,7 @@ main.no_source_files_for_package=No source files for package {0}
main.fatal.error=fatal error main.fatal.error=fatal error
main.fatal.exception=fatal exception main.fatal.exception=fatal exception
main.out.of.memory=java.lang.OutOfMemoryError: Please increase memory.\n\ 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. such as -J-Xmx32m.
main.done_in=[done in {0} ms] main.done_in=[done in {0} ms]
main.doclet_method_must_be_static=In doclet class {0}, method {1} must be static. main.doclet_method_must_be_static=In doclet class {0}, method {1} must be static.
......
...@@ -65,7 +65,7 @@ main.no_source_files_for_package=\u6ca1\u6709\u8f6f\u4ef6\u5305 {0} \u7684\u6e90 ...@@ -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.error=\u81f4\u547d\u9519\u8bef
main.fatal.exception=\u81f4\u547d\u5f02\u5e38 main.fatal.exception=\u81f4\u547d\u5f02\u5e38
main.out.of.memory=java.lang.OutOfMemoryError\uff1a\u8bf7\u589e\u52a0\u5185\u5b58\u3002\n\ 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 \u5982 -J-Xmx32m\u3002
main.done_in=[\u5728{0} \u6beb\u79d2\u5185\u5b8c\u6210] 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 main.doclet_method_must_be_static=\u5728 doclet \u7c7b {0} \u4e2d\uff0c\u65b9\u6cd5 {1} \u5fc5\u987b\u4e3a\u9759\u6001\u3002
......
...@@ -256,7 +256,7 @@ public interface JavaFileManager extends Closeable, Flushable, OptionChecker { ...@@ -256,7 +256,7 @@ public interface JavaFileManager extends Closeable, Flushable, OptionChecker {
* *
* <p>Optionally, this file manager might consider the sibling as * <p>Optionally, this file manager might consider the sibling as
* a hint for where to place the output. The exact semantics of * 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 * example, will place class files in the same directories as
* originating source files unless a class file output directory * originating source files unless a class file output directory
* is provided. To facilitate this behavior, javac might provide * is provided. To facilitate this behavior, javac might provide
...@@ -338,7 +338,7 @@ public interface JavaFileManager extends Closeable, Flushable, OptionChecker { ...@@ -338,7 +338,7 @@ public interface JavaFileManager extends Closeable, Flushable, OptionChecker {
* *
* <p>Optionally, this file manager might consider the sibling as * <p>Optionally, this file manager might consider the sibling as
* a hint for where to place the output. The exact semantics of * 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 * example, will place class files in the same directories as
* originating source files unless a class file output directory * originating source files unless a class file output directory
* is provided. To facilitate this behavior, javac might provide * is provided. To facilitate this behavior, javac might provide
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册