Update of /cvsroot/squirrel-sql/sql12/test/src/net/sourceforge/squirrel_sql/fw/util
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv25047/test/src/net/sourceforge/squirrel_sql/fw/util
Modified Files:
MyURLClassLoaderTest.java
Log Message:
Switch to a class which is found in the oracle.jar plugin file that we download, that is also not dependent on any other class files in any other project (The classpath here consists of *only* the oracle.jar file that was downloaded.)
Index: MyURLClassLoaderTest.java
===================================================================
RCS file: /cvsroot/squirrel-sql/sql12/test/src/net/sourceforge/squirrel_sql/fw/util/MyURLClassLoaderTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** MyURLClassLoaderTest.java 26 Jul 2009 20:49:54 -0000 1.9
--- MyURLClassLoaderTest.java 22 Sep 2009 23:22:05 -0000 1.10
***************
*** 31,36 ****
private static final String COMMONS_CLI_OPTION_CLASS = "org.apache.commons.cli.Option";
! private static final String ORACLE_XMLTYPE_CLASS =
! "net.sourceforge.squirrel_sql.plugins.oracle.types.OracleXmlTypeDataTypeComponent";
private static final IOUtilities ioutils = new IOUtilitiesImpl();
--- 31,36 ----
private static final String COMMONS_CLI_OPTION_CLASS = "org.apache.commons.cli.Option";
! private static final String ORACLE_JAR_CLASS =
! "net.sourceforge.squirrel_sql.plugins.oracle.common.AutoWidthResizeTable";
private static final IOUtilities ioutils = new IOUtilitiesImpl();
***************
*** 123,127 ****
{
MyURLClassLoader loader = new MyURLClassLoader(new URL[] { oracleTempFileWrapper.toURL() });
! loader.findClass(ORACLE_XMLTYPE_CLASS);
}
catch (Exception e)
--- 123,127 ----
{
MyURLClassLoader loader = new MyURLClassLoader(new URL[] { oracleTempFileWrapper.toURL() });
! loader.findClass(ORACLE_JAR_CLASS);
}
catch (Exception e)
|