db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-1605) test harness evaluates j9 2.2 jvm (a.k.a wctme5.7) as isJDBC4; does enthousiastic sed-ing
Date Fri, 28 Jul 2006 10:30:13 GMT
test harness evaluates j9 2.2 jvm (a.k.a wctme5.7) as isJDBC4; does enthousiastic sed-ing
-----------------------------------------------------------------------------------------

                 Key: DERBY-1605
                 URL: http://issues.apache.org/jira/browse/DERBY-1605
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.2.0.0
            Reporter: Myrna van Lunteren
            Priority: Trivial
             Fix For: 10.2.0.0


The wctme5.7 run shows failures like so:
*** Start: iepnegativetests jdk1.3.1 subset - 2.2 derbyall:derbytools 2006-07-24 11:41:43
***
16 del
< ERROR 38000: The exception 'java.sql.SQLException: Table/View 'IEP.NOTABLE' does not
exist.' was thrown while evaluating an expression.
16a16
> ERROR 38000: The exception 'SQL Exception: Table/View 'IEP.NOTABLE' does not exist.'
was thrown while evaluating an expression.
...

It seems to me this is because it evaluates the major/minor version (2.2) as isJDBC4 in functionTests/harness/RunTest.java
:
       JavaVersionHolder	jvh = getProperties(sp);
	boolean				isJDBC4 = jvh.atLeast( 1, 6 );
and is gets passed on to Sed.java.

The following tests fail with this jvm because of this:
lang/compressTable.sql
lang/nestedCommit.sql
lang/releaseCompileLocks.sql
tools/iepnegativetests.sql
tools/importExportThruIJ.sql
tools/ieptests.sql
jdbcapi/statementJdbc20.java
i18n/iepnegativetests_ES.sql
store/streamingColumn.java
store/TransactionTable.sql

It seems to me we need an  if (!jvmName.startsWith("j9")) or some such around the isJDBC4
assignment.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message