Commit Graph

4557 Commits

Author SHA1 Message Date
Joshua Warner
adca99b0ae Merge pull request #362 from dicej/master
StringWriter.getBuffer, System.mapLibraryName, and makefile cleanup
2014-10-29 08:55:52 -06:00
Joel Dice
2776e98bf5 use .dylib instead of .jnilib as OS X library suffix
This matches the behavior of System.mapLibraryName on
JDK 7 and later.
2014-10-28 14:53:43 -06:00
Joel Dice
f25d5921a5 implement StringWriter.getBuffer
This is used by json.org's JSON library.
2014-10-28 14:52:02 -06:00
Joel Dice
e41133d268 fix malformed variable reference in makefile 2014-10-28 14:49:50 -06:00
Joshua Warner
1bc36466f5 Merge pull request #361 from dicej/msys
fix MSYS/MinGW build
2014-10-27 10:18:19 -06:00
Joel Dice
347a56824a fix MSYS/MinGW build
MinGW defines __STRICT_ANSI__ when -std=c++0x is specified, which we
have to override in order to get e.g. strdup.  Also, we need to
specify -D_WIN32_WINNT=0x0500 to get post-Windows-2000 functions like
GetModuleHandleEx.  Finally, it seems that GCC 4.8.1 wants us to use
%I64d instead of %lld on Windows.
2014-10-27 09:39:53 -06:00
Joel Dice
82952b29d9 Merge pull request #360 from xranby/master
Implement JVM_FindClassFromCaller OpenJDK: 8015256: Better class accessibility
2014-10-27 08:48:42 -06:00
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