fix travis issues (finally?)

This commit is contained in:
walterhiggins 2014-04-26 22:21:03 +01:00
parent 03ebf347b1
commit 3700c11223

View file

@ -42,7 +42,13 @@ while ( ( entry = zis.nextEntry) != null) {
// abstract events don't have a static getHandlerList method so // abstract events don't have a static getHandlerList method so
// shouldn't be added to this module // shouldn't be added to this module
var hasHandlerList = engine.eval(name + '.getHandlerList'); var hasHandlerList = false;
try {
hasHandlerList = engine.eval(name + '.getHandlerList');
} catch ( ex ) {
// exception is thrown for JRE7
continue;
}
if ( !hasHandlerList ) { if ( !hasHandlerList ) {
continue; continue;
} }