Joel Dice
e3a5c7e03f
look for jar under $JAVA_HOME/bin
2008-10-10 17:01:33 -06:00
Joel Dice
96d7bf571d
implement a few methods to make SWT 3.4 happy
2008-10-10 11:49:28 -06:00
Joel Dice
f423d39b25
explicitly include stdint.h in java-nio.cpp
2008-10-10 11:49:07 -06:00
Joel Dice
88828e7a02
update readme.txt windows build instructions
2008-10-10 11:47:31 -06:00
Joel Dice
e2c04b2761
various makefile refinements for better supporting native Windows builds
2008-10-10 11:43:40 -06:00
Joel Dice
3575e28e87
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-10-10 10:55:14 -06:00
Frank Jacobs
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
dain
7dbd4903f0
set default locale to en, us
2008-10-09 18:30:24 -06:00
dain
4aa731bacf
implemented getDeclaredConstructor method
2008-10-09 18:29:53 -06:00
Joel Dice
f9426f084f
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-10-09 17:15:02 -06:00
Joel Dice
81cb951b08
fix stack corruption due to spurious pop events generated for jsr bytecodes
2008-10-09 17:14:52 -06:00
dain
b19ce6378a
Add Integer valueOf(String) method
2008-10-08 13:51:19 -06:00
Joel Dice
aeafb52bcb
add ZipFile(File) constructor and ZipFile.close
2008-10-06 17:30:48 -06:00
Joel Dice
114bf777bb
avoid null pointer deref in Java_java_io_RandomAccessFile_open
2008-10-06 17:30:07 -06:00
Joel Dice
ae75be5683
add copyright headers
2008-10-03 14:57:40 -06:00
Joel Dice
2684b7c024
remove debug logging
2008-10-03 14:26:23 -06:00
Joel Dice
49534c25f6
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-10-03 14:15:53 -06:00
Joel Dice
4c307ae8c6
implement minimal, read-only versions of RandomAccessFile and ZipFile
2008-10-03 14:15:47 -06:00
dain
c9e0aa824d
Initialized variables to appease gcc 4.2
2008-10-02 13:20:30 -06:00
Joel Dice
07daa9be51
free properties array in Machine::dispose
2008-09-30 17:03:13 -06:00
Joel Dice
df75153a85
handle case of null Stack::pushEvent in CallEvent ctor
2008-09-30 11:22:46 -06:00
Joel Dice
89cc5aa546
initialize JarElement::region in constructor
2008-09-29 18:04:47 -06:00
Joel Dice
e2f0b45337
add 'small' optimization mode
2008-09-29 11:13:31 -06:00
Joel Dice
823327a00b
fix bytecode address calculations which broke when using -Os
2008-09-29 08:46:44 -06:00
Joel Dice
1910e1b837
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-09-26 18:17:41 -06:00
Joel Dice
ac988f7a0d
fix static field lookup from interfaces
2008-09-26 18:17:13 -06:00
Joel Dice
025cf59bb6
Vector.setElementAt should return void
2008-09-26 18:16:35 -06:00
Joel Dice
066714933c
implement Random.nextBytes and Random.nextLong
2008-09-26 15:30:08 -06:00
Joel Dice
a16a00a7fb
implement ByteArrayOutputStream.reset
2008-09-26 15:29:38 -06:00
J. Treadwell
27e8bd1406
Temporary StringBuilder fix
2008-09-26 11:31:47 -06:00
Joel Dice
93a96f3833
fix backwards logic in Stack.empty
2008-09-26 08:10:16 -06:00
J. Treadwell
8e79618392
added StringBuffer/Builder methods
2008-09-22 09:31:10 -06:00
Joel Dice
96c6c7f8ea
don't log JIT results to stderr unless DebugCompile is true
2008-09-19 16:43:06 -06:00
Joel Dice
1657fb794c
support logging addresses and names of JIT-compiled methods to a file specified via a system property
2008-09-19 11:34:37 -06:00
Joel Dice
27efbcf5e1
fix single-byte BufferedInputStream.read to generate unsigned result
2008-09-02 14:54:34 -06:00
Joel Dice
e0e827596e
make Long.parseLong more efficient
2008-08-29 11:37:53 -06:00
Joel Dice
9017b5996a
implement HashSet.toString
2008-08-22 14:02:38 -06:00
Joel Dice
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
Joel Dice
78e48996b5
fix handling of native methods in stack walking code
2008-08-14 12:13:05 -06:00
Joel Dice
0974c36008
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-08-13 15:39:53 -06:00
Joel Dice
e46e222f38
wait for other threads to exit in DestroyJavaVM
2008-08-13 15:39:48 -06:00
Matt Weaver
56e708aab0
Added the final method "name()", not being used presently, but useful if toString() is overridden.
2008-08-12 16:21:39 -06:00
Joel Dice
86dfaf9ff0
implement ByteBuffer.getInt(int)
2008-08-12 11:09:17 -06:00
Joel Dice
297e8f09ec
don't calculate the index in hashMapInsert until it's needed
2008-08-11 16:44:38 -06:00
Joel Dice
b6ce0ca73e
Merge branch 'master' of oss.readytalk.com:/var/local/git/avian
2008-08-11 15:20:31 -06:00
Joel Dice
5f4d86a703
avoid potential corruption in hashMapInsert due to table-resize-on-GC
2008-08-11 15:20:12 -06:00
Joel Dice
22a5707966
remove obsolete code from postVisit; upgrade assert to expect for debugging
2008-08-11 15:16:55 -06:00
Eric Scharff
f4d6ce18d8
Merge branch 'master' of ssh://oss.readytalk.com/var/local/git/avian
2008-08-05 14:15:38 -06:00
Eric Scharff
e45b1f68c7
prepend copyright notice and license to source files
2008-08-05 14:15:10 -06:00
Eric Scharff
7e0941f6fb
Added java.lang.AssertionError
2008-08-05 14:06:37 -06:00