PicoContainer
  1. PicoContainer
  2. PICO-348

Proposed replacement for Parameter_ZERO

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.8
    • Component/s: None
    • Labels:
      None
    • Testcase included:
      yes
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      In searching for an answer why we couldn't reference Parameter.ZERO properly from JRuby, (Part of PICO-346) I realized today that the problem wasn't that JRuby wasn't referencing Parameter.ZERO, but Jruby was passing in a difference INSTANCE of Parameter.ZERO (I assume because of classloading issues or something.)

      So I'd like to propose deprecating Parameter.ZERO and having a new version Parameter.DEFAULT_CONSTRUCTOR as suggested in the patch. (See the patch for implementation details)

      Demonstration test case included as part of DPC testCase.

        People

        • Assignee:
          Unassigned
          Reporter:
          Michael Rimov
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: