Commit Graph

4594 Commits

Author SHA1 Message Date
ecce49be5d Added some tests for class types 2014-10-11 23:50:53 +04:00
75dda14691 Fixed small bug in getClassType() function. 2014-10-11 23:36:14 +04:00
d4d31af740 Added missing cp/avian/Math.atan2(double,double)
It was implemented as native function, but wasn't added to java.lang.Math.
2014-10-11 14:33:48 +04:00
022be0c370 Merge pull request #355 from lostdj/patch-1
cp/avian/java-net.cpp: fix segfault
2014-10-10 09:37:11 -06:00
e421e52eb2 Merge pull request #354 from dicej/notify
ensure Object.notify is available for Android classpath build and reduce...
2014-10-10 09:32:24 -06:00
a820370cb2 cp/avian/java-net.cpp: fix segfault
In Java_java_net_InetAddress_ipv4AddressForName:
  Throw nullptrex on hostname = null.
2014-10-10 19:06:36 +04:00
d930fbcda2 ensure Object.notify is available for Android classpath build and reduce duplication 2014-10-10 07:38:41 -06:00
e7e54ad52b Merge pull request #352 from bigfatbrowncat/avian-pack
Small fix for Android build on Windows
2014-10-09 15:48:41 -06:00
49b639b2a5 Merge pull request #351 from dicej/getEnclosingClass
implement Class.getEnclosingClass
2014-10-09 08:22:16 -06:00
1575b901d4 implement Class.getEnclosingClass 2014-10-09 08:01:42 -06:00
9e58eba805 Small fix for Android build on Windows 2014-10-09 17:50:09 +04:00
85fec988d5 Added Class.getGenericSuperclass() and improved Member subclasses. Fixed Makefile on OS X 2014-10-09 02:32:56 +04:00
998f99af44 Merge remote-tracking branch 'bfbc/avian-pack'
Conflicts:
	makefile
2014-10-08 14:04:00 -06:00
fbcdfd6dec Merge remote-tracking branch 'dicej/android-upgrade' 2014-10-08 13:41:50 -06:00
7d4cd23837 Some improvements in the code 2014-10-08 03:46:52 +04:00
d1d97351b9 Reflection improved 2014-10-07 16:50:02 +04:00
928d28e6d8 update version to 1.2.0-SNAPSHOT 2014-10-06 17:04:49 -06:00
53eeccf7ef mark 1.1 release 2014-10-06 13:56:44 -06:00
0912639dae Merge pull request #347 from joshuawarner32/master
make x86 backend build on arm
2014-10-06 13:56:10 -06:00
03c1f43304 make x86 backend build on arm 2014-10-06 11:01:48 -06:00
c1ad17b62e Merge pull request #346 from joshuawarner32/master
add detection for iOS 8 SDK
2014-10-06 09:15:23 -06:00
40b69a1c87 add detection for iOS 8 SDK 2014-10-06 09:11:56 -06:00
843a727ced Merge pull request #345 from dicej/class-getinterfaces
fix Class.getInterfaces to return only declared interfaces
2014-10-05 19:07:00 -06:00
be91d792e4 fix Class.getInterfaces to return only declared interfaces
Previously, we returned all interfaces implemented directly or
indirectly, which did not match the JDK behavior.
2014-10-05 16:28:36 -06:00
270bbc66f9 Added getGenericInterfaces() and fixed SignatureParser to work for everything except TypeVariable-s 2014-10-04 22:17:49 +04:00
67cafb118c Added isAnonymousClass(), isLocalClass(), isMemberClass() functions to Class class 2014-10-02 23:51:25 +04:00
6918517c0b Merge remote-tracking branch 'dicej/android-upgrade' into android-upgrade 2014-09-29 11:11:37 -06:00
dec3d39d2e Merge remote-tracking branch 'origin/master' into android-upgrade 2014-09-29 11:11:06 -06:00
ffb0f9b345 provide slightly more complete Thread.nativeGetStatus implementation
This fixes SimpleFramework (which depends on Thread.getState returning
Thread.State.NEW for unstarted threads) when using the Android class
library.
2014-09-29 11:08:41 -06:00
3cb5f88e83 Merge pull request #341 from joshuawarner32/master
Classpath native sources to depend on vm-depends in makefile (fixes #340)
2014-09-24 14:24:02 -06:00
2b4f1bad5d make classpath native sources depend on vm-depends in makefile (fixes #340) 2014-09-24 13:15:41 -06:00
b406e9c2ed Merge remote-tracking branch 'origin/master' into android-upgrade 2014-09-24 10:59:39 -06:00
15226aa3cc Merge pull request #339 from dicej/aotonly
abort if JIT triggered when AVIAN_AOT_ONLY is defined
2014-09-24 08:49:14 -06:00
f347414675 abort if JIT triggered when AVIAN_AOT_ONLY is defined
If AVIAN_AOT_ONLY is defined and the VM is asked to compile a method
anyway, we should abort immediately rather than let it crash later
(e.g. due to an access violation on a non-jailbroken iPhone).  This
makes debugging such issues a bit easier since the failure will come
earlier and with a more obvious cause.
2014-09-22 16:35:53 -06:00
53491b7c38 Merge pull request #337 from dicej/master
implement JVM_isNaN
2014-09-21 18:00:36 -06:00
69d9ab004a implement JVM_isNaN
This method was previously unimplemented and untested.  However, the
JMH benchmark suite requires it, so now it's time to implement it.
2014-09-21 17:31:45 -06:00
5119c81d7d update README.md to reflect conscrypt fork 2014-09-18 11:53:53 -06:00
fa2ab168ce Merge pull request #336 from dicej/builtinelement-dispose
fix segfault in BuiltinElement::dispose
2014-09-15 09:33:55 -06:00
ce91905b33 fix segfault in BuiltinElement::dispose
If a BuiltinElement is never used (i.e. we never try to load anything
from it), its init method will never be called, and thus its backing
library will never be loaded.  In that case, we should not try to call
library->disposeAll() in the destructor.
2014-09-15 09:03:02 -06:00
1ca3e9a549 add Avian_java_lang_Thread_nativeSetName stub 2014-09-15 08:57:30 -06:00
a020105225 Merge pull request #334 from dicej/get-method-parameter-types
make Class.getMethod (and getConstructor) more strict about parameter ty...
2014-09-04 17:16:05 -06:00
a81879129a add a TODO comment about class comparison 2014-09-03 16:24:15 -06:00
6e209e2925 a couple of tweaks to get Mac/Android tests passing 2014-09-02 10:14:04 -06:00
5e08230ff2 Makefile fix for new ICU4C on Windows 2014-09-02 01:09:29 +04:00
e83ed4b454 Fixed CFLAGS for Android classpath under MinGW 2014-09-02 00:20:38 +04:00
62dc65e0e4 Fixed missing __BEGIN_DECLS / __END_DECLS on MinGW 2014-09-01 02:35:06 +04:00
33680dd676 Fixed jar tool usage - we should call "$(jar)" instead of simply "jar" 2014-09-01 01:13:14 +04:00
f2493650d5 Small fix for Android Classpath on MacOS 2014-09-01 00:53:09 +04:00
831c529a98 make Class.getMethod (and getConstructor) more strict about parameter types
This matches the JDK behavior.
2014-08-28 17:00:33 -06:00
70d2ce429c Merge pull request #333 from sgoings/master
Add win32/win64 resolution in Gradle build
2014-08-28 16:09:45 -06:00