mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8196433: use the new error diagnostic approach at javac.Main
Reviewed-by: jjg
This commit is contained in:
parent
c215aa5889
commit
03a10ec7b2
31 changed files with 638 additions and 441 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012, 2018, 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
|
||||
|
@ -84,7 +84,7 @@ public class DocLintTest {
|
|||
DL_ERR9(ERROR, "Test.java:9:14: compiler.err.proc.messager: reference not found"),
|
||||
DL_WRN12(WARNING, "Test.java:12:9: compiler.warn.proc.messager: no description for @return"),
|
||||
|
||||
OPT_BADARG(ERROR, "invalid flag: -Xdoclint:badarg");
|
||||
OPT_BADARG(ERROR, "error: invalid flag: -Xdoclint:badarg");
|
||||
|
||||
final Diagnostic.Kind kind;
|
||||
final String text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue