Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Implemented
-
jcs-1.3
-
None
-
Debian Squeeze, Wheezy, RHEL6, SLES11. Equinox OSGi environment, Sun JDK 6 and OpenJDK 6 and 7.
Description
When shutting down JCS within the ElementEventQueue a NoSuchMethodError is thrown:
Exception in thread "ElementEventQueue.QProcessor-1" java.lang.NoSuchMethodError
at java.lang.Thread.destroy(Thread.java:980)
at org.apache.jcs.engine.control.event.ElementEventQueue$QProcessor.run(ElementEventQueue.java:257)
This happens because the deprecated Method java.lang.Thead.destroy() is used. The implementation of that method throws a NoSuchMethodError with all above mentioned JDKs.