a2c6cc8882
implement ConcurrentLinkedQueue.clear
2011-11-07 15:52:42 -07:00
bcb62af2a1
fix java-lang.cpp iOS build
2011-11-04 09:37:24 -06:00
21cc4c6a87
implement AbstractList.indexOf
2011-11-04 08:27:11 -06:00
6153a5c83b
Merge remote-tracking branch 'git/master'
2011-11-04 08:11:14 -06:00
2b2a2e9446
Completion of previous fix.
2011-11-03 19:30:44 -06:00
216b9a05ea
RandomAccessFile now correctly reports lengths for growing files.
2011-11-03 13:39:24 -06:00
90dc552463
implement Process.destroy
2011-11-03 12:30:51 -06:00
3b1c769d2b
Fixed RandomAccessFile to update position after reads.
2011-10-24 09:01:17 -06:00
39bee886e3
ByteBuffer and InputStream now better match the standard.
2011-10-20 13:45:47 -06:00
b862f5f90a
add bare-bones UUID implementation
2011-09-29 18:27:34 -06:00
296cb74847
add bare-bones ConcurrentLinkedQueue implementation
2011-09-29 18:26:50 -06:00
a8bb0d074b
implement first() and last() in TreeSet
2011-09-29 18:25:41 -06:00
84bcbbcaa3
implement asReadOnlyBuffer and getShort(int) in ByteBuffer
2011-09-29 18:25:03 -06:00
21d1a6c883
add __attribute__ ((used)) to EXPORT macro definition
...
This ensures that exported functions are not stripped when using the
-dead_strip option to the Apple linker.
2011-09-22 16:57:44 -06:00
178dd7af34
Merge remote branch 'origin/master' into ios
2011-09-16 20:46:03 -06:00
916c96c2b9
fix access violation introduced in last commit
2011-09-14 13:27:17 -06:00
446c09dd33
Fix for File.length() integer overflow on 32-bit Windows.
...
The File.length() method was returning a signed 32-bit value
on 32-bit Windows systems. This was causing an integer overflow
on file sizes greater than 2 GB. This appears to be caused by
the way Windows handles the STAT() function. This patch checks
whether the current platform is Windows then uses the Windows API
to get the correct file size and return it as a jlong.
2011-09-14 13:18:20 -06:00
6949fc3d60
Merge remote-tracking branch 'origin/master' into ios
2011-09-01 10:53:20 -06:00
9d636c7ebb
Merge branch 'bufferedReaderFix'
2011-09-01 10:18:06 -06:00
6ea444f6bf
Fixed incorrect handling of \r\n
2011-09-01 10:17:21 -06:00
8c9bfccb9e
Merge remote branch 'origin/bufferedReaderFix' into oss-master
2011-09-01 09:37:10 -06:00
4cc5b5d902
Merge remote branch 'origin/bufferedReaderFix'
2011-09-01 09:35:28 -06:00
fb3a23f02d
Fixed behavior of readLine accepting *\n\n as a line, not two
2011-09-01 09:31:08 -06:00
97e03b9f28
Fixed possible ArrayIndexOutOfBounds exception
2011-09-01 09:11:39 -06:00
c75b06ddc1
Added support for non POSIX line endings. Will now accept: \r and \r\n as line endings (per Sun's JavaDoc)
2011-08-31 20:46:15 -06:00
4c47f4fae8
Merge remote-tracking branch 'origin/master' into ios
2011-08-23 16:40:01 -06:00
d09e5ee8eb
fix Windows build regression
2011-08-15 16:37:15 -06:00
16aa5c3d59
improve IOException message in the case of a Runtime.exec() failure
...
We now properly forward the errno value from the child when execvp()
fails, which the parent then uses to for the errno message as well as
including the failed command's name in the message.
2011-08-15 07:12:52 -06:00
1c59aa51d8
add fields and methods to AbstractList for compatibility
...
Google Protocol Buffers relies on these.
2011-08-12 14:29:22 -06:00
10183a9870
Added AbstractMap for protobuf, and String getByte encoding for Latin-1
2011-08-12 13:30:51 -06:00
3d7c65d314
implement File.getAbsolutePath()/File.getAbsoluteFile() on Unix platforms
2011-08-11 08:52:49 -06:00
7ed580cf84
fix boolean deserialization in ObjectInputStream
2011-08-11 08:52:09 -06:00
e5a8d5c824
add support for Apple iOS on ARM
...
Most tests are passing, but not all, so this still needs more work.
2011-08-10 19:21:48 -06:00
792653e190
strip leading slashes from name in ZipFile.getEntry
...
This is necessary to allow resource loading of the form
Foo.class.getResourceAsStream("/foo.txt") from JAR files.
2011-07-26 09:09:04 -06:00
c3824c6844
fix crash when encountering invokespecial call to abstract method
...
We must throw an AbstractMethodError when such a call is executed (not
when the call is compiled), so we compile this case as a call to a
thunk which throws such an error.
2011-07-17 19:54:55 -06:00
f00317c415
clarify javadoc in Continuations.java
2011-07-16 19:07:54 -06:00
e3662f13a9
update copyright years and increment version number
2011-07-13 08:25:21 -06:00
c3fa08c430
fix Thread.interrupt and Thread.interrupted
...
These were both totally broken; the latter wasn't even implemented.
This commit fixes/implements them and adds a simple test to exercise
them.
2011-07-12 14:15:43 -06:00
272789cf16
use getcwd instead of getenv("PWD") to get workding directory
...
The PWD environment variable is not always set; getcwd is more
reliable.
2011-07-11 10:44:06 -06:00
506ec7838e
remove unused Classes.vmClass method
2011-07-08 11:45:23 -06:00
794a45cb79
fix various ObjectOutputStream/ObjectInputStream bugs
2011-07-01 08:43:43 -06:00
9700b7def1
Changes for protobuf support
2011-06-21 14:37:08 -06:00
19856bc346
Changes for protobuf support
2011-06-21 14:37:08 -06:00
9aae57ee03
Additions for Protobuf support
2011-06-17 11:23:09 -06:00
b891db43bc
Additions for Protobuf support
2011-06-17 11:23:08 -06:00
50a699a08f
Merge remote branch 'origin/B14038_Lion_appshare' into oss-master
2011-06-03 17:35:40 -06:00
bcc72e8c9d
Merge remote branch 'remotes/origin/B14038_Lion_appshare' into oss-master
2011-06-03 14:39:50 -06:00
c7c0a45a61
Revert "OSX Lion build changes"
...
This commit introduced conditional includes which is not the preferred
method. Will do it in the makefile instead.
This reverts commit 7148556979
.
2011-06-01 13:56:03 -06:00
4514833700
Changes to add end function to Inflater and Deflater per the java spec
2011-05-31 14:46:15 -06:00
6b4b4b0b8c
Changes to add end function to Inflater and Deflater per the java spec
2011-05-31 14:31:06 -06:00