Xerxes Rånby
2e5990a6b0
OpenJDK: Implement JVM_FindClassFromCaller
...
8015256: Better class accessibility
Summary: Improve protection domain check in forName()
Signed-off-by: Xerxes Rånby <xerxes@gudinna.com>
2014-10-26 21:46:09 +01:00
Joshua Warner
1d532d6d25
Merge pull request #359 from lostdj/patch-3
...
jnienv.h: deleted redefinition of BOOTCLASSPATH_APPEND_OPTION
2014-10-25 10:19:42 -06:00
Timofey Lagutin
d8f66a84ea
jnienv.h: deleted redefinition of BOOTCLASSPATH_APPEND_OPTION
2014-10-25 17:43:46 +04:00
Joshua Warner
2e828b405c
fix darwin embedding instructions in README.md
2014-10-20 13:30:07 -06:00
Joshua Warner
331c635814
Merge pull request #357 from lostdj/patch-2
...
Added missing cp/avian/Math.atan2(double,double)
2014-10-11 20:47:17 -06:00
Joshua Warner
d063ea0ef3
Merge pull request #358 from bigfatbrowncat/avian-pack
...
Tiny fix in Class.getClassType()
2014-10-11 20:46:06 -06:00
Ilya Mizus
ecce49be5d
Added some tests for class types
2014-10-11 23:50:53 +04:00
Ilya Mizus
75dda14691
Fixed small bug in getClassType() function.
2014-10-11 23:36:14 +04:00
Timofey Lagutin
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
Joel Dice
022be0c370
Merge pull request #355 from lostdj/patch-1
...
cp/avian/java-net.cpp: fix segfault
2014-10-10 09:37:11 -06:00
Mike Jensen
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
Timofey Lagutin
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
Joel Dice
d930fbcda2
ensure Object.notify is available for Android classpath build and reduce duplication
2014-10-10 07:38:41 -06:00
Joel Dice
e7e54ad52b
Merge pull request #352 from bigfatbrowncat/avian-pack
...
Small fix for Android build on Windows
2014-10-09 15:48:41 -06:00
Joshua Warner
49b639b2a5
Merge pull request #351 from dicej/getEnclosingClass
...
implement Class.getEnclosingClass
2014-10-09 08:22:16 -06:00
Joel Dice
1575b901d4
implement Class.getEnclosingClass
2014-10-09 08:01:42 -06:00
Ilya Mizus
9e58eba805
Small fix for Android build on Windows
2014-10-09 17:50:09 +04:00
Ilya Mizus
85fec988d5
Added Class.getGenericSuperclass() and improved Member subclasses. Fixed Makefile on OS X
2014-10-09 02:32:56 +04:00
Joel Dice
998f99af44
Merge remote-tracking branch 'bfbc/avian-pack'
...
Conflicts:
makefile
2014-10-08 14:04:00 -06:00
Joel Dice
fbcdfd6dec
Merge remote-tracking branch 'dicej/android-upgrade'
2014-10-08 13:41:50 -06:00
Ilya Mizus
7d4cd23837
Some improvements in the code
2014-10-08 03:46:52 +04:00
Ilya Mizus
d1d97351b9
Reflection improved
2014-10-07 16:50:02 +04:00
Joel Dice
928d28e6d8
update version to 1.2.0-SNAPSHOT
2014-10-06 17:04:49 -06:00
Joel Dice
53eeccf7ef
mark 1.1 release
2014-10-06 13:56:44 -06:00
Joel Dice
0912639dae
Merge pull request #347 from joshuawarner32/master
...
make x86 backend build on arm
2014-10-06 13:56:10 -06:00
Joshua Warner
03c1f43304
make x86 backend build on arm
2014-10-06 11:01:48 -06:00
Joel Dice
c1ad17b62e
Merge pull request #346 from joshuawarner32/master
...
add detection for iOS 8 SDK
2014-10-06 09:15:23 -06:00
Joshua Warner
40b69a1c87
add detection for iOS 8 SDK
2014-10-06 09:11:56 -06:00
Joshua Warner
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
Joel Dice
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
Ilya Mizus
270bbc66f9
Added getGenericInterfaces() and fixed SignatureParser to work for everything except TypeVariable-s
2014-10-04 22:17:49 +04:00
Ilya Mizus
67cafb118c
Added isAnonymousClass(), isLocalClass(), isMemberClass() functions to Class class
2014-10-02 23:51:25 +04:00
Joel Dice
6918517c0b
Merge remote-tracking branch 'dicej/android-upgrade' into android-upgrade
2014-09-29 11:11:37 -06:00
Joel Dice
dec3d39d2e
Merge remote-tracking branch 'origin/master' into android-upgrade
2014-09-29 11:11:06 -06:00
Joel Dice
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
Joel Dice
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
Joshua Warner
2b4f1bad5d
make classpath native sources depend on vm-depends in makefile ( fixes #340 )
2014-09-24 13:15:41 -06:00
Joel Dice
b406e9c2ed
Merge remote-tracking branch 'origin/master' into android-upgrade
2014-09-24 10:59:39 -06:00
Joshua Warner
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
Joel Dice
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
Joshua Warner
53491b7c38
Merge pull request #337 from dicej/master
...
implement JVM_isNaN
2014-09-21 18:00:36 -06:00
Joel Dice
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
Joel Dice
5119c81d7d
update README.md to reflect conscrypt fork
2014-09-18 11:53:53 -06:00
Joshua Warner
fa2ab168ce
Merge pull request #336 from dicej/builtinelement-dispose
...
fix segfault in BuiltinElement::dispose
2014-09-15 09:33:55 -06:00
Joel Dice
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
Joel Dice
1ca3e9a549
add Avian_java_lang_Thread_nativeSetName stub
2014-09-15 08:57:30 -06:00
Joshua Warner
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
Joel Dice
a81879129a
add a TODO comment about class comparison
2014-09-03 16:24:15 -06:00
Joel Dice
6e209e2925
a couple of tweaks to get Mac/Android tests passing
2014-09-02 10:14:04 -06:00
Vasily Litvinov
5e08230ff2
Makefile fix for new ICU4C on Windows
2014-09-02 01:09:29 +04:00