mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
7074189: some javac tests fail with latest jtreg 4.1 b03
Reviewed-by: darcy
This commit is contained in:
parent
dba9612ad9
commit
4cd6c8c31e
4 changed files with 115 additions and 27 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -27,14 +27,14 @@
|
|||
* @summary Test that annotation processor options with illegal syntax are rejected
|
||||
* @author Joseph D. Darcy
|
||||
* @library ../../lib
|
||||
* @build JavacTestingAbstractProcessor
|
||||
* @build JavacTestingAbstractProcessor CompileFail
|
||||
* @compile TestOptionSyntaxErrors.java
|
||||
* @compile/fail -A TestOptionSyntaxErrors.java
|
||||
* @compile/fail -A8adOption TestOptionSyntaxErrors.java
|
||||
* @compile/fail -A8adOption=1worseOption TestOptionSyntaxErrors.java
|
||||
* @compile/fail -processor TestOptionSyntaxErrors -proc:only -A TestOptionSyntaxErrors.java
|
||||
* @compile/fail -processor TestOptionSyntaxErrors -proc:only -A8adOption TestOptionSyntaxErrors.java
|
||||
* @compile/fail -processor TestOptionSyntaxErrors -proc:only -A8adOption=1worseOption TestOptionSyntaxErrors.java
|
||||
* @run main CompileFail CMDERR -A TestOptionSyntaxErrors.java
|
||||
* @run main CompileFail CMDERR -A8adOption TestOptionSyntaxErrors.java
|
||||
* @run main CompileFail CMDERR -A8adOption=1worseOption TestOptionSyntaxErrors.java
|
||||
* @run main CompileFail CMDERR -processor TestOptionSyntaxErrors -proc:only -A TestOptionSyntaxErrors.java
|
||||
* @run main CompileFail CMDERR -processor TestOptionSyntaxErrors -proc:only -A8adOption TestOptionSyntaxErrors.java
|
||||
* @run main CompileFail CMDERR -processor TestOptionSyntaxErrors -proc:only -A8adOption=1worseOption TestOptionSyntaxErrors.java
|
||||
*/
|
||||
|
||||
import java.util.Set;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue