nikgoodley-ibboost / jslint4java

Automatically exported from code.google.com/p/jslint4java
Other
0 stars 0 forks source link

jslint4java never exits Context #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
jslint4java is a great utility, but seems like its mainly designed to run 
seperately from the actual application, like in a build tool task, or something 
like that.

When you integrate it in a bigger system, when numerous js execution is done in 
the same time, it seems like it never exits the Context 
(org.mozilla.javascript.*) that it enters in JSLintBuilder, making other 
threads failing.

Original issue reported on code.google.com by hangcsa...@gmail.com on 2 Sep 2011 at 2:20

GoogleCodeExporter commented 9 years ago
That's very odd.  Are you sure you are using the most recent version? (2.0.0)  
I thought I had previously addressed this, e.g.

https://github.com/happygiraffe/jslint4java/blob/master/jslint4java/src/main/jav
a/com/googlecode/jslint4java/JSLintBuilder.java#L115

https://github.com/happygiraffe/jslint4java/compare/cc33861ba4...c488f2abf

Original comment by d...@happygiraffe.net on 8 Sep 2011 at 7:06

GoogleCodeExporter commented 9 years ago
My bad. You're right, i was using 1.4.2. Sorry for stealing your efforts.

Original comment by hangcsa...@gmail.com on 8 Sep 2011 at 8:11

GoogleCodeExporter commented 9 years ago
Glad I managed to preempt your problem.  :)

Just a word of warning: be careful updating to 2.0.0 as the meaning of the 
options has changed.

Original comment by d...@happygiraffe.net on 8 Sep 2011 at 8:23