SETTE-Testing / sette-snippets

Code snippets for evaluating test input generator tools with SETTE
Apache License 2.0
3 stars 1 forks source link

snippets-extra: reflection, multi-catch statement not supported in CATG with java 1.6 #4

Closed micskeiz closed 8 years ago

micskeiz commented 8 years ago

Some of the reflection snippets does not compile for CATG, which only supports Java 1.6

multi-catch statement is not supported in -source 1.6
...
   } catch (ClassNotFoundException | NullPointerException | IllegalArgumentException ex) {

Either modify the snippets or exclude them from CATG.

LajosCseppento commented 8 years ago

Updated code base to compile with source level 1.6, however, the code still uses classes introduced in Java 7. Now the project compiles for CATG as well

micskeiz commented 8 years ago

Fixed in ffc1234e97c976d885b4df259c622a77781f9d2d