Fixed
Status Update
Comments
el...@google.com <el...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-master-dev
commit c6ef3e2ebec135a8b0a1495fee98e2a70b454486
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Mon Nov 12 11:42:26 2018
Support ListenableFuture<T> as return type for shortcut methods.
Created method binder providers and method binder for supporting
ListenableFuture as return types in DAO methods with @Insert, @Update
and @Delete.
Bug: 119418331
Test: ./gradlew :room:integration-tests:testapp:assembleAndroidTest
Change-Id: I1f1e36e6e7fad68b035df81587b3bee97f2c3d1d
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureDeleteOrUpdateMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureInsertMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
A room/compiler/src/test/data/common/input/GuavaRoom.java
A room/compiler/src/test/data/common/input/guava/ListenableFuture.java
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/guava/src/main/java/androidx/room/guava/GuavaRoom.java
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/UserDao.java
https://android-review.googlesource.com/823581
https://goto.google.com/android-sha1/c6ef3e2ebec135a8b0a1495fee98e2a70b454486
Branch: androidx-master-dev
commit c6ef3e2ebec135a8b0a1495fee98e2a70b454486
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Mon Nov 12 11:42:26 2018
Support ListenableFuture<T> as return type for shortcut methods.
Created method binder providers and method binder for supporting
ListenableFuture as return types in DAO methods with @Insert, @Update
and @Delete.
Bug: 119418331
Test: ./gradlew :room:integration-tests:testapp:assembleAndroidTest
Change-Id: I1f1e36e6e7fad68b035df81587b3bee97f2c3d1d
M room/compiler/src/main/kotlin/androidx/room/solver/TypeAdapterStore.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureDeleteOrUpdateMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binder/GuavaListenableFutureInsertMethodBinder.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureDeleteOrUpdateMethodBinderProvider.kt
A room/compiler/src/main/kotlin/androidx/room/solver/shortcut/binderprovider/GuavaListenableFutureInsertMethodBinderProvider.kt
A room/compiler/src/test/data/common/input/GuavaRoom.java
A room/compiler/src/test/data/common/input/guava/ListenableFuture.java
M room/compiler/src/test/kotlin/androidx/room/processor/ShortcutMethodProcessorTest.kt
M room/compiler/src/test/kotlin/androidx/room/solver/TypeAdapterStoreTest.kt
M room/compiler/src/test/kotlin/androidx/room/testing/test_util.kt
M room/guava/src/main/java/androidx/room/guava/GuavaRoom.java
M room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/dao/UserDao.java
el...@google.com <el...@google.com>
pa...@gmail.com <pa...@gmail.com> #3
org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
org.codehaus.groovy.ast.expr.TupleExpression cannot be cast to org.codehaus.groovy.ast.expr.ArgumentListExpression
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
Description
Component used: Room Persistence Library Version used: 2.2.5
Here is an example column with a default value using parentheses
This schema fails in onValidateSchema because
PRAGMA table_info(<table>)
returnsstrftime('%s','now') * 1000
fordflt_value
which is then compared to(strftime('%s','now') * 1000)
and so it fails.