Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4516

BeanInfo caching does not work when using Hotswap/Rapid-development tools.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.3.24
    • Fix Version/s: 2.5
    • Component/s: Plugin - JSON
    • Labels:
      None

      Description

      WW-3902 added functionality to cache BeanInfo instances that were retrieved by introspection to avoid application server locks.

      The problem with this fix is that when using rapid-development or hotswap tools like JRebel, changes to the JSON output is unaffected because the plugin doesn't see bean changes due to it's internal cache.

      It would probably be ideal that when struts.devMode is enabled, the plugin bypasses the internal cache that it does to support development tools such as JRebel and only use the caching mechanism non-development cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                crancran Chris Cranford
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: