mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8012728: Normalize @ignore comments on langtools tests
Reviewed-by: vromero, mcimadamore
This commit is contained in:
parent
0ab1bb68cc
commit
155bd74411
26 changed files with 81 additions and 62 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -22,14 +22,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* test
|
* @ test
|
||||||
* @bug 0000000
|
* @ bug <BUG-ID>
|
||||||
* @summary <DESC>
|
* @ summary <BUG-SYNOPSIS>
|
||||||
* @author jamieh
|
* @ author <AUTHOR> or delete
|
||||||
* @ library ../lib/
|
* @ library ../lib/
|
||||||
* @ignore This is a template for regression tests.
|
* @ build JavadocTester <CLASS NAME>
|
||||||
* @build JavadocTester
|
|
||||||
* @build <CLASS NAME>
|
|
||||||
* @ run main <CLASS NAME>
|
* @ run main <CLASS NAME>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -22,14 +22,12 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* test
|
* @ test
|
||||||
* @bug 0000000
|
* @ bug <BUG-ID>
|
||||||
* @summary <DESC>
|
* @ summary <BUG-SYNOPSIS>
|
||||||
* @author jamieh
|
* @ author <AUTHOR> or delete
|
||||||
* @ library ../lib/
|
* @ library ../lib/
|
||||||
* @ignore This is a template for regression tests.
|
* @ build JavadocTester <CLASS NAME>
|
||||||
* @build JavadocTester
|
|
||||||
* @build <CLASS NAME>
|
|
||||||
* @ run main <CLASS NAME>
|
* @ run main <CLASS NAME>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
private static final String[][] NEGATED_TEST = NO_TEST;
|
private static final String[][] NEGATED_TEST = NO_TEST;
|
||||||
private static final String[][] TEST = {
|
private static final String[][] TEST = {
|
||||||
// Test for type annotations on Class Extends (ClassExtends.java).
|
// Test for type annotations on Class Extends (ClassExtends.java).
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "MyClass.html",
|
{BUG_ID + FS + "typeannos" + FS + "MyClass.html",
|
||||||
"extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
|
"extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
|
||||||
"in typeannos\">@ClassExtA</a> <a href=\"../typeannos/ParameterizedClass.html\" " +
|
"in typeannos\">@ClassExtA</a> <a href=\"../typeannos/ParameterizedClass.html\" " +
|
||||||
|
@ -54,7 +54,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"@ClassExtB</a> java.lang.String>"
|
"@ClassExtB</a> java.lang.String>"
|
||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "MyClass.html",
|
{BUG_ID + FS + "typeannos" + FS + "MyClass.html",
|
||||||
"implements <a href=\"../typeannos/ClassExtB.html\" title=\"" +
|
"implements <a href=\"../typeannos/ClassExtB.html\" title=\"" +
|
||||||
"annotation in typeannos\">@ClassExtB</a> java.lang.CharSequence, " +
|
"annotation in typeannos\">@ClassExtB</a> java.lang.CharSequence, " +
|
||||||
|
@ -65,7 +65,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"typeannos\">@ClassExtB</a> java.lang.String></pre>"
|
"typeannos\">@ClassExtB</a> java.lang.String></pre>"
|
||||||
},
|
},
|
||||||
*/
|
*/
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "MyInterface.html",
|
{BUG_ID + FS + "typeannos" + FS + "MyInterface.html",
|
||||||
"extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
|
"extends <a href=\"../typeannos/ClassExtA.html\" title=\"annotation " +
|
||||||
"in typeannos\">@ClassExtA</a> <a href=\"../typeannos/" +
|
"in typeannos\">@ClassExtA</a> <a href=\"../typeannos/" +
|
||||||
|
@ -83,7 +83,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"href=\"../typeannos/ClassParamA.html\" title=\"annotation in " +
|
"href=\"../typeannos/ClassParamA.html\" title=\"annotation in " +
|
||||||
"typeannos\">@ClassParamA</a> java.lang.String></span>"
|
"typeannos\">@ClassParamA</a> java.lang.String></span>"
|
||||||
},
|
},
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "ExtendsGeneric.html",
|
{BUG_ID + FS + "typeannos" + FS + "ExtendsGeneric.html",
|
||||||
"<pre> class <span class=\"strong\">ExtendsGeneric<K extends " +
|
"<pre> class <span class=\"strong\">ExtendsGeneric<K extends " +
|
||||||
"<a href=\"../typeannos/ClassParamA.html\" title=\"annotation in " +
|
"<a href=\"../typeannos/ClassParamA.html\" title=\"annotation in " +
|
||||||
|
@ -119,7 +119,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
},
|
},
|
||||||
|
|
||||||
// Test for type annotations on fields (Fields.java).
|
// Test for type annotations on fields (Fields.java).
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "DefaultScope.html",
|
{BUG_ID + FS + "typeannos" + FS + "DefaultScope.html",
|
||||||
"<pre><a href=\"../typeannos/Parameterized.html\" title=\"class in " +
|
"<pre><a href=\"../typeannos/Parameterized.html\" title=\"class in " +
|
||||||
"typeannos\">Parameterized</a><<a href=\"../typeannos/FldA.html\" " +
|
"typeannos\">Parameterized</a><<a href=\"../typeannos/FldA.html\" " +
|
||||||
|
@ -147,7 +147,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"typeannos\">@FldC</a> <a href=\"../typeannos/FldB.html\" title=\"" +
|
"typeannos\">@FldC</a> <a href=\"../typeannos/FldB.html\" title=\"" +
|
||||||
"annotation in typeannos\">@FldB</a> [] array2Deep</pre>"
|
"annotation in typeannos\">@FldB</a> [] array2Deep</pre>"
|
||||||
},
|
},
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "ModifiedScoped.html",
|
{BUG_ID + FS + "typeannos" + FS + "ModifiedScoped.html",
|
||||||
"<pre>public final <a href=\"../typeannos/Parameterized.html\" " +
|
"<pre>public final <a href=\"../typeannos/Parameterized.html\" " +
|
||||||
"title=\"class in typeannos\">Parameterized</a><<a href=\"../" +
|
"title=\"class in typeannos\">Parameterized</a><<a href=\"../" +
|
||||||
|
@ -184,7 +184,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"<pre><a href=\"../typeannos/MRtnA.html\" title=\"annotation in " +
|
"<pre><a href=\"../typeannos/MRtnA.html\" title=\"annotation in " +
|
||||||
"typeannos\">@MRtnA</a> java.lang.String[][] array2()</pre>"
|
"typeannos\">@MRtnA</a> java.lang.String[][] array2()</pre>"
|
||||||
},
|
},
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "MtdModifiedScoped.html",
|
{BUG_ID + FS + "typeannos" + FS + "MtdModifiedScoped.html",
|
||||||
"<pre>public final <a href=\"../typeannos/MtdParameterized.html\" " +
|
"<pre>public final <a href=\"../typeannos/MtdParameterized.html\" " +
|
||||||
"title=\"class in typeannos\">MtdParameterized</a><<a href=\"../" +
|
"title=\"class in typeannos\">MtdParameterized</a><<a href=\"../" +
|
||||||
|
@ -205,7 +205,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"annotation in typeannos\">@MTyParamA</a> java.lang.String>" +
|
"annotation in typeannos\">@MTyParamA</a> java.lang.String>" +
|
||||||
" void methodExtends()</pre>"
|
" void methodExtends()</pre>"
|
||||||
},
|
},
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "UnscopedUnmodified.html",
|
{BUG_ID + FS + "typeannos" + FS + "UnscopedUnmodified.html",
|
||||||
"<pre><K extends <a href=\"../typeannos/MTyParamA.html\" title=\"" +
|
"<pre><K extends <a href=\"../typeannos/MTyParamA.html\" title=\"" +
|
||||||
"annotation in typeannos\">@MTyParamA</a> <a href=\"../typeannos/" +
|
"annotation in typeannos\">@MTyParamA</a> <a href=\"../typeannos/" +
|
||||||
|
@ -220,7 +220,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"MTyParamA.html\" title=\"annotation in typeannos\">@MTyParamA</a> " +
|
"MTyParamA.html\" title=\"annotation in typeannos\">@MTyParamA</a> " +
|
||||||
"java.lang.String> void methodExtends()</pre>"
|
"java.lang.String> void methodExtends()</pre>"
|
||||||
},
|
},
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "PublicModifiedMethods.html",
|
{BUG_ID + FS + "typeannos" + FS + "PublicModifiedMethods.html",
|
||||||
"<pre>public final <K extends <a href=\"../typeannos/" +
|
"<pre>public final <K extends <a href=\"../typeannos/" +
|
||||||
"MTyParamA.html\" title=\"annotation in typeannos\">@MTyParamA</a> " +
|
"MTyParamA.html\" title=\"annotation in typeannos\">@MTyParamA</a> " +
|
||||||
|
@ -240,7 +240,7 @@ public class TestTypeAnnotations extends JavadocTester {
|
||||||
"ParaParameterized</a><java.lang.String,java.lang.String>" +
|
"ParaParameterized</a><java.lang.String,java.lang.String>" +
|
||||||
" a)</pre>"
|
" a)</pre>"
|
||||||
},
|
},
|
||||||
/* @ignore 8012173
|
/* @ignore 8012173: javadoc does not receive all type annotations information from javac
|
||||||
{BUG_ID + FS + "typeannos" + FS + "Parameters.html",
|
{BUG_ID + FS + "typeannos" + FS + "Parameters.html",
|
||||||
"<pre>void nestedParaParameterized(<a href=\"../typeannos/" +
|
"<pre>void nestedParaParameterized(<a href=\"../typeannos/" +
|
||||||
"ParaParameterized.html\" title=\"class in typeannos\">" +
|
"ParaParameterized.html\" title=\"class in typeannos\">" +
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -24,7 +24,6 @@
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8006735
|
* @bug 8006735
|
||||||
* @ignore
|
|
||||||
* @summary Smoke test for ensuring that annotations are emited to javadoc
|
* @summary Smoke test for ensuring that annotations are emited to javadoc
|
||||||
*
|
*
|
||||||
* @author Mahmood Ali <mali>
|
* @author Mahmood Ali <mali>
|
||||||
|
@ -37,7 +36,7 @@
|
||||||
public class TestSmoke extends JavadocTester {
|
public class TestSmoke extends JavadocTester {
|
||||||
|
|
||||||
//Test information.
|
//Test information.
|
||||||
private static final String BUG_ID = "NOT_SPECIFIED_YET";
|
private static final String BUG_ID = "8006735";
|
||||||
|
|
||||||
//Javadoc arguments.
|
//Javadoc arguments.
|
||||||
private static final String[] ARGS = new String[] {
|
private static final String[] ARGS = new String[] {
|
||||||
|
@ -47,19 +46,37 @@ public class TestSmoke extends JavadocTester {
|
||||||
//Input for string search tests.
|
//Input for string search tests.
|
||||||
private static final String[][] TEST = {
|
private static final String[][] TEST = {
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x1C.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x1C.html", "@DA"},
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x1D.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x1D.html", "@DA"},
|
||||||
|
*/
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x0D.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x0D.html", "@DA"},
|
||||||
|
*/
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x06.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x06.html", "@DA"},
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x0B.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x0B.html", "@DA"},
|
||||||
|
*/
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x0F.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x0F.html", "@DA"},
|
||||||
|
*/
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x20.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x20.html", "@DA"},
|
||||||
|
*/
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x22.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x22.html", "@DA"},
|
||||||
|
*/
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x10.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x10.html", "@DA"},
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x10A.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x10A.html", "@DA"},
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x12.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x12.html", "@DA"},
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x11.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x11.html", "@DA"},
|
||||||
|
*/
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x13.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x13.html", "@DA"},
|
||||||
|
*/
|
||||||
|
/* @ignore 8013406: Test cases fail in javadoc test TestSmoke.java
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x15.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x15.html", "@DA"},
|
||||||
|
*/
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x14.html", "@DA"},
|
{BUG_ID + FS + "pkg" + FS + "T0x14.html", "@DA"},
|
||||||
{BUG_ID + FS + "pkg" + FS + "T0x16.html", "@DA"}
|
{BUG_ID + FS + "pkg" + FS + "T0x16.html", "@DA"}
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8005085 8005877 8004829 8005681 8006734 8006775
|
* @bug 8005085 8005877 8004829 8005681 8006734 8006775
|
||||||
* @ignore
|
* @ignore 8013409: test failures for type annotations
|
||||||
* @summary Combinations of Target ElementTypes on (repeated)type annotations.
|
* @summary Combinations of Target ElementTypes on (repeated)type annotations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8005085 8005877 8004829 8005681 8006734 8006775
|
* @bug 8005085 8005877 8004829 8005681 8006734 8006775
|
||||||
* @ignore
|
* @ignore 8013409: test failures for type annotations
|
||||||
* @summary Combinations of Target ElementTypes on (repeated)type annotations.
|
* @summary Combinations of Target ElementTypes on (repeated)type annotations.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* @test /nodynamiccopyright/
|
* @test /nodynamiccopyright/
|
||||||
* @bug 8006733 8006775
|
* @bug 8006733 8006775
|
||||||
* @ignore
|
* @ignore 8013409: test failures for type annotations
|
||||||
* @summary A static outer class cannot be annotated.
|
* @summary A static outer class cannot be annotated.
|
||||||
* @author Werner Dietl
|
* @author Werner Dietl
|
||||||
* @compile/fail/ref=CantAnnotateStaticClass.out -XDrawDiagnostics CantAnnotateStaticClass.java
|
* @compile/fail/ref=CantAnnotateStaticClass.out -XDrawDiagnostics CantAnnotateStaticClass.java
|
||||||
|
|
|
@ -25,7 +25,7 @@ import java.lang.annotation.*;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @ignore // syntax not sure yet.
|
* @ignore 8013408: Need specification for type exceptions on multicatch
|
||||||
* @bug 8006775
|
* @bug 8006775
|
||||||
* @summary new type annotation location: multicatch
|
* @summary new type annotation location: multicatch
|
||||||
* @author Werner Dietl
|
* @author Werner Dietl
|
||||||
|
|
|
@ -26,7 +26,7 @@ import static com.sun.tools.classfile.TypeAnnotation.TargetType.*;
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8006732 8006775
|
* @bug 8006732 8006775
|
||||||
* @ignore
|
* @ignore 8013408: Need specification for type exceptions on multicatch
|
||||||
* @summary Test population of reference info for multicatch exception parameters
|
* @summary Test population of reference info for multicatch exception parameters
|
||||||
* @author Werner Dietl
|
* @author Werner Dietl
|
||||||
* @compile -g Driver.java ReferenceInfoUtil.java MultiCatch.java
|
* @compile -g Driver.java ReferenceInfoUtil.java MultiCatch.java
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @test
|
* @test
|
||||||
* @ignore 8004360
|
* @ignore 8007517: DefaultMethodRegressionTests.java fail in TL
|
||||||
* @bug 8003639
|
* @bug 8003639
|
||||||
* @summary convert lambda testng tests to jtreg and add them
|
* @summary convert lambda testng tests to jtreg and add them
|
||||||
* @run testng DefaultMethodRegressionTests
|
* @run testng DefaultMethodRegressionTests
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
/*
|
/*
|
||||||
* @test /nodynamiccopyright/
|
* @test /nodynamiccopyright/
|
||||||
* @ignore backing out 7034511, see 7040883
|
* @ignore 7041019 Bogus type-variable substitution with array types with dependencies on accessibility check
|
||||||
* @bug 7034511 7040883
|
* @bug 7034511 7040883
|
||||||
* @summary Loophole in typesafety
|
* @summary Loophole in typesafety
|
||||||
* @compile/fail/ref=T7034511a.out -XDrawDiagnostics T7034511a.java
|
* @compile/fail/ref=T7034511a.out -XDrawDiagnostics T7034511a.java
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// backing out 7034511, see 7040883
|
||||||
|
|
||||||
class T7034511a {
|
class T7034511a {
|
||||||
|
|
||||||
interface A<T> {
|
interface A<T> {
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
/*
|
/*
|
||||||
* @test /nodynamiccopyright/
|
* @test /nodynamiccopyright/
|
||||||
* @ignore backing out 7034511, see 7040883
|
* @ignore 7041019 Bogus type-variable substitution with array types with dependencies on accessibility check
|
||||||
* @bug 7034511 7040883
|
* @bug 7034511 7040883
|
||||||
* @summary Loophole in typesafety
|
* @summary Loophole in typesafety
|
||||||
* @compile/fail/ref=T7034511b.out -XDrawDiagnostics T7034511b.java
|
* @compile/fail/ref=T7034511b.out -XDrawDiagnostics T7034511b.java
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// backing out 7034511, see 7040883
|
||||||
|
|
||||||
class T7034511b {
|
class T7034511b {
|
||||||
static class MyList<E> {
|
static class MyList<E> {
|
||||||
E toArray(E[] e) { return null; }
|
E toArray(E[] e) { return null; }
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -24,11 +24,13 @@
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 6337171 6996415
|
* @bug 6337171 6996415
|
||||||
* @ignore fix has been disabled as a consequence of 6996415
|
* @ignore 6996758: Investigate better override bridges strategy
|
||||||
* @summary javac should create bridge methods when type variable bounds restricted
|
* @summary javac should create bridge methods when type variable bounds restricted
|
||||||
* @run main OverrideBridge
|
* @run main OverrideBridge
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// fix, and test, has been disabled as a consequence of 6996415
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.URI;
|
import java.net.URI;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @ignore
|
* @ignore 8013404: Test awaits spec clarification
|
||||||
* @bug 8003280
|
* @bug 8003280
|
||||||
* @summary Add lambda tests
|
* @summary Add lambda tests
|
||||||
* check that target type of cast is propagated to conditional subexpressions
|
* check that target type of cast is propagated to conditional subexpressions
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 8007464
|
* @bug 8007464
|
||||||
* @summary Add graph inference support
|
* @summary Add graph inference support
|
||||||
* smoke test for graph inference
|
* smoke test for graph inference
|
||||||
* @ignore awaits stream API: 800NNNN
|
* @ignore 8008682: Core stream API classes
|
||||||
* @compile TargetType53.java
|
* @compile TargetType53.java
|
||||||
*/
|
*/
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 8007464
|
* @bug 8007464
|
||||||
* @summary Add graph inference support
|
* @summary Add graph inference support
|
||||||
* smoke test for graph inference
|
* smoke test for graph inference
|
||||||
* @ignore awaits stream API: 800NNNN
|
* @ignore 8008682: Core stream API classes
|
||||||
* @compile TargetType54.java
|
* @compile TargetType54.java
|
||||||
*/
|
*/
|
||||||
import java.util.stream.*;
|
import java.util.stream.*;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 8007464
|
* @bug 8007464
|
||||||
* @summary Add graph inference support
|
* @summary Add graph inference support
|
||||||
* more smoke tests for graph inference
|
* more smoke tests for graph inference
|
||||||
* @ignore awaits stream API: 800NNNN
|
* @ignore 8008682: Core stream API classes
|
||||||
* @compile TargetType58.java
|
* @compile TargetType58.java
|
||||||
*/
|
*/
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 8007464
|
* @bug 8007464
|
||||||
* @summary Add graph inference support
|
* @summary Add graph inference support
|
||||||
* more smoke tests for graph inference
|
* more smoke tests for graph inference
|
||||||
* @ignore awaits stream API: 800NNNN
|
* @ignore 8008682: Core stream API classes
|
||||||
* @compile TargetType59.java
|
* @compile TargetType59.java
|
||||||
*/
|
*/
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* @bug 8007464
|
* @bug 8007464
|
||||||
* @summary Add graph inference support
|
* @summary Add graph inference support
|
||||||
* check that new wildcards inference strategy doesn't run into 7190296
|
* check that new wildcards inference strategy doesn't run into 7190296
|
||||||
* @ignore awaits stream API: 800NNNN
|
* @ignore 8008682: Core stream API classes
|
||||||
* @compile TargetType62.java
|
* @compile TargetType62.java
|
||||||
*/
|
*/
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @ignore
|
|
||||||
* @test
|
* @test
|
||||||
* @bug 8004822
|
* @bug 8004822
|
||||||
* @author mnunez
|
* @author mnunez
|
||||||
* @summary Language model api test basics for repeating annotations
|
* @summary Language model api test basics for repeating annotations
|
||||||
* @library /tools/javac/lib
|
* @library /tools/javac/lib
|
||||||
* @library supportingAnnotations
|
* @library supportingAnnotations
|
||||||
|
* @ignore 8013407: test failures for repeating annotations
|
||||||
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
||||||
* @compile -processor ElementRepAnnoTester -proc:only
|
* @compile -processor ElementRepAnnoTester -proc:only
|
||||||
* MixRepeatableAndOfficialContainerInheritedA1Test.java
|
* MixRepeatableAndOfficialContainerInheritedA1Test.java
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @ignore
|
|
||||||
* @test
|
* @test
|
||||||
* @bug 8004822
|
* @bug 8004822
|
||||||
* @author mnunez
|
* @author mnunez
|
||||||
* @summary Language model api test basics for repeating annotations
|
* @summary Language model api test basics for repeating annotations
|
||||||
* @library /tools/javac/lib
|
* @library /tools/javac/lib
|
||||||
* @library supportingAnnotations
|
* @library supportingAnnotations
|
||||||
|
* @ignore 8013407: test failures for repeating annotations
|
||||||
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
||||||
* @compile -processor ElementRepAnnoTester -proc:only
|
* @compile -processor ElementRepAnnoTester -proc:only
|
||||||
* MixRepeatableAndOfficialContainerInheritedB1Test.java
|
* MixRepeatableAndOfficialContainerInheritedB1Test.java
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @ignore
|
|
||||||
* @test
|
* @test
|
||||||
* @bug 8004822
|
* @bug 8004822
|
||||||
* @author mnunez
|
* @author mnunez
|
||||||
* @summary Language model api test basics for repeating annotations
|
* @summary Language model api test basics for repeating annotations
|
||||||
* @library /tools/javac/lib
|
* @library /tools/javac/lib
|
||||||
* @library supportingAnnotations
|
* @library supportingAnnotations
|
||||||
|
* @ignore 8013407: test failures for repeating annotations
|
||||||
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
||||||
* @compile -processor ElementRepAnnoTester -proc:only
|
* @compile -processor ElementRepAnnoTester -proc:only
|
||||||
* MixRepeatableAndOfficialContainerInheritedB2Test.java
|
* MixRepeatableAndOfficialContainerInheritedB2Test.java
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @ignore
|
|
||||||
* @test
|
* @test
|
||||||
* @bug 8004822
|
* @bug 8004822
|
||||||
* @author mnunez
|
* @author mnunez
|
||||||
* @summary Language model api test basics for repeating annotations
|
* @summary Language model api test basics for repeating annotations
|
||||||
* @library /tools/javac/lib
|
* @library /tools/javac/lib
|
||||||
* @library supportingAnnotations
|
* @library supportingAnnotations
|
||||||
|
* @ignore 8013407: test failures for repeating annotations
|
||||||
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
||||||
* @compile -processor ElementRepAnnoTester -proc:only RepeatableOverrideATest.java
|
* @compile -processor ElementRepAnnoTester -proc:only RepeatableOverrideATest.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -22,13 +22,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @ignore
|
|
||||||
* @test
|
* @test
|
||||||
* @bug 8004822
|
* @bug 8004822
|
||||||
* @author mnunez
|
* @author mnunez
|
||||||
* @summary Language model api test basics for repeating annotations
|
* @summary Language model api test basics for repeating annotations
|
||||||
* @library /tools/javac/lib
|
* @library /tools/javac/lib
|
||||||
* @library supportingAnnotations
|
* @library supportingAnnotations
|
||||||
|
* @ignore 8013407: test failures for repeating annotations
|
||||||
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
* @build JavacTestingAbstractProcessor ElementRepAnnoTester
|
||||||
* @compile -processor ElementRepAnnoTester -proc:only RepeatableOverrideBTest.java
|
* @compile -processor ElementRepAnnoTester -proc:only RepeatableOverrideBTest.java
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -128,8 +128,8 @@ public abstract class Tester {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Individual test-cases failing due to product bugs, may temporarily
|
* Individual test-cases failing due to product bugs, may temporarily
|
||||||
* be excluded by marking them like this:
|
* be excluded by marking them like this, (where "at-" is replaced by "@")
|
||||||
* @ignore // 1234567:bug synopsis
|
* at-ignore // 1234567: bug synopsis
|
||||||
*/
|
*/
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@interface ignore { }
|
@interface ignore { }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue