diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java index 770adbebc2e..95f8f847923 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/ClassFinder.java @@ -226,7 +226,7 @@ public class ClassFinder { } -/************************************************************************ +/* ********************************************************************** * Temporary ct.sym replacement * * The following code is a temporary substitute for the ct.sym mechanism @@ -278,7 +278,7 @@ public class ClassFinder { private Map supplementaryFlags; -/************************************************************************ +/* ********************************************************************** * Loading Classes ***********************************************************************/ @@ -455,7 +455,7 @@ public class ClassFinder { return c; } -/************************************************************************ +/* ********************************************************************** * Loading Packages ***********************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java index 429465c1910..346aab18a60 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java @@ -110,7 +110,7 @@ public class Flags { public static final int ACC_VARARGS = 0x0080; public static final int ACC_MODULE = 0x8000; - /***************************************** + /* *************************************** * Internal compiler flags (no bits in the lower 16). *****************************************/ @@ -278,7 +278,7 @@ public class Flags { */ public static final long THROWS = 1L<<47; - /** + /* * Currently available: Bit 48. */ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java index 80f60aa7209..479e6891d8f 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java @@ -47,10 +47,10 @@ import static com.sun.tools.javac.main.Option.*; * deletion without notice. */ public enum Source { - /** 1.0 had no inner classes, and so could not pass the JCK. */ + /* 1.0 had no inner classes, and so could not pass the JCK. */ // public static final Source JDK1_0 = new Source("1.0"); - /** 1.1 did not have strictfp, and so could not pass the JCK. */ + /* 1.1 did not have strictfp, and so could not pass the JCK. */ // public static final Source JDK1_1 = new Source("1.1"); /** 1.2 introduced strictfp. */ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java index 1715dfa1451..5acb4c384eb 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Type.java @@ -600,7 +600,7 @@ public abstract class Type extends AnnoConstruct implements TypeMirror, PoolCons public Type getUpperBound() { return null; } public Type getLowerBound() { return null; } - /** Navigation methods, these will work for classes, type variables, + /* Navigation methods, these will work for classes, type variables, * foralls, but will return null for arrays and methods. */ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java index 366e16f1da3..71c9d59cb27 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Annotate.java @@ -1015,7 +1015,7 @@ public class Annotate { return validRepeated; } - /******************** + /* ****************** * Type annotations * ********************/ @@ -1168,7 +1168,7 @@ public class Annotate { } } - /********************* + /* ******************* * Completer support * *********************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java index c103ee342af..eda2772fb75 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java @@ -526,7 +526,7 @@ public class Flow { alive = Liveness.DEAD; } - /************************************************************************* + /* *********************************************************************** * Visitor methods for statements and definitions *************************************************************************/ @@ -1330,7 +1330,7 @@ public class Flow { // Do nothing for modules } - /************************************************************************** + /* ************************************************************************ * main method *************************************************************************/ @@ -1446,7 +1446,7 @@ public class Flow { } } - /************************************************************************* + /* *********************************************************************** * Visitor methods for statements and definitions *************************************************************************/ @@ -1914,7 +1914,7 @@ public class Flow { // Do nothing for modules } - /************************************************************************** + /* ************************************************************************ * main method *************************************************************************/ @@ -3223,7 +3223,7 @@ public class Flow { // Do nothing for modules } - /************************************************************************** + /* ************************************************************************ * main method *************************************************************************/ @@ -3342,7 +3342,7 @@ public class Flow { log.error(pos, Errors.CantRefNonEffectivelyFinalVar(sym, diags.fragment(subKey))); } - /************************************************************************* + /* *********************************************************************** * Visitor methods for statements and definitions *************************************************************************/ @@ -3461,7 +3461,7 @@ public class Flow { // Do nothing for modules } - /************************************************************************** + /* ************************************************************************ * main method *************************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java index 9d7bd1f068e..5b70a376f2a 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/LambdaToMethod.java @@ -796,7 +796,7 @@ public class LambdaToMethod extends TreeTranslator { stmts = new ListBuffer<>(); kInfo.deserializeCases.put(implMethodName, stmts); } - /**** + /* ** System.err.printf("+++++++++++++++++\n"); System.err.printf("*functionalInterfaceClass: '%s'\n", functionalInterfaceClass); System.err.printf("*functionalInterfaceMethodName: '%s'\n", functionalInterfaceMethodName); diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java index f1c897a917e..66de5203d57 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java @@ -153,7 +153,7 @@ public class Lower extends TreeTranslator { */ EndPosTable endPosTable; -/************************************************************************** +/* ************************************************************************ * Global mappings *************************************************************************/ @@ -647,7 +647,7 @@ public class Lower extends TreeTranslator { } -/************************************************************************** +/* ************************************************************************ * Tree building blocks *************************************************************************/ @@ -784,7 +784,7 @@ public class Lower extends TreeTranslator { return cdef; } -/************************************************************************** +/* ************************************************************************ * Symbol manipulation utilities *************************************************************************/ @@ -938,7 +938,7 @@ public class Lower extends TreeTranslator { } } -/************************************************************************** +/* ************************************************************************ * Access methods *************************************************************************/ @@ -1513,7 +1513,7 @@ public class Lower extends TreeTranslator { return md; } -/************************************************************************** +/* ************************************************************************ * Free variables proxies and this$n *************************************************************************/ @@ -1950,7 +1950,7 @@ public class Lower extends TreeTranslator { make.Ident(rhs)).setType(lhs.erasure(types))); } -/************************************************************************** +/* ************************************************************************ * Code for .class *************************************************************************/ @@ -2009,7 +2009,7 @@ public class Lower extends TreeTranslator { } } -/************************************************************************** +/* ************************************************************************ * Code for enabling/disabling assertions. *************************************************************************/ @@ -2078,7 +2078,7 @@ public class Lower extends TreeTranslator { } -/************************************************************************** +/* ************************************************************************ * Building blocks for let expressions *************************************************************************/ @@ -2172,7 +2172,7 @@ public class Lower extends TreeTranslator { return res; } -/************************************************************************** +/* ************************************************************************ * Translation methods *************************************************************************/ @@ -4440,7 +4440,7 @@ public class Lower extends TreeTranslator { super.visitTry(tree); } -/************************************************************************** +/* ************************************************************************ * main method *************************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java index fd3b507b038..d1ea1651041 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java @@ -897,7 +897,7 @@ public class TransTypes extends TreeTranslator { result = tree; } -/************************************************************************** +/* ************************************************************************ * utility methods *************************************************************************/ @@ -905,7 +905,7 @@ public class TransTypes extends TreeTranslator { return types.erasure(t); } -/************************************************************************** +/* ************************************************************************ * main method *************************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java index 8455935c748..b3492d6a0e5 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassFile.java @@ -143,7 +143,7 @@ public class ClassFile { } -/************************************************************************ +/* ********************************************************************** * String Translation Routines ***********************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java index 47c7d9c7d45..e0cebce611d 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java @@ -308,7 +308,7 @@ public class ClassReader { c.members_field.enter(sym); } -/************************************************************************ +/* ********************************************************************** * Error Diagnoses ***********************************************************************/ @@ -338,7 +338,7 @@ public class ClassReader { dcfh); } -/************************************************************************ +/* ********************************************************************** * Buffer Access ***********************************************************************/ @@ -378,7 +378,7 @@ public class ClassReader { return res; } -/************************************************************************ +/* ********************************************************************** * Constant Pool Access ***********************************************************************/ @@ -437,7 +437,7 @@ public class ClassReader { return set; } -/************************************************************************ +/* ********************************************************************** * Reading Types ***********************************************************************/ @@ -791,7 +791,7 @@ public class ClassReader { } } -/************************************************************************ +/* ********************************************************************** * Reading Attributes ***********************************************************************/ @@ -1462,7 +1462,7 @@ public class ClassReader { return null; } -/************************************************************************ +/* ********************************************************************** * Reading Java-language annotations ***********************************************************************/ @@ -2579,7 +2579,7 @@ public class ClassReader { } } -/************************************************************************ +/* ********************************************************************** * Reading Symbols ***********************************************************************/ @@ -3122,7 +3122,7 @@ public class ClassReader { */ public boolean filling = false; -/************************************************************************ +/* ********************************************************************** * Adjusting flags ***********************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java index 625d3fb890b..dfa92efae74 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java @@ -196,7 +196,7 @@ public class ClassWriter extends ClassFile { extraAttributeHooks = extraAttributeHooks.prepend(addExtraAttributes); } -/****************************************************************** +/* **************************************************************** * Diagnostics: dump generated class names and modifiers ******************************************************************/ @@ -237,7 +237,7 @@ public class ClassWriter extends ClassFile { "SUPER", "VOLATILE", "TRANSIENT", "NATIVE", "INTERFACE", "ABSTRACT", "STRICTFP"}; -/****************************************************************** +/* **************************************************************** * Output routines ******************************************************************/ @@ -259,7 +259,7 @@ public class ClassWriter extends ClassFile { buf.elems[adr+3] = (byte)((x ) & 0xFF); } -/****************************************************************** +/* **************************************************************** * Writing the Constant Pool ******************************************************************/ @@ -277,7 +277,7 @@ public class ClassWriter extends ClassFile { } } -/****************************************************************** +/* **************************************************************** * Writing Attributes ******************************************************************/ @@ -480,7 +480,7 @@ public class ClassWriter extends ClassFile { return attrCount; } -/********************************************************************** +/* ******************************************************************** * Writing Java-language annotations (aka metadata, attributes) **********************************************************************/ @@ -741,7 +741,7 @@ public class ClassWriter extends ClassFile { } } -/********************************************************************** +/* ******************************************************************** * Writing module attributes **********************************************************************/ @@ -823,7 +823,7 @@ public class ClassWriter extends ClassFile { return 1; } -/********************************************************************** +/* ******************************************************************** * Writing Objects **********************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java index b86bdc19be4..703e1cb0c9c 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Code.java @@ -1219,7 +1219,7 @@ public class Code { return !alive || state.stacksize == letExprStackPos; } -/************************************************************************** +/* ************************************************************************ * Stack map generation *************************************************************************/ @@ -1394,7 +1394,7 @@ public class Code { } -/************************************************************************** +/* ************************************************************************ * Operations having to do with jumps *************************************************************************/ @@ -2238,7 +2238,7 @@ public class Code { for (int i = nextreg; i < prevNextReg; i++) endScope(i); } -/************************************************************************** +/* ************************************************************************ * static tables *************************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java index c63706639b3..9cc0f6e3b6d 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/tree/Pretty.java @@ -417,7 +417,7 @@ public class Pretty extends JCTree.Visitor { return v.result; } - /************************************************************************** + /* ************************************************************************ * Visitor methods *************************************************************************/ diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java index b4260b84e1d..1491c65180c 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java @@ -819,7 +819,7 @@ public class Log extends AbstractLog { // backdoor hook for testing, should transition to use -XDrawDiagnostics private static boolean useRawMessages = false; -/*************************************************************************** +/* ************************************************************************* * raw error messages without internationalization; used for experimentation * and quick prototyping ***************************************************************************/