Changeset 89d7a59 for core/java


Ignore:
Timestamp:
Dec 2, 2017 11:25:43 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5912f7c2
Parents:
100d307
Message:

fix test on Java 9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/test/junit/net/i2p/data/LeaseSetTest.java

    r100d307 r89d7a59  
    4343        // should contain no leases now.
    4444        exception.expect(IndexOutOfBoundsException.class);
    45         exception.expectMessage("Index: 0, Size: 0");
     45        // Good for Java 7/8, but Java 9 message is "Index 0 out-of-bounds for length 0"
     46        // and do we really need to verify the message?
     47        //exception.expectMessage("Index: 0, Size: 0");
    4648        subj.getLease(0);
    4749    }
Note: See TracChangeset for help on using the changeset viewer.