diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-24 09:35:56 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-24 09:52:38 +0200 |
commit | 93a0d9eee0f4dced348b040961f44f977e9504a7 (patch) | |
tree | b0acd7cb512c7abbe77ecc5617c86ba60aa05dbb /sot | |
parent | 5db7ac239278634c39cbb15f0173db0524b5dcd6 (diff) |
rhbz#836827: SQLFeatureNotSupportedException only in Java 6
...so if the patched hsqldb.jar is compiled with Java 7, it creates instances of
SQLFeatureNotSupportedException, and when at LO runtime a Java 5 gcj is used,
loading the relevant hsqldb.jar classes will fail with a NoClassDefFoundError
caused by a ClassNotFoundException.
Adding java.sql.Driver.getParentLogger in Java 7 was an incompatible change, but
it appears that the java.sql framework is prepared to handle old implementations
(for which the JVM will throw AbstractMethodError), so it appears that it works
to fake that AbstractMethodError here.
Change-Id: Id1fddc9cbdd8c88cd68fb5877ec59fe8d61e1562
Diffstat (limited to 'sot')
0 files changed, 0 insertions, 0 deletions