[jOOQ/jOOQ#8982] Avoid using JDK 8 API
This commit is contained in:
parent
e2c2cf17c2
commit
24a8dcae06
@ -61,7 +61,8 @@ public class SingleConnectionDataSource implements DataSource {
|
||||
|
||||
@Override
|
||||
public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
||||
return Logger.getGlobal();
|
||||
// Cannot use Logger.getGlobal() in JDK 6 yet
|
||||
return Logger.getAnonymousLogger().getParent();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user