Hi Philipp, The tests look better. Any chance you can post the webrev in the future vs the patch as it makes it easer to review.
Best Lance > On Dec 19, 2018, at 1:24 AM, Philipp Kunz <philipp.k...@paratix.ch> wrote: > > now with assertThrows. Find a new patch attached. > > On Tue, 2018-12-18 at 13:38 -0800, Martin Buchholz wrote: >> On Tue, Dec 18, 2018 at 1:13 PM Lance Andersen <lance.ander...@oracle.com >> <mailto:lance.ander...@oracle.com>> >> wrote: >> >>> >>> >>> >>> Is there a reason you did not use >>> >>> @Test(expectedExceptions = IOException.class) >>> >>> It just seems to make the test a bit more readable >>> >>> That construct has lost popularity over the past decade, sort of like >> >> inheritance is no longer considered a silver bullet. > <8066619.patch> <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com <mailto:lance.ander...@oracle.com>