Don't work in JDK1.4. json-lib-2.4-jdk13.jar
Brought to you by:
aalmiray
I encountered the error using json-lib-2.4-jdk13.jar run on the JDK1.4 .
java.lang.NoSuchMethodError: java.lang.ThreadLocal.remove()V
at net.sf.json.AbstractJSON.removeInstance(AbstractJSON.java:221)
at net.sf.json.JSONObject._fromBean(JSONObject.java:690)
at net.sf.json.JSONObject.fromObject(JSONObject.java:161)
I think as follows.
CycleSet extends ThreadLocal.
But, ThreadLocal.remove() method is mounted by the JDK1.5.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Good day.
I am join to this bug watchers.
And have other question: why your source json-lib-2.4-jdk13 code and compiled json-lib-2.4-jdk13.jar have major differences (like as: this bug or public JSONArray.length method)? Why don't you use deprecated tag?