mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-25 01:30:10 +00:00
7171917: CachedRowSetImpl.populate does not handle map properly
Reviewed-by: joehw
This commit is contained in:
parent
881d64f005
commit
c419fa6171
@ -659,7 +659,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
|
||||
* us work with drivers that do not support
|
||||
* getObject with a map in fairly sensible way
|
||||
*/
|
||||
if (map == null) {
|
||||
if (map == null || map.isEmpty()) {
|
||||
obj = data.getObject(i);
|
||||
} else {
|
||||
obj = data.getObject(i, map);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user