[CONJ-779] Logic error in stop() method of OSGi bundle activator Created: 2020-04-08 Updated: 2020-06-22 Resolved: 2020-06-22 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | Other |
| Affects Version/s: | 2.6.0 |
| Fix Version/s: | 2.6.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Domagoj Cosic | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The code
assumes that getDriver returns null if the driver is not found. It does not, it never returns null. It throws a SQLException with message "No suitable driver" and error code 08001. |
| Comments |
| Comment by Diego Dupin [ 2020-06-22 ] |
|
done with commit https://github.com/mariadb-corporation/mariadb-connector-j/commit/f0e4180f25faa3b624dc05e74f6d9559ed194ef7 |