File tree 3 files changed +10
-2
lines changed
src/test/java/com/tagtraum/perf/gcviewer/imp
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
- oraclejdk11
9
9
- oraclejdk12
10
10
- oraclejdk13
11
+ - oraclejdk14
11
12
- openjdk8
12
13
- openjdk11
13
14
- openjdk12
14
15
- openjdk13
16
+ - openjdk14
15
17
16
18
# enable cache to stop downloading all maven plugins every time
17
19
cache :
Original file line number Diff line number Diff line change 195
195
<jdk .source.version>1.8</jdk .source.version>
196
196
<jdk .target.version>1.8</jdk .target.version>
197
197
<tools .maven.plugin.version>1.4</tools .maven.plugin.version>
198
- <jacoco .maven.plugin.version>0.8.4 </jacoco .maven.plugin.version>
198
+ <jacoco .maven.plugin.version>0.8.5 </jacoco .maven.plugin.version>
199
199
<maven .source.plugin.version>3.0.1</maven .source.plugin.version>
200
200
<maven .javadoc.plugin.version>3.0.1</maven .javadoc.plugin.version>
201
201
<maven .gpg.plugin.version>1.6</maven .gpg.plugin.version>
Original file line number Diff line number Diff line change @@ -89,8 +89,14 @@ public void loadModelIllegalArgument() throws Exception {
89
89
}
90
90
catch (DataReaderException e ) {
91
91
assertNotNull ("cause" , e .getCause ());
92
+ Class expectedClass ;
93
+ if (System .getProperty ("java.version" ).startsWith ("14" )) {
94
+ expectedClass = IOException .class ;
95
+ } else {
96
+ expectedClass = IllegalArgumentException .class ;
97
+ }
92
98
assertEquals ("expected exception in cause" ,
93
- IllegalArgumentException . class .getName (),
99
+ expectedClass .getName (),
94
100
e .getCause ().getClass ().getName ());
95
101
}
96
102
}
You can’t perform that action at this time.
0 commit comments