8354968: Replace unicode sequences in comment text with UTF-8 characters

Reviewed-by: naoto
This commit is contained in:
Magnus Ihse Bursie 2025-05-14 06:42:07 +00:00
parent dd2515993b
commit a3e094e1a0
153 changed files with 156 additions and 158 deletions

View File

@ -138,7 +138,7 @@ public abstract class Collator
* Collator strength value. When set, only SECONDARY and above differences are
* considered significant during comparison. The assignment of strengths
* to language features is locale dependent. A common example is for
* different accented forms of the same base letter ("a" vs "\u00E4") to be
* different accented forms of the same base letter ("a" vs "ä" (U+00E9)) to be
* considered a SECONDARY difference.
* @see java.text.Collator#setStrength
* @see java.text.Collator#getStrength

View File

@ -591,7 +591,7 @@ public class RuleBasedCollator extends Collator{
// Here's a hypothetical example, with the collation element represented as
// a three-digit number, one digit for primary, one for secondary, etc.
//
// String: A a B \u00e9 <--(e-acute)
// String: A a B é (U+00E9, e-acute)
// Collation Elements: 101 100 201 510
//
// Collation Key: 1125<null>0001<null>1010

View File

@ -145,7 +145,7 @@ class LocaleISOData {
+ "mt" + "mlt" // Maltese
+ "my" + "mya" // Burmese
+ "na" + "nau" // Nauru
+ "nb" + "nob" // Norwegian Bokm\u00e5l
+ "nb" + "nob" // Norwegian Bokmål
+ "nd" + "nde" // North Ndebele
+ "ne" + "nep" // Nepali
+ "ng" + "ndo" // Ndonga
@ -209,7 +209,7 @@ class LocaleISOData {
+ "uz" + "uzb" // Uzbek
+ "ve" + "ven" // Venda
+ "vi" + "vie" // Vietnamese
+ "vo" + "vol" // Volap\u00fck
+ "vo" + "vol" // Volapük
+ "wa" + "wln" // Walloon
+ "wo" + "wol" // Wolof
+ "xh" + "xho" // Xhosa
@ -250,7 +250,7 @@ class LocaleISOData {
+ "BH" + "BHR" // Bahrain, Kingdom of
+ "BI" + "BDI" // Burundi, Republic of
+ "BJ" + "BEN" // Benin, People's Republic of
+ "BL" + "BLM" // Saint Barth\u00e9lemy
+ "BL" + "BLM" // Saint Barthélemy
+ "BM" + "BMU" // Bermuda
+ "BN" + "BRN" // Brunei Darussalam
+ "BO" + "BOL" // Bolivia, Plurinational State of
@ -278,7 +278,7 @@ class LocaleISOData {
// + "CS" + "SCG" // Serbia and Montenegro
+ "CU" + "CUB" // Cuba, Republic of
+ "CV" + "CPV" // Cape Verde, Republic of
+ "CW" + "CUW" // Cura\u00e7ao
+ "CW" + "CUW" // Curaçao
+ "CX" + "CXR" // Christmas Island
+ "CY" + "CYP" // Cyprus, Republic of
+ "CZ" + "CZE" // Czech Republic

View File

@ -63,7 +63,7 @@ import com.sun.tools.javac.util.PropagatedException;
* risk. This code and its internal interfaces are subject to change
* or deletion without notice.</b></p>
*
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
public final class JavacTool implements JavaCompiler {
/**

View File

@ -33,7 +33,7 @@ package com.sun.tools.javac.util;
* risk. This code and its internal interfaces are subject to change
* or deletion without notice.</b></p>
*
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
public class PropagatedException extends RuntimeException {

View File

@ -66,7 +66,7 @@ import jdk.internal.joptsimple.internal.Messages;
/**
* Converts values to {@link java.net.InetAddress} using {@link InetAddress#getByName(String) getByName}.
*
* @author <a href="mailto:r@ymund.de">Raymund F\u00FCl\u00F6p</a>
* @author <a href="mailto:r@ymund.de">Raymund Fülöp</a>
*/
public class InetAddressConverter implements ValueConverter<InetAddress> {
public InetAddress convert( String value ) {

View File

@ -24,7 +24,7 @@
/*
*
* @summary Check getEnclosingClass and other methods
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*
* a) Top level classes
* b) Nested classes (static member classes)

View File

@ -28,7 +28,7 @@
* @modules jdk.compiler
* @run testng/othervm EnclosingClassTest
* @summary Check getEnclosingClass and other methods
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
import java.io.BufferedReader;
@ -206,4 +206,3 @@ public class EnclosingClassTest {
}
}
}

View File

@ -23,7 +23,7 @@
/*
* @summary Check getEnclosingClass and other methods
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
package common;

View File

@ -25,7 +25,7 @@
* @test
* @bug 5078378
* @summary REGRESSION: Some calls to Collections.binarySearch no longer compile
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*
* @compile T5078378.java
* @compile/fail -Xlint:unchecked -Werror T5078378.java

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6330920
* @summary Verify that javac doesn't duplicate method error on method with error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T6330920.out -XDrawDiagnostics T6330920.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6457284
* @summary Internationalize "unnamed package" when the term is used in diagnostics
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler/com.sun.tools.javac.api
* jdk.compiler/com.sun.tools.javac.util
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6399361
* @summary java.lang.Override specification should be revised
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile InterfaceImplements.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6399361
* @summary java.lang.Override specification should be revised
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile InterfaceOverride.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6399361
* @summary java.lang.Override specification should be revised
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=Private.out -XDrawDiagnostics Private.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6326485
* @summary Compiler does not enforce rule that interfaces may not use Override annotation
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile T6326485.java
*/

View File

@ -25,7 +25,6 @@
* @test
* @bug 4093617
* @summary Object has no superclass
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/module=java.base/fail/ref=T4093617.out -XDrawDiagnostics java/lang/Object.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 4848619
* @summary static final variable declared after use and self initialized
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T4848619a.out -XDrawDiagnostics T4848619a.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 4848619
* @summary static final variable declared after use and self initialized
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T4848619b.out -XDrawDiagnostics T4848619b.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6229758
* @summary deprecatedNOT! is
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile -Xlint:deprecation DeprecatedYES.java
* @compile/fail/ref=DeprecatedYES.out -XDrawDiagnostics -Werror -Xlint:deprecation DeprecatedYES.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 4994049
* @summary Improved diagnostics while parsing enums
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T4994049.out -XDrawDiagnostics T4994049.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5003235
* @summary Private inner class accessible from subclasses
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T5003235a.out -XDrawDiagnostics T5003235a.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5003235
* @summary Accessibility of private inner class
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T5003235b.out -XDrawDiagnostics T5003235b.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5003235
* @summary Access to private inner classes
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T5003235c.out -XDrawDiagnostics T5003235c.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 5092545
* @summary Assertion failed in javac (ClassWriter.java:513)
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
interface A { void g(); }

View File

@ -25,7 +25,7 @@
* @test
* @bug 5105890
* @summary (codegen) constant folding broken for conditional operator
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
public class T5105890 {

View File

@ -25,7 +25,7 @@
* @test
* @bug 6180021
* @summary CompletionFailure during TypeTrans
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile Super.java
* @clean Missing
* @compile AbstractSub.java

View File

@ -25,7 +25,7 @@
* @test
* @bug 6180021
* @summary CompletionFailure during TypeTrans
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile Super.java
* @clean Missing
* @compile Sub.java

View File

@ -25,7 +25,7 @@
* @test
* @bug 6231246
* @summary Javac crash with -g:none
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile -g:none T6231246.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6231847
* @summary Crash in com.sun.tools.javac.comp.Attr.visitNewClass:1352
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T6231847.out -XDdev -XDrawDiagnostics T6231847.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6266772
* @summary javac crashes, assertion failure in Lower.java
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
public class T6266772 {

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6407257
* @summary javac locks up when encountering cyclic inheritance
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T6407257.out -XDrawDiagnostics T6407257.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6393539
* @summary no compile-time error for clone, etc. in annotation type
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoAnnotationMethods.out -XDrawDiagnostics NoAnnotationMethods.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6393539
* @summary no compile-time error for clone, etc. in annotation type
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoClone.out -XDrawDiagnostics NoClone.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6393539
* @summary no compile-time error for clone, etc. in annotation type
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoObjectMethods.out -XDrawDiagnostics NoObjectMethods.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6393539
* @summary no compile-time error for clone, etc. in annotation type
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile AnnotationMethods.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6400303
* @summary REGRESSION: javadoc crashes in b75
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler/com.sun.tools.javac.api
* jdk.compiler/com.sun.tools.javac.code
* jdk.compiler/com.sun.tools.javac.comp

View File

@ -25,7 +25,7 @@
* @test
* @bug 6410643
* @summary JSR 199: The method JavaCompilerTool.run fails to handle null arguments
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6411310
* @summary JSR 199: FileObject should support user-friendly names via getName()
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6411333 6400208 6400225 6400267
* @summary Ensure 6400208, 6400225, and 6400267 are tested
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6412656 6443062
* @summary JSR 199: pass annotation processor instances to compiler
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -26,7 +26,7 @@
* @bug 6415780
* @summary JSR 199: javax.tools.JavaFileManager.getClassLoader always fails
* @author igor.tseytin@...
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6418694
* @summary JSR 199: JavaFileManager.hasLocation(Location)
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6420409
* @summary JSR 199: StandardFileManager: cannot set CLASS_PATH location
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6421111
* @summary NullPointerException thrown when retrieving bounds for the type parameter
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6421756
* @summary 6421756 JSR 199: In the method JavaCompilerTool.getTask 'options' can be supplied in the place of 'classes'
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6422215
* @summary JSR 199: What happens if a directory is missing
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6422327
* @summary JSR 199: JavaCompilerTool can compile and generate '.class' of non '.java' files
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6423003
* @summary JSR 199: confusing help message with compiler API
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6431257
* @summary JSR 199: Changes to JavaFileManager to support JSR 269 Filer API
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6437999
* @summary Unit test for encoding argument to standard file manager
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6440333
* @summary SimpleJavaFileObject.toString() generates URI with some extra message
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6440528
* @summary javac deposits package-info.class in bogus directory
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler/com.sun.tools.javac.file

View File

@ -25,7 +25,7 @@
* @test
* @bug 6452876
* @summary JSR 199: DiagnosticCollector.report(null) should throw NPE
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -26,7 +26,7 @@
* @bug 6468404
* @summary ExecutableElement.getParameters() uses raw type for class loaded from -g bytecode
* @author jesse.glick@...
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules java.compiler
* jdk.compiler

View File

@ -25,7 +25,7 @@
* @test
* @bug 6471599
* @summary Type of rhs cannot be obtained when assigning to erroneous symbol
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler/com.sun.tools.javac.util
* @compile Main.java
* @run main Main

View File

@ -25,7 +25,7 @@
* @test
* @bug 6399602
* @summary Verify that files are created relative to sibling
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6257235
* @summary setOption() and setExtendedOption() of JavacTool throws NullPointerException for undefined options
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6258271
* @summary DiagnosticMessage exposes internal name __input
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6265137
* @summary setOption() and setExtendedOption() of JavacTool will throw exception for some defined options
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -29,7 +29,7 @@
* jdk.compiler
* @compile -encoding utf-8 T6306137.java
* @run main T6306137
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
import java.io.File;

View File

@ -25,7 +25,7 @@
* @test
* @bug 6358786
* @summary Doccomments are not returned from Tree API
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler/com.sun.tools.javac.api
* @run main T6358786 T6358786.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6397104
* @summary JSR 199: JavaFileManager.getFileForOutput should have sibling argument
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6400205
* @summary getClassLoader(location) returns null if getLocation(location) returns null
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6400207
* @summary JSR 199: JavaFileManager.list and unset location
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6407011 6407066
* @summary javac crashes in b78 with NPE in JavacFileManager:293
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 4164450
* @summary JSR 199: Standard interface for Java compilers
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* java.desktop
* jdk.compiler

View File

@ -26,7 +26,7 @@
* @bug 6395981 6458819 7025784 8028543 8028544 8193291 8193292 8193292 8205393 8245585 8245585 8245585 8286034
* 8296150 8306585 8319414 8330183 8342982
* @summary JavaCompilerTool and Tool must specify version of JLS and JVMS
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules java.compiler
* jdk.compiler
* @run main/fail TestGetSourceVersions

View File

@ -25,7 +25,7 @@
* @test
* @bug 6344177 6392177
* @summary Can't get tree from a top level class
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler
* @compile TestGetTree.java
* @compile -processor TestGetTree -proc:only TestGetTree.java

View File

@ -25,7 +25,7 @@
* @test
* @bug 4813736 8015073
* @summary Provide a basic test of access to the Java Model from javac, and error messages
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler/com.sun.tools.javac.api
* @run main TestJavacTask TestJavacTask.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 4813736 8013256
* @summary Additional functionality test of task and JSR 269
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ./lib
* @modules jdk.compiler/com.sun.tools.javac.api
* jdk.compiler/com.sun.tools.javac.code

View File

@ -25,7 +25,7 @@
* @test
* @bug 6338064 6346249 6340951 6392177
* @summary Tree API: can't determine kind of operator
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library ../lib
* @modules jdk.compiler
* @build JavacTestingAbstractProcessor TestOperators

View File

@ -25,7 +25,7 @@
* @test
* @bug 6374357 6308351
* @summary PackageElement.getEnclosedElements() throws ClassReader$BadClassFileException
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @modules jdk.compiler/com.sun.tools.javac.api
* jdk.compiler/com.sun.tools.javac.code
* jdk.compiler/com.sun.tools.javac.comp

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5082929
* @summary Comparing Float and Integer
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T5082929.out -XDrawDiagnostics T5082929.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6348760
* @summary crash: java.lang.AssertionError at com.sun.tools.javac.comp.Lower.abstractLval(Lower.java:1853)
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @run main/othervm T6348760
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 5043020
* @summary Spurious unchecked cast warning
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile -Werror -Xlint:unchecked T5043020.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6302214
* @summary erroneus "inconvertible types" error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile -Xlint:unchecked -Werror T6302214a.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6424358 7025809
* @summary Synthesized static enum method values() is final
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @library /tools/javac/lib
* @modules java.compiler
* jdk.compiler

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5097250 5087624
* @summary Finalize methods on enums must be compile time error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoFinal.out -XDrawDiagnostics NoFinal.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5097250 5087624
* @summary Finalize methods on enums must be compile time error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoFinal2.out -XDrawDiagnostics NoFinal2.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5097250 5087624
* @summary Finalize methods on enums must be compile time error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoFinal3.out -XDrawDiagnostics NoFinal3.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5097250 5087624
* @summary Finalize methods on enums must be compile time error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoFinal4.out -XDrawDiagnostics NoFinal4.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5097250 5087624
* @summary Finalize methods on enums must be compile time error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=NoFinal5.out -XDrawDiagnostics NoFinal5.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 5097250
* @summary Finalize methods on enums must be compile time error
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
public enum OkFinal {

View File

@ -25,7 +25,7 @@
* @test
* @bug 5075242
* @summary Cannot make compound type involving Enums
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*
* @compile T5075242.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5081785
* @summary enums should be allowed in non-static contexts
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T5081785.out -XDrawDiagnostics --release 15 T5081785.java
* @compile T5081785.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6424491
* @summary javac accepts illegal forward references
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T6425594.out -XDrawDiagnostics -XDuseBeforeDeclarationWarning T6425594.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6209839
* @summary Illegal forward reference to enum constants allowed by javac
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=TestEnum1.out -XDrawDiagnostics TestEnum1.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6209839
* @summary Illegal forward reference to enum constants allowed by javac
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=TestEnum2.out -XDrawDiagnostics TestEnum2.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6209839
* @summary Illegal forward reference to enum constants allowed by javac
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=TestEnum3.out -XDrawDiagnostics TestEnum3.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6209839
* @summary Illegal forward reference to enum constants allowed by javac
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=TestEnum4.out -XDrawDiagnostics TestEnum4.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6209839
* @summary Illegal forward reference to enum constants allowed by javac
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=TestEnum5.out -XDrawDiagnostics TestEnum5.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 6424491
* @summary Cannot initialise nested enums
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=TestEnum6.out -XDrawDiagnostics TestEnum6.java
*/

View File

@ -2,7 +2,7 @@
* @test /nodynamiccopyright/
* @bug 5086027
* @summary Inner class of generic class cannot extend Throwable
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile/fail/ref=T5086027.out -XDrawDiagnostics T5086027.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 5086027
* @summary Inner class of generic class cannot extend Throwable
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile T5086027pos.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6192945
* @summary Declaration order of interdependent generic types should not matter
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile Method.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6207386
* @summary Undecidable type system leads to crash
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile Test.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6227936
* @summary Wrong type of inherited method using specialized type parameter
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile T6227936.java
*/

View File

@ -25,7 +25,7 @@
* @test
* @bug 6245699
* @summary Missing bridge for final method (gives AbstractMethodError at runtime)
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
*/
public class T6245699c {

View File

@ -25,7 +25,7 @@
* @test
* @bug 6292765
* @summary NPE at Check.checkCompatibleConcretes
* @author Peter von der Ah\u00e9
* @author Peter von der Ahé
* @compile T6292765.java
*/

Some files were not shown because too many files have changed in this diff Show More