Junilu Lacar wrote:@Les see the JLS section I cited for the explanation. Compound assignment statements of the form op= have an implicit cast to the type of the variable being assigned to.
Junilu Lacar wrote:No, it's not a bug. It's specified in the JLS here http://docs.oracle.com/javase/specs/jls/se8/html/jls-15.html#jls-15.26.2
Applications no longer need to explictly load JDBC drivers using Class.forName(). Existing programs which currently load JDBC drivers using Class.forName() will continue to work without modification.
When the method getConnection is called, the DriverManager will attempt to locate a suitable driver from amongst those loaded at initialization and those loaded explicitly using the same classloader as the current applet or application.