fix travis issues (finally?)
This commit is contained in:
parent
03ebf347b1
commit
3700c11223
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue