mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 20:18:49 +00:00
8066188: BaseRowSet default value for escape processing is not correct
Reviewed-by: alanb
This commit is contained in:
parent
f0b198804a
commit
db7c757726
@ -462,7 +462,7 @@ public abstract class BaseRowSet implements Serializable, Cloneable {
|
||||
* <code>false</code> that it is not. The default is <code>true</code>.
|
||||
* @serial
|
||||
*/
|
||||
private boolean escapeProcessing;
|
||||
private boolean escapeProcessing = true;
|
||||
|
||||
/**
|
||||
* A constant indicating the isolation level of the connection
|
||||
|
||||
@ -186,11 +186,11 @@ public class BaseRowSetTests extends BaseTest {
|
||||
}
|
||||
|
||||
/*
|
||||
* Validate that getEscapeProcessing() returns false by default
|
||||
* Validate that getEscapeProcessing() returns true by default
|
||||
*/
|
||||
@Test
|
||||
public void test08() throws Exception {
|
||||
assertFalse(brs.getEscapeProcessing());
|
||||
assertTrue(brs.getEscapeProcessing());
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user