bml13
e14bc1d9ac
Removed the use of b.array() to support DirectBuffers.
...
Also removed Table extend Constants.
Change-Id: I1770b613c58094fa572a3b26a31f01bd5fb8fdbf
2014-09-15 16:13:49 -07:00
Wouter van Oortmerssen
354aad4bc5
Made FlatBufferBuilder.java require ByteBuffers that have an array.
...
Readonly ByteBuffers and Direct ByteBuffers don't have a backing
array, and thus can't be used for writing FlatBuffers (though
they are fine for reading).
Change-Id: I4d7b9cc222b96161d0f8e92f34588bd3e0e38034
Tested: on Linux.
2014-09-05 13:48:02 -07:00
Wouter van Oortmerssen
09a2999c66
Implemented the file identifier functionality for Java.
...
Also fixed flatc not outputting these identifiers for files
compiled on the command-line.
Bug: 16983987
Change-Id: I8b714cfea3a8e144fa52133f62b2f7eda6eb044a
Tested: on Linux
2014-09-05 10:54:52 -07:00
Wouter van Oortmerssen
4507594812
Made reading read-only ByteBuffers work.
...
Also added new constructor that allows ByteBuffer reuse.
Change-Id: I9c20ea96c67533066461f4e23b0d03b9b47cd068
Tested: on OS X.
2014-09-03 11:03:02 -07:00
Wouter van Oortmerssen
cdb0dca39d
Fixed possible alignment issue in Java
...
Tested: on Linux
Change-Id: Ie80aa19ed13ac4fa15cd3fd768f1a35526bdc607
2014-08-13 11:50:54 -07:00
Bob Potter
39d4b7e2bf
Fix vector of strings for Java
...
Change-Id: If032b450230b15224b2661836c8a740398d207c5
2014-08-12 15:12:51 -07:00
Wouter van Oortmerssen
350011f581
Fixed a bugs in the Java runtime that could cause an index out of bounds exception.
...
Tested: on Windows.
Change-Id: I0d4cdafc21690eb9a509ba31f21e80dacfb602ff
2014-07-02 14:39:58 -07:00
Wouter van Oortmerssen
41a6d35e74
Fixed a bug in the Java code generation that would generate the wrong identifier in some cases.
...
Also added a safety check for buffers growing past 2 gigabytes.
Change-Id: I2bca7159f606cf1c08c4391e88ef9b4c8363be06
Tested: With the Java sdk.
2014-06-17 17:34:03 -07:00
Wouter van Oortmerssen
26a30738a4
Initial commit of the FlatBuffers code.
...
Change-Id: I4c9f0f722490b374257adb3fec63e44ae93da920
Tested: using VS2010 / Xcode / gcc on Linux.
2014-06-10 13:53:28 -07:00