realm-java
realm-java copied to clipboard
Realm is a mobile database: a replacement for SQLite & ORMs
Checkstyle doesn't seem to catch ``` Foo foo =new Foo(); ``` This should be fixed. Discovered while reviewing #3834
I tried to understand the methods `Realm.getLocalInstanceCount()` and `Realm.getGlobalInstanceCount()`. Shouldn't value returned from `getLocalInstanceCount()` always lower or equal to `getGlobalInstanceCount()`? 
This issue: https://github.com/realm/realm-java/issues/3810 ... was closed with a relatively unsatisfactory solution, here: https://github.com/realm/realm-java/pull/3997 We should explore an explicit native solution.
Right now we store a reference in the ApplicationContext which should be avoided due to InstantRun. Instead we could: * Just get the reference to `context.getFilesDir()` and save that *...
Fallout from #3457 Testing this is non-trivial since the Context is now saved in a system-wide Singleton that remains between unit tests. We need to refactor to allow the following:...
We catch C++ exceptions at the border between Java and C++ using the `CATCH_STD()` macro. The C++ exceptions originate from runtime libraries, core and object store. Currently we throw Java...
Currently we are trying to convert all JNI exceptions to java exceptions to make it more readable for users. But the disadvantage is we could not see the native backtrace...
#### Goal Learn what is necessary for migration (if anything) when adding a single, optional (i.e. may be `null`) field (e.g. a `String`, `Long`, or other `RealmObject`) to a `RealmObject`...
See https://github.com/realm/realm-java/pull/3135#issuecomment-230484300
I just noticed that realm is also creating ".management" files in-addition to .lock, .log, .note files. I don't think the files and their use are documented. This would would be...