Review request for 8014967: Clarify NPE thrown by DriverManager.registerDriver when driver is null

Alan Bateman Alan.Bateman at
Thu Sep 12 15:32:14 UTC 2013

On 12/09/2013 15:45, Lance Andersen - Oracle wrote:
> :
> registerDriver has thrown this NPE since the early days of DriverManager (1997) so it was requested that we clarify this.
> Alan,  could you please confirm whether I need a CCC given this behavior has been there since JDBC 1.0 and this just adds the @exception and there is no behavior change.
The changes looks okay to me and just specifying long standing behavior. 
As it's adding an assertion to the spec then I think it should be tracked.


More information about the core-libs-dev mailing list