c4722fa843
update Unsafe.setMemory to reflect new OpenJDK 7 signature and semantics
2012-03-14 11:54:03 -06:00
eb9f5c6dcc
Merge remote branch 'oss/master' into jdk7
2012-03-14 08:22:46 -06:00
756f58210a
add test for sun.misc.Unsafe functionality
2012-03-13 08:28:33 -06:00
4aefa211a3
File.createNewFile should return false if the file already exists
2012-03-13 08:26:51 -06:00
6c9a1e1643
add "throws IOException" to java.io.File.createTempFile
2012-03-11 04:57:22 -06:00
a61c1aba60
Merge remote branch 'oss/master' into jdk7
2012-02-27 18:19:22 -07:00
b5fda8ee13
use avian.http.Handler for http(s) URLs, not avian.file.Handler
2012-02-27 13:38:47 -07:00
574a8ea1e2
Merge branch 'master' into prv-ga-merge
2012-02-27 13:28:06 -07:00
3111f07430
add "throws IOException" to java.io.File.createTempFile
2012-02-20 17:23:18 -07:00
f63d4584c2
Merge remote branch 'oss/master' into jdk7
2012-02-20 11:08:58 -07:00
bc5661d6f3
start work on OpenJDK 7 class library port
2012-02-18 15:17:10 -07:00
750e5f903c
include leading slash in path when parsing URLs in URLStreamHandler
...
This matches the behavior of OpenJDK's version.
2012-02-18 15:14:16 -07:00
c5ef39f2bd
implement File.getAbsoluteFile for Windows
2012-02-16 18:19:01 -07:00
84185f0884
Merge remote branch 'origin/http_url' into prv-ga-merge
2012-02-16 11:08:53 -07:00
9fe2d69b06
improve seed generation in java.util.Random
...
The previous code caused frequent seed collisions for successive calls
to the no-arg constructor, even for single threaded workloads. This
patch should avoid such collisions in both single and multi-threaded
cases.
2012-02-14 15:17:07 -07:00
a254d20e0e
improve seed generation in java.util.Random
...
The previous code caused frequent seed collisions for successive calls
to the no-arg constructor, even for single threaded workloads. This
patch should avoid such collisions in both single and multi-threaded
cases.
2012-02-14 13:03:13 -07:00
c323bc86b5
Merge branch 'http_url' into oss-master
2012-02-14 10:54:04 -07:00
bbb4529752
implement File.setExecutable(), File.canExecute(), and File.createTempFile()
2012-02-09 14:23:24 -07:00
edc768f837
implement File.setExecutable(), File.canExecute(), and File.createTempFile()
2012-02-09 14:04:42 -07:00
b45528203d
avoid crashes due to calling select or wakeup on a closed Selector
2012-01-31 09:48:05 -07:00
807f2a8d51
avoid crash when Selector.close is called more than once on the same instance
2012-01-30 13:42:32 -07:00
a6753c3dc3
Request a share mode of both reading and writing for RandomAccessFile open.
...
This change allows reading and writing to happen concurrently on the
file on Windows.
2012-01-19 15:10:45 -07:00
7022b23b26
add AbstractCollection.toString implementation
2012-01-12 10:45:05 -07:00
70408ea717
Fix a bug in parsing the port value from a URL.
2012-01-12 09:55:03 -07:00
651b0eb49a
Add rudimentary support for http/https protocols in URL.
2012-01-12 09:54:58 -07:00
9ba7c504da
Merge remote branch 'origin/SWT3.7_UrlUpdates' into oss-master
2011-12-29 11:00:59 -07:00
b3850ac76d
Initial attempt at resolving SWT3.7 missing operatons in Avian. Everything seems to be working except floatToIntBits, hence the test case failing.
2011-12-28 15:52:53 -07:00
c012e18a8b
Add rudimentary support for http/https protocols in URL.
2011-12-02 15:46:36 -07:00
b29db7fece
fix OpenJDK 7 build error
...
OpenJDK 7's javac doesn't seem to like that we're accessing
Enum.ordinal in compareTo when it's private.
2011-11-19 19:22:34 -07:00
21610c1c9b
Merge branch 'master' of ssh://git.ecovate.com/avian
2011-11-09 13:26:51 -07:00
89cdd9d0d2
Fixed bug where calling Process.destroy() on a PID that no longer exist kills all processes in Pgroup.
2011-11-09 13:26:36 -07:00
f1b0d995a8
Fixed bug where calling Process.destroy() on a PID that no longer exist kills all processes in Pgroup.
2011-11-09 13:18:04 -07:00
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