Re: Buildfarm: Test errors - StackOverFlowError
| От | Mike Fowler |
|---|---|
| Тема | Re: Buildfarm: Test errors - StackOverFlowError |
| Дата | |
| Msg-id | 4E8A29B2.5030901@mlfowler.com обсуждение исходный текст |
| Ответ на | Buildfarm: Test errors - StackOverFlowError ("Mike Fowler" <mike@mlfowler.com>) |
| Список | pgsql-jdbc |
On 03/10/11 16:01, I wrote: > > [junit] java.lang.StackOverflowError > [junit] at > org.postgresql.jdbc2.TypeInfoCache.getPGType(TypeInfoCache.java:270) > [junit] at > org.postgresql.jdbc2.TypeInfoCache.getSQLType(TypeInfoCache.java:176) > [junit] at > org.postgresql.jdbc2.AbstractJdbc2ResultSet.getSQLType(AbstractJdbc2ResultSet.java:2776) > [junit] at > org.postgresql.jdbc2.AbstractJdbc2ResultSet.getString(AbstractJdbc2ResultSet.java:1920) > [junit] at > org.postgresql.jdbc2.AbstractJdbc2ResultSet.getFixedString(AbstractJdbc2ResultSet.java:2736) > [junit] at > org.postgresql.jdbc3g.Jdbc3gResultSet.createArray(Jdbc3gResultSet.java:59) > [junit] at The tests run for 1.6 but not 1.5 or 1.4. Turns out some code has been added for the binary handling in Jdbc4Array and Jdbc4ResultSet that also needed to be added to Jdbc3Array, Jdbc3ResultSet, Jdbc3gArray and Jdbc3gReultSet. If you take out the different code in the 4 code you get the same StackOverflowError. The attached patch resolves this. Regards, -- Mike Fowler Registered Linux user: 379787 The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT flossuk DOT org for details.
Вложения
В списке pgsql-jdbc по дате отправления: