DERBY-6856: Make it possible to build Derby using JDK 9

This change reverts one particular change from revision 1742289.

The java.util.List class supports two remove methods:
remove(Object o) and remove(int i). In the DatabaseMetaDataTest's
testGetTypeInfo test, there is a List<Integer>, and changing
the autoboxing code to call remove(Types.BOOLEAN) rather than
remove(new Integer(Types.BOOLEAN)) caused the JDK 8 compiler to
choose remove(int i) rather than remove(Object o), thus
causing failures in the upgrade test suite.

This change returns the test code to using the explicit
object creation in order to ensure we call remove(Object o).



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