Validate -Xjsr305 value in CLI

This commit is contained in:
e5l
2017-09-11 13:31:02 +06:00
committed by Leonid Stashevsky
parent 95d32d8d1e
commit c512db8e1c
5 changed files with 64 additions and 10 deletions
+8
View File
@@ -0,0 +1,8 @@
warning: option 'enable' for -Xjsr305 flag is deprecated. Please use 'strict' instead
error: unrecognized -Xjsr305 value: under-migration:stct
error: unrecognized -Xjsr305 value: @hello:warning
error: conflict duplicating -Xjsr305 value: @hello:warn, @hello:ignore
error: conflict duplicating -Xjsr305 value: strict, strict
error: conflict duplicating -Xjsr305 value: strict, ignore
error: conflict duplicating -Xjsr305 value: under-migration:ignore, under-migration:strict
COMPILATION_ERROR