ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8429] - Super-class SQLTask with an abstract JDBCTask.
Date Tue, 23 Apr 2002 19:47:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8429>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8429

Super-class SQLTask with an abstract JDBCTask.





------- Additional Comments From jakarta@ehatchersolutions.com  2002-04-23 19:47 -------
Did you run the SQLExecTest case?  I get a failure after applying your patch:

C:\jakarta\jakarta-ant>build run-single-test -Dtestcase=org.apache.tools.ant.tas
kdefs.SQLExecTest
Buildfile: build.xml

prepare:

check_for_optional_packages:

build:
Created dir: C:\jakarta\jakarta-ant\build\classes
Compiling 456 source files to C:\jakarta\jakarta-ant\build\classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
Copying 4 files to C:\jakarta\jakarta-ant\build\classes
Copying 2 files to C:\jakarta\jakarta-ant\build\classes
Copying 2 files to C:\jakarta\jakarta-ant\build\classes\org\apache\tools\ant\tas
kdefs\optional\junit\xsl

compile-tests:
Created dir: C:\jakarta\jakarta-ant\build\testcases
Compiling 137 source files to C:\jakarta\jakarta-ant\build\testcases
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

run-single-test:
Testsuite: org.apache.tools.ant.taskdefs.SQLExecTest
Tests run: 2, Failures: 0, Errors: 2, Time elapsed: 0.01 sec

Testcase: testDriverCaching took 0.01 sec
        Caused an ERROR
try to access method org.apache.tools.ant.taskdefs.JDBCTask.getLoaderMap()Ljava/
util/Hashtable; from class org.apache.tools.ant.taskdefs.SQLExecTest
java.lang.IllegalAccessError: try to access method org.apache.tools.ant.taskdefs
.JDBCTask.getLoaderMap()Ljava/util/Hashtable; from class org.apache.tools.ant.ta
skdefs.SQLExecTest
        at org.apache.tools.ant.taskdefs.SQLExecTest.setUp(SQLExecTest.java:100)

Also, you modified the accessibility of 'caching' member variable.  We cannot 
break backwards compatibility, so please be careful with such things.  I didn't 
check for other such modifications that you may have made.  Let us know when 
you have fixed the test case and have had a look at any backwards compatibility 
issues that may have been introduced.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message