You are right, Alan. Thank you. http://cr.openjdk.java.net/~shurailine/8156972/webrev.01/
I have also tried to think of a better message, since it is UOE not and not ISE … but decided it is descriptive enough as it is. Shura > On May 14, 2016, at 8:37 AM, Alan Bateman <alan.bate...@oracle.com> wrote: > > On 13/05/2016 23:54, Alexandre (Shura) Iline wrote: >> Hi. >> >> Could you please take a look on the fix: >> http://cr.openjdk.java.net/~shurailine/8156972/webrev.00/ >> >> Besides adding @modules, I have also added a couple of lines to the library >> class, because I have found the NPE which I was getting originally >> non-informative. >> > The @modules looks good. For CompileUtils then it might be better to throw > UOE instead of ISE for this case. Also would be good to add this exception to > the @throws list in the javadoc. > > -Alan.