Joel Dice
9b2a02e92b
avoid calling unrelated JNI methods during class initialization
...
The main goal here is to avoid making JNI calls from code that really
shouldn't need JNI (e.g. before this patch, ArrayList.add called
Math.max, which called Math.<clinit>, which called Random.<init>,
which called System.currentTimeMillis).
Besides following the "pay for only what you need" principle, this
change ensures we can call LambdaMetaFactory methods during AOT
compilation with a minimal VM (i.e. without compiling in JNI methods
we don't need).
2015-09-12 19:58:50 -06:00
Joel Dice
cbde34620c
update copyright years
2015-03-13 12:52:59 -06:00
Joel Dice
5d3c612d0e
fix JNIEnv::FindClass calls from JNI_OnLoad for all supported class libraries
...
This also fixes the some Android build rot and updates the version of
OpenSSL used.
2014-07-01 10:53:26 -06:00
Joel Dice
9b7d0d1624
update copyright years
2014-04-23 15:33:41 -06:00
Joel Dice
8f4c0e78ce
clean up System.getProperties and related methods
...
The behavior of Avian's versions of these methods was egregiously
non-standard, and there were problems with the Android implementations
as well.
2014-04-04 13:43:59 -06:00
Joel Dice
87b02eb949
update copyright years
...
Previously, I used a shell script to extract modification date ranges
from the Git history, but that was complicated and unreliable, so now
every file just gets the same year range in its copyright header. If
someone needs to know when a specific file was modified and by whom,
they can look at the Git history themselves; no need to include it
redundantly in the header.
2013-07-02 20:52:38 -06:00
Joel Dice
0addd8c814
update copyright years
2012-05-11 17:43:27 -06:00
JET
2f225795fc
added RuntimePermission and System.getenv()
2012-04-02 22:15:02 -06:00
Joel Dice
c0f39fbe0c
implement System.nanoTime
...
This is a quick and coarse, but servicable, implementation.
2011-04-08 20:32:33 -06:00
Joel Dice
a5742f5985
update copyright years
2010-12-05 20:21:09 -07:00
Zsombor Gegesy
7376425b24
dummy SecurityManager and related classes added
2010-09-11 21:23:46 +02:00
Zsombor
e507a26081
add System.getProperties
2008-07-13 18:27:05 -06:00
Eric Scharff
bba4f75c2f
Tweaked code indentation and formatting to match existing style
2008-07-03 10:49:08 -06:00
Zsombor
e3fd0d9c7d
add a few classes and methods to the classpath
...
Add java.lang.CharSequence, java.util.AbstractSet,
java.util.AbstractCollection, Collections.unmodifiableSet,
System.getProperty(String,String), etc.
2008-07-03 09:16:32 -06:00
Joel Dice
2edaa82801
prepend copyright notice and license to all source files; add license.txt and readme.txt
2008-02-19 11:06:52 -07:00
Joel Dice
e892f1bff5
refactor System.getProperty() to reduce coupling with native code
2007-10-26 12:13:21 -06:00
Joel Dice
b12b779c7f
add support for passing properties to the VM via JNI; use vm.builtins property to specify builtin libraries
2007-10-25 12:33:43 -06:00
Eric Scharff
75c51bb5ec
Added user.home system property
2007-10-11 15:39:21 -06:00
Joel Dice
07102aefad
System.setProperty() should return the previous value of the property, if any
2007-09-17 08:10:27 -06:00
Joel Dice
7cb3a30a91
sketch of Runtime.exec() and Calendar; misc bugfixes
2007-09-12 18:21:37 -06:00
Joel Dice
cb03240c64
quick sketches of various SWT 3.3 dependencies
2007-09-11 19:13:05 -06:00
Joel Dice
b8de552797
re-implement System.getProperty to separate vm-specific properties from others
2007-08-27 07:46:17 -06:00
Joel Dice
c20219df19
flesh out serialization/deserialization code and fix build
2007-08-12 18:50:25 -06:00
Joel Dice
97aaa419b4
quick sketch of java/io/*
2007-07-24 18:34:45 -06:00
Joel Dice
472ecb1713
flesh out some classpath classes
2007-07-22 13:06:21 -06:00
Joel Dice
48226f988c
add a bunch of classes to classpath and flesh out a few existing ones
2007-07-21 11:50:26 -06:00
Joel Dice
de9213ce30
finish java/lang/ref/* support; add wrapper classes for primitives
2007-07-19 21:18:25 -06:00
Joel Dice
f71c77298c
bugfixes
2007-07-07 17:47:35 -06:00
Joel Dice
c3320c2c97
flesh out classpath enough to test threading; fix indexing bug in parsePool()
2007-07-04 16:27:08 -06:00
Joel Dice
400b3633d7
more JNI work
2007-06-24 19:34:07 -06:00