summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo
diff options
context:
space:
mode:
authorbroneill <bronee@gmail.com>2016-04-25 23:01:01 +0000
committerJesse Morgan <morganjm@amazon.com>2016-04-29 13:06:09 -0700
commitf89ee377ab4b197959191849e8acfba16f7cbda0 (patch)
tree9db0cc6918e697b1ef2c5a96d33def0aee7bce7b /src/main/java/com/amazon/carbonado/repo
parent0265480e804135e33574d8dfd7d4a49b71d0953b (diff)
Add explicit int->boolean conversions, as required by JDK 1.8.0_91.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo')
-rwxr-xr-x[-rw-r--r--]src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java
index 7fbf3a5..c4accab 100644..100755
--- a/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java
+++ b/src/main/java/com/amazon/carbonado/repo/jdbc/JDBCStorableGenerator.java
@@ -1239,6 +1239,7 @@ class JDBCStorableGenerator<S extends Storable> {
yieldConAndHandleException(b, supportVar, tryBeforeCon, conVar, tryAfterCon, true);
b.loadLocal(updateCount);
+ b.convert(TypeDesc.INT, TypeDesc.BOOLEAN);
b.returnValue(TypeDesc.BOOLEAN);
}
@@ -1277,6 +1278,7 @@ class JDBCStorableGenerator<S extends Storable> {
yieldConAndHandleException(b, supportVar, tryBeforeCon, conVar, tryAfterCon, true);
b.loadLocal(resultVar);
+ b.convert(TypeDesc.INT, TypeDesc.BOOLEAN);
b.returnValue(TypeDesc.BOOLEAN);
}