Skip to content

Commit 077d69b

Browse files
committed
Add comment on why
1 parent e3e859f commit 077d69b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/github/fge/jsonschema/core/util/RhinoHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ private RhinoHelper()
9393
try {
9494
ctx.evaluateString(SCOPE, jsAsString, "re", 1, null);
9595
} catch(UnsupportedOperationException e) {
96+
// See: http://stackoverflow.com/questions/3859305/problems-using-rhino-on-android
9697
ctx.setOptimizationLevel(-1);
9798
ctx.evaluateString(SCOPE, jsAsString, "re", 1, null);
9899
}

0 commit comments

Comments
 (0)