DERBY-6000: Fix UnsupportedVetter failures when 10.9 jars run on Java 8.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464103 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6096 OutOfMemoryError with Clob or Blob hash join: DataTypeDescriptor.estimatedMemoryUsage() has no case for BLOB or CLOB so would underestimate memory usage for those types at zero 

Estimate BLOB/CLOB size at 10000 like other long types.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464247 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6147: ClosedObjectTest fails on the 10.9 branch when running on Java 8

Skip testing of JDBC methods that have not been implemented.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464367 13f79535-47bb-0310-9956-ffa450edef68
Remove special handling of the abort() method in ClosedObjectTest.

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464369 13f79535-47bb-0310-9956-ffa450edef68
DERBY-3519: junit regression test failure in testInertTime(org.apache.derbyTesting.functionTests.tests.lang.TimeHandlingTest)junit.framework.AssertionFailedError: expected:<2> but was:<3>

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464386 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6096: Only run gc if debug output has been requested

git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464470 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6131 select from view with "upper" and "in" list throws a ClassCastException 

Prior to this fix the following query on a view would throw a ClassCastException
    select name from myView where upper(name) in ('AA', 'BB');
This query got in code that was trying to "push" predicates down, and
that code is only currently build to push constants and column references.
In this case it was mistakenly trying to push down the "upper" call, and
when it tried to cast it as a column reference it got the error.  The fix
was to check the type of the node and not push in this case.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464594 13f79535-47bb-0310-9956-ffa450edef68
DERBY-6125 Code clean up in client driver.

Patch derby-6125-03-04-followup. Incorporates Knut's further
simplification suggestions for patches 03 and 04:

After the 04-a patch, these three methods in NetConnection do nothing except calling the method with the same name in the super class:

  - close()
  - closeX()
  - closeResources()

Removed, let NetConnection inherit them from its super class.

Make Connection.closeX() private and unsynchronized, as it will only
be called from Connection.close().

The patch also touches NetConnection's closeForReuse() method, which
doesn't have any callers. Removed.

Replaces System.arraycopy with Object.clone for byte array copies as
suggested.

NetConnection.completeConnect(): remove the override and make the
super method final instead.



git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/trunk@1464835 13f79535-47bb-0310-9956-ffa450edef68