Re: --with-java-target-version does not work properly in hsqldb

2012-09-25 Thread Caolán McNamara
On Thu, 2012-07-12 at 13:55 +0200, Noel Grandin wrote: > On 2012-07-12 13:28, Lionel Elie Mamane wrote: > > > Hi, > > > > Context: > > Our Java7-support patch for hsqldb was a bit broken and enabled code > > that was supposed to be Java7-only also on Java 1.6. I fixed that in > > > > http://c

Re: --with-java-target-version does not work properly in hsqldb

2012-07-12 Thread Noel Grandin
Hi Do this: #ifdef JAVA6 public void createStruct(java.lang.String,java.lang.Object[]) { real implementation } #else // only here for the odd situation that we are compiling --with-java-target-version=1.5 but the actual JDK we are using is > 1.5 public void create