8150d4a3b6
added toHexString() to java.lang.Long
2009-03-09 14:54:31 -06:00
1d04fed6de
implement Collections.shuffle
2009-03-04 08:18:18 -07:00
8659c709b7
avoid passing null arguments to native methods in SocketChannel
2009-03-02 15:22:17 -07:00
bf8c856a3c
Partially handle cascading logging levels.
...
We now maintain a virtual root loger, on which you can set the log
level. When any logger logs, it finds the effective log level by going
up the parent chain, and finding a meaningful log lvel. Thus, one can
now do Logger.getLogger("").setLevel(Level.FINER) and set the log level
for all other loggers (that do not specify their own default) to the
level specified.
2009-02-19 15:53:10 -07:00
8bcc78b5b7
add InputStreamReader(InputStream,String)
2009-02-16 18:22:19 -07:00
8411cfbe8f
add new constructor to the String :
...
public String(byte bytes[], int offset, int length, String
charsetName)
throws UnsupportedEncodingException;
2009-02-16 18:15:41 -07:00
8c68bc0e1b
add logp methods to Logger
2009-02-16 18:11:05 -07:00
7c1a5fe57d
add level handling to Logger
2009-02-16 18:10:31 -07:00
d682ccaceb
add synchronized map
2009-02-16 17:52:27 -07:00
9ba62e25b9
fix and-ing, or-ing, etc BitSet with variant size
2009-02-16 17:51:37 -07:00
46e19f9c80
Fixed bug where seconds were always zero because % was misspelled as /
2009-02-03 15:30:03 -07:00
277278b331
Fixed off by one in list method.
2009-02-03 15:28:39 -07:00
e86acf4543
added separator to String and added IOException to vm.pro
2009-01-02 13:25:05 -07:00
7d68c9b0a5
Merge branch 'bootimage' of oss.readytalk.com:/var/local/git/avian
...
Conflicts:
src/heapdump.cpp
2008-12-04 14:29:17 -07:00
25ade1484a
lots of bugfixes and refactoring
2008-12-01 19:38:00 -07:00
a3c8a0460d
silence GCC 4.3.2 warning in Java_java_lang_Runtime_exec
2008-11-24 17:03:00 -07:00
035aa0ecd4
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian into bootimage
...
Conflicts:
src/compile.cpp
src/machine.h
src/util.h
2008-11-23 17:02:34 -07:00
20cf42c5e4
more work on boot image creation
2008-11-23 16:58:01 -07:00
fccf906349
add minimal java.net.Socket implementation to support Socket.setTcpNoDelay
2008-11-22 15:32:53 -07:00
3001c2067c
changed String(byte[] bytes, String charsetName) to support only UTF-8
2008-11-12 10:19:21 -07:00
1f7f9319c3
Added UTF-8 support (still absent with string literals)!
2008-11-11 17:43:11 -07:00
63c78d9d84
implement ResourceBundle.getKeys
2008-11-03 15:18:44 -07:00
6a5116e7a7
implement primitive heap dump facility for memory profiling, accessible via Runtime.dumpHeap
...
The proper way to do this is to implement a subset of JVMTI, but this
will do the job for now.
2008-10-21 17:38:20 -06:00
96d7bf571d
implement a few methods to make SWT 3.4 happy
2008-10-10 11:49:28 -06:00
f423d39b25
explicitly include stdint.h in java-nio.cpp
2008-10-10 11:49:07 -06:00
3575e28e87
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-10-10 10:55:14 -06:00
68513521ef
support building on Windows using MinGW
...
Here is a patch for getting Avian to build in Windows. I used MinGW
and MSYS for the build environment. The patch has the following
changes:
1. java-nio.cpp: Had to add an include and remove a function
declaration that was reported as duplicate.
2. readme.txt: Updated the instructions to include notes about
building on Windows.
3. makefile: Added a conditional for MinGW. I left the existing "ifeq
($(platform),windows)" conditional alone so as to not break
cross-compiled Windows builds. There are some similarities between the
two, so it might be possible to combine portions of them in an elegant
manner. Since I'm not sure how the cross-compiled builds have been
done, I didn't want to mess with that portion of the makefile.
2008-10-10 08:06:31 -06:00
7dbd4903f0
set default locale to en, us
2008-10-09 18:30:24 -06:00
4aa731bacf
implemented getDeclaredConstructor method
2008-10-09 18:29:53 -06:00
b19ce6378a
Add Integer valueOf(String) method
2008-10-08 13:51:19 -06:00
aeafb52bcb
add ZipFile(File) constructor and ZipFile.close
2008-10-06 17:30:48 -06:00
114bf777bb
avoid null pointer deref in Java_java_io_RandomAccessFile_open
2008-10-06 17:30:07 -06:00
ae75be5683
add copyright headers
2008-10-03 14:57:40 -06:00
2684b7c024
remove debug logging
2008-10-03 14:26:23 -06:00
4c307ae8c6
implement minimal, read-only versions of RandomAccessFile and ZipFile
2008-10-03 14:15:47 -06:00
025cf59bb6
Vector.setElementAt should return void
2008-09-26 18:16:35 -06:00
066714933c
implement Random.nextBytes and Random.nextLong
2008-09-26 15:30:08 -06:00
a16a00a7fb
implement ByteArrayOutputStream.reset
2008-09-26 15:29:38 -06:00
93a96f3833
fix backwards logic in Stack.empty
2008-09-26 08:10:16 -06:00
8e79618392
added StringBuffer/Builder methods
2008-09-22 09:31:10 -06:00
27efbcf5e1
fix single-byte BufferedInputStream.read to generate unsigned result
2008-09-02 14:54:34 -06:00
e0e827596e
make Long.parseLong more efficient
2008-08-29 11:37:53 -06:00
9017b5996a
implement HashSet.toString
2008-08-22 14:02:38 -06:00
c8cc7d931b
maintain a table to look up methods called via JNI
...
This simplifies the JNI implementation for looking up methods. It also
fixes a bug where an applications calls GetStaticMethodID with class A
and then calls CallStatic<Type>Method with class B which extends A. The
old code would look in the wrong method table and thus call the wrong
method.
2008-08-15 12:32:33 -06:00
56e708aab0
Added the final method "name()", not being used presently, but useful if toString() is overridden.
2008-08-12 16:21:39 -06:00
86dfaf9ff0
implement ByteBuffer.getInt(int)
2008-08-12 11:09:17 -06:00
e45b1f68c7
prepend copyright notice and license to source files
2008-08-05 14:15:10 -06:00
7e0941f6fb
Added java.lang.AssertionError
2008-08-05 14:06:37 -06:00
f601897d9e
Accept uppercase letters as digits, per the spec for Character.digit
2008-08-05 14:05:36 -06:00
0bd29069f4
Added override, soley for documentation purposes (mark methods overriding parent)
2008-07-22 11:33:55 -06:00