Uploaded image for project: 'Commons JCS'
  1. Commons JCS
  2. JCS-107

NoSuchMethodError thrown during shutdown of JCS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Implemented
    • jcs-1.3
    • jcs-2.0-beta-1
    • Composite Cache
    • 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.

      Attachments

        Activity

          People

            tv Thomas Vandahl
            marcus.klein Marcus Klein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: