Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: 2.3
    • Component/s: PicoContainer (Java)
    • Labels:
      None
    • Number of attachments :
      2

      Description

      We must ensure, that Pico 1.2 is backward compatible with Pico 1.1. Any changed API should be restored and deprecated. We must use a CLIRR report to ensure this.

        Activity

        Jörg Schaible made changes -
        Field Original Value New Value
        Component/s PicoContainer (Java) [ 10191 ]
        Jörg Schaible made changes -
        Assignee Joerg Schaible [ joehni ]
        Jörg Schaible made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Jörg Schaible logged work - 16/Aug/05 4:54 PM
        • Time Spent:
          4 hours
           
          Working on better Lifecycle compatibility with refactorings of the LifecylceVisitor and the RootVisitingLifecycleManager.
        Jörg Schaible made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 4 hours [ 14400 ]
        Jörg Schaible logged work - 18/Aug/05 5:43 PM
        • Time Spent:
          2 hours
           
          Add customizable lifecycle support.
        Jörg Schaible made changes -
        Time Spent 4 hours [ 14400 ] 6 hours [ 21600 ]
        Hide
        peter royal added a comment -

        differences between 1.1 and the current snapshot

        Show
        peter royal added a comment - differences between 1.1 and the current snapshot
        peter royal made changes -
        Attachment differences.txt [ 16351 ]
        Hide
        peter royal added a comment -

        Only error:

        org.picocontainer.defaults.PicoInvocationTargetInitializationException
        Removed org.picocontainer.PicoInstantiationException from the list of superclasses

        Show
        peter royal added a comment - Only error: org.picocontainer.defaults.PicoInvocationTargetInitializationException Removed org.picocontainer.PicoInstantiationException from the list of superclasses
        Hide
        peter royal added a comment -

        restore 1.1-compatible cxtor

        Show
        peter royal added a comment - restore 1.1-compatible cxtor
        peter royal made changes -
        Hide
        peter royal added a comment -

        not sure if there is anything to do regarding the exception.

        otherwise, this can go into a waiting state until we are ready to do a 1.2 RC

        Show
        peter royal added a comment - not sure if there is anything to do regarding the exception. otherwise, this can go into a waiting state until we are ready to do a 1.2 RC
        Hide
        Jörg Schaible added a comment -

        thanks for restoring CICA compat and I think you're right, we must continue here with the next RC.

        Show
        Jörg Schaible added a comment - thanks for restoring CICA compat and I think you're right, we must continue here with the next RC.
        Hide
        Mauro Talevi added a comment -

        Joerg - what is the status of this issue?

        Show
        Mauro Talevi added a comment - Joerg - what is the status of this issue?
        Hide
        peter royal added a comment -

        Need to run again now that we are done other changes to ensure nothing else broken.

        Show
        peter royal added a comment - Need to run again now that we are done other changes to ensure nothing else broken.
        Hide
        peter royal added a comment -

        May impact people:

        org.picocontainer.alternatives.ImplementationHidingComponentAdapterFactory
        Accessibility of method 'public ImplementationHidingComponentAdapterFactory()' has been decreased from public to package

        org.picocontainer.defaults.InstantiatingComponentAdapter
        Method 'protected org.picocontainer.Parameter[] createDefaultParameters(java.lang.Class[])' has been removed

        org.picocontainer.defaults.SetterIntrospector
        Class org.picocontainer.defaults.SetterIntrospector removed

        Exception-Related:

        org.picocontainer.defaults.PicoInvocationTargetInitializationException
        Removed org.picocontainer.PicoInstantiationException from the list of superclasses

        org.picocontainer.defaults.UnsatisfiableDependenciesException
        In method 'public UnsatisfiableDependenciesException(org.picocontainer.ComponentAdapter, java.util.Set)' the number of arguments has changed

        Show
        peter royal added a comment - May impact people: org.picocontainer.alternatives.ImplementationHidingComponentAdapterFactory Accessibility of method 'public ImplementationHidingComponentAdapterFactory()' has been decreased from public to package org.picocontainer.defaults.InstantiatingComponentAdapter Method 'protected org.picocontainer.Parameter[] createDefaultParameters(java.lang.Class[])' has been removed org.picocontainer.defaults.SetterIntrospector Class org.picocontainer.defaults.SetterIntrospector removed Exception-Related: org.picocontainer.defaults.PicoInvocationTargetInitializationException Removed org.picocontainer.PicoInstantiationException from the list of superclasses org.picocontainer.defaults.UnsatisfiableDependenciesException In method 'public UnsatisfiableDependenciesException(org.picocontainer.ComponentAdapter, java.util.Set)' the number of arguments has changed
        Hide
        Jörg Schaible added a comment -

        org.picocontainer.alternatives.ImplementationHidingComponentAdapterFactory
        Accessibility of method 'public ImplementationHidingComponentAdapterFactory()' has been decreased from public to package

        I am not sue I understand this. The class never had an excplicit default ctor.

        org.picocontainer.defaults.InstantiatingComponentAdapter
        Method 'protected org.picocontainer.Parameter[] createDefaultParameters(java.lang.Class[])' has been removed

        This is a result of our last minute change in PICO-268 by Pete. I am not quite happy with it, since it contradicts what was proposed in PICO-181 and creates an incompatibility between release candidates. Annotation support would have been possible with PICO-181 also, but in a much more general manner.

        Exceptions:
        PITE: was thrown in different places, not only for places expecting a PIE. Review?
        UDE: the exception is created internally, a ctor change should not make any difference.

        Show
        Jörg Schaible added a comment - org.picocontainer.alternatives.ImplementationHidingComponentAdapterFactory Accessibility of method 'public ImplementationHidingComponentAdapterFactory()' has been decreased from public to package I am not sue I understand this. The class never had an excplicit default ctor. org.picocontainer.defaults.InstantiatingComponentAdapter Method 'protected org.picocontainer.Parameter[] createDefaultParameters(java.lang.Class[])' has been removed This is a result of our last minute change in PICO-268 by Pete. I am not quite happy with it, since it contradicts what was proposed in PICO-181 and creates an incompatibility between release candidates. Annotation support would have been possible with PICO-181 also, but in a much more general manner. Exceptions: PITE: was thrown in different places, not only for places expecting a PIE. Review? UDE: the exception is created internally, a ctor change should not make any difference.
        Hide
        peter royal added a comment -

        IHCAF: It used to have a public no-args cxctor: http://svn.picocontainer.codehaus.org/java/picocontainer/trunk/container/src/java/org/picocontainer/defaults/ImplementationHidingComponentAdapterFactory.java?rev=2387&view=markup

        ICA: I'm happy with PICO-181 functionality. But the ParameterFactory would need to get a handle to the element that the Class was for, namely the Constructor or Method to be able to pull annotations off. In pico2 we could always have the core container pass any annotations to the ParameterFactory and thus not have to worry about it. We can back out PICO-268 if it is a big deal as well.. I can manage that change in a private branch for my use.

        Exceptions:
        I do not think either of these are a concern.

        Show
        peter royal added a comment - IHCAF: It used to have a public no-args cxctor: http://svn.picocontainer.codehaus.org/java/picocontainer/trunk/container/src/java/org/picocontainer/defaults/ImplementationHidingComponentAdapterFactory.java?rev=2387&view=markup ICA: I'm happy with PICO-181 functionality. But the ParameterFactory would need to get a handle to the element that the Class was for, namely the Constructor or Method to be able to pull annotations off. In pico2 we could always have the core container pass any annotations to the ParameterFactory and thus not have to worry about it. We can back out PICO-268 if it is a big deal as well.. I can manage that change in a private branch for my use. Exceptions: I do not think either of these are a concern.
        Hide
        Mauro Talevi added a comment -

        If PICO-268 is controversial - and addressed by PICO-181 - I would revert.

        I too think exceptions are fine.

        Show
        Mauro Talevi added a comment - If PICO-268 is controversial - and addressed by PICO-181 - I would revert. I too think exceptions are fine.
        Hide
        Jörg Schaible added a comment -

        Same from me. Revert PICO-268 and reopen it. I set the target version of PICO-181 to 1.3 exactly because it would change some API and I did not wanted to do it before 1.2 final.

        Show
        Jörg Schaible added a comment - Same from me. Revert PICO-268 and reopen it. I set the target version of PICO-181 to 1.3 exactly because it would change some API and I did not wanted to do it before 1.2 final.
        Hide
        Mauro Talevi added a comment -

        As 1.2 has been released, moving this issue to future version for monitoring.
        Any fixes should be done in 1.2.x

        Show
        Mauro Talevi added a comment - As 1.2 has been released, moving this issue to future version for monitoring. Any fixes should be done in 1.2.x
        Mauro Talevi made changes -
        Fix Version/s 1.2 [ 11330 ]
        Hide
        Michael Rimov added a comment -

        Since we're onto PIco 2.0, can we close this issue?

        -Mike (R)

        Show
        Michael Rimov added a comment - Since we're onto PIco 2.0, can we close this issue? -Mike (R)
        Hide
        Michael Rimov added a comment -

        Nobody protested closing it earlier. Since our efforts have moved onto Pico 2, I'm closing it now.

        Show
        Michael Rimov added a comment - Nobody protested closing it earlier. Since our efforts have moved onto Pico 2, I'm closing it now.
        Michael Rimov made changes -
        Fix Version/s 2.3 [ 14303 ]
        Resolution Won't Fix [ 2 ]
        Status In Progress [ 3 ] Closed [ 6 ]

          People

          • Assignee:
            Jörg Schaible
            Reporter:
            Jörg Schaible
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours
              6h