diff --git a/.travis.yml b/.travis.yml index 21796941..bce3e408 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,10 +8,12 @@ jdk: - oraclejdk11 - oraclejdk12 - oraclejdk13 + - oraclejdk14 - openjdk8 - openjdk11 - openjdk12 - openjdk13 + - openjdk14 # enable cache to stop downloading all maven plugins every time cache: diff --git a/pom.xml b/pom.xml index d16eb063..866e84a2 100644 --- a/pom.xml +++ b/pom.xml @@ -195,7 +195,7 @@ 1.8 1.8 1.4 - 0.8.4 + 0.8.5 3.0.1 3.0.1 1.6 diff --git a/src/test/java/com/tagtraum/perf/gcviewer/imp/TestDataReaderFacade.java b/src/test/java/com/tagtraum/perf/gcviewer/imp/TestDataReaderFacade.java index a401ee5a..59d72500 100644 --- a/src/test/java/com/tagtraum/perf/gcviewer/imp/TestDataReaderFacade.java +++ b/src/test/java/com/tagtraum/perf/gcviewer/imp/TestDataReaderFacade.java @@ -89,8 +89,14 @@ public void loadModelIllegalArgument() throws Exception { } catch (DataReaderException e) { assertNotNull("cause", e.getCause()); + Class expectedClass; + if (System.getProperty("java.version").startsWith("14")) { + expectedClass = IOException.class; + } else { + expectedClass = IllegalArgumentException.class; + } assertEquals("expected exception in cause", - IllegalArgumentException.class.getName(), + expectedClass.getName(), e.getCause().getClass().getName()); } }