Wed, 14 Aug 2013 18:58:39 -0700
6840442: JavaCompiler.getTask() has incomplete specification for IllegalArgumentException
Reviewed-by: jjg
src/share/classes/javax/tools/JavaCompiler.java | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/classes/javax/tools/JavaCompiler.java Wed Aug 14 16:41:01 2013 -0700 1.2 +++ b/src/share/classes/javax/tools/JavaCompiler.java Wed Aug 14 18:58:39 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -251,8 +251,8 @@ 1.11 * occurred in a user supplied component. The 1.12 * {@linkplain Throwable#getCause() cause} will be the error in 1.13 * user code. 1.14 - * @throws IllegalArgumentException if any of the given 1.15 - * compilation units are of other kind than 1.16 + * @throws IllegalArgumentException if any of the options are invalid, 1.17 + * or if any of the given compilation units are of other kind than 1.18 * {@linkplain JavaFileObject.Kind#SOURCE source} 1.19 */ 1.20 CompilationTask getTask(Writer out,