You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/06/25 09:07:15 UTC

[Bug 56669] New: StandardContext.loadOnStartup() changed its signature in 8.0.9

https://issues.apache.org/bugzilla/show_bug.cgi?id=56669

            Bug ID: 56669
           Summary: StandardContext.loadOnStartup() changed its signature
                    in 8.0.9
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: david_syer@hotmail.com

StandardContext.loadOnStartup() changed its signature in 8.0.9 which is very
unfriendly to any apps that depend on the API, especially if they use a library
that was compiled against Tomcat <8.0.9 (they break with a NoSuchMethodError at
runtime). Surely such a major (binary compatibility) change should not be
appearing in a point release? I suggest adding a new method if there are
callers that need the new signature internally to Tomcat.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56669] StandardContext.loadOnStartup() changed its signature in 8.0.9

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56669

--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> ---
(The specific change mentioned here is r1595690 changing return type
s/void/boolean/)

3. This kind of a signature change cannot be reverted in a forward-compatible
way. Tomcat 8.0.9 has already been voted and released.

4. Consider using CI tools to check for API changes. Such as
http://gump.apache.org/

5. All commits are public. Commit notifications are mailed to the dev@ mailing
list. Review comments there are welcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56669] StandardContext.loadOnStartup() changed its signature in 8.0.9

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56669

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
1. Previous releases were alpha and beta releases. API changes are expected.
2. The release notes contain a section on API stability. (It needs an update to
remove the alpha reference but everything else in that section of the release
notes is valid).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org