fix test on Java 9

This commit is contained in:
zzz
2017-12-02 23:25:43 +00:00
parent 100d307037
commit 89d7a594dd

View File

@ -42,7 +42,9 @@ public class LeaseSetTest extends StructureTest {
// should contain no leases now.
exception.expect(IndexOutOfBoundsException.class);
exception.expectMessage("Index: 0, Size: 0");
// Good for Java 7/8, but Java 9 message is "Index 0 out-of-bounds for length 0"
// and do we really need to verify the message?
//exception.expectMessage("Index: 0, Size: 0");
subj.getLease(0);
}