Skip to content

Commit

Permalink
Merge pull request #1146 from umple/Java9Compatibility
Browse files Browse the repository at this point in the history
Minor fix to ensure compiler can compile under Java 9
  • Loading branch information
TimLethbridge committed Nov 17, 2017
2 parents 7e1396e + 94bc446 commit 1f36f60
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public void constant()
Assert.assertEquals(RulePart.Type.Variable,part.getType());
}

@Test(expected=ArrayIndexOutOfBoundsException.class)
@Test(expected=IndexOutOfBoundsException.class)
public void getRulePart_invalid_tooLow()
{
RuleInstance instance = new RuleInstance(parser);
Expand Down

0 comments on commit 1f36f60

Please sign in to comment.