From 69273cdd675b205b6f47e9aab2872901c03be578 Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Thu, 12 Jul 2012 13:07:03 +0200 Subject: fix hsqldb java version detection 1) The values were not properly exclusive. E.g. when compiling under OpenJDK 1.6, iscjava12 was set (!) 2) On Java 1.6, should not enable the parts that are (only) for Java7! 3) When non-JAVA7, need to preprocess the files that have JAVA7-only code, so that it gets removed Change-Id: I99b6bd9e781fee1007a04a4dc3d3f952c1b2eb00 --- hsqldb/patches/jdbc-4.1.patch | 87 +++++++++++++++++++++++++++++++++---------- 1 file changed, 67 insertions(+), 20 deletions(-) diff --git a/hsqldb/patches/jdbc-4.1.patch b/hsqldb/patches/jdbc-4.1.patch index 89149c413cec..4c4eb8507773 100644 --- a/hsqldb/patches/jdbc-4.1.patch +++ b/hsqldb/patches/jdbc-4.1.patch @@ -1,19 +1,50 @@ ---- misc/hsqldb/build/build.xml 2012-02-08 15:14:42.827123541 +0000 -+++ misc/build/hsqldb/build/build.xml 2012-02-08 15:21:43.827722388 +0000 -@@ -98,7 +98,11 @@ +--- misc/hsqldb/build/build.xml 2012-07-12 10:58:11.000000000 +0200 ++++ misc/build/hsqldb/build/build.xml 2012-07-12 10:49:28.000000000 +0200 +@@ -98,16 +98,24 @@ - -+ ++ + ++ + + -+ ++ ++ -@@ -210,6 +214,7 @@ +- ++ + ++ + + +- ++ + ++ + + + +@@ -166,6 +177,7 @@ + + + ++ + + + +@@ -183,6 +195,7 @@ + + + ++ + + + +@@ -210,6 +223,7 @@ @@ -21,7 +52,15 @@ -@@ -244,6 +249,7 @@ +@@ -218,6 +232,7 @@ + + + ++ + + + +@@ -244,6 +259,7 @@ @@ -29,19 +68,10 @@ -@@ -279,10 +285,47 @@ - - - -+ -+ -+ -+ -+ -+ -+ -+ +@@ -253,6 +269,43 @@ + + + + + + @@ -69,6 +99,23 @@ + + + ++ ++ ++ ++ ++ ++ ++ ++ ++ + + + +@@ -279,10 +332,11 @@ + + + + -- cgit v1.2.3