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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.3.24
    • 2.5
    • Plugin - JSON
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: