Details
-
Type: Improvement
-
Status: Resolved
-
Priority: 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 :
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.
Oh yeah.... alternatively, we could replace the PARAMETER_ZERO definition with the new definition of DEFAULT_CONSTRUCTOR too.
It would save code changes.,..