This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Fwd: [patch] Import GNU Classpath 0.98
2009/2/25 Andrew Haley <aph@redhat.com>:
> Andrew John Hughes wrote:
>> Reposting for a third time, but with the patch compressed this time round.
>>
>> ---------- Forwarded message ----------
>> From: Andrew John Hughes <gnu_andrew@member.fsf.org>
>> Date: 2009/2/13
>> Subject: [patch] Import GNU Classpath 0.98
>> To: java-patches@gcc.gnu.org
>>
>>
>> This is a merge from the classpath-0_98-release tag into
>> trunk. ÂIt brings in the final few differences between the
>> last merge (2009/01/02) and the release (2009/02/05), namely:
>>
>> 2009-02-06 ÂAndrew John Hughes Â<ahughes@redhat.com>
>>
>> Â Â Â Â* NEWS:
>> Â Â Â ÂAdd stub for 0.99.
>> Â Â Â Â* configure.ac:
>> Â Â Â ÂBump to 0.99.
>> Â Â Â Â* doc/www.gnu.org/announce/20090205.wml,
>> Â Â Â Â* doc/www.gnu.org/downloads/downloads.wml,
>> Â Â Â Â* doc/www.gnu.org/newsitems.txt:
>> Â Â Â ÂUpdate website.
>>
>> 2009-02-05 ÂAndrew John Hughes Â<ahughes@redhat.com>
>>
>> Â Â Â Â* NEWS: Add VM updates.
>>
>> 2009-02-05 ÂAndrew John Hughes Â<ahughes@redhat.com>
>>
>> Â Â Â Â* NEWS: Updated.
>> Â Â Â Â* configure.ac:
>> Â Â Â ÂBump to 0.98 proper.
>>
>> 2009-02-05 ÂAndrew Haley Â<aph@redhat.com>
>>
>> Â Â Â ÂPR libgcj/38861
>> Â Â Â Â* native/plugin/gcjwebplugin.cc: Cope with the changed header file
>> Â Â Â Âformat. Âhttps://bugzilla.mozilla.org/show_bug.cgi?id=455458
>> Â Â Â Â(GCJ_GetJavaClass): Likewise.
>> Â Â Â Â(NP_Initialize): Likewise.
>>
>> 2009-02-05 ÂMark Wielaard Â<mark@klomp.org>
>>
>> Â Â Â ÂPR classpath/38912:
>> Â Â Â Â* gnu/xml/stream/XMLParser.java:
>> Â Â Â Â(getLocalName()): Respect stringInterning.
>> Â Â Â Â(getName()): Likewise.
>> Â Â Â Â(getPrefix()): Likewise.
>>
>> 2009-02-04 ÂAndrew John Hughes Â<ahughes@redhat.com>
>>
>> Â Â Â Â* native/jni/native-lib/cpproc.c:
>> Â Â Â Â(cpproc_forkAndExec): Don't return on a -1
>> Â Â Â Âresult from chdir as this may be valid in
>> Â Â Â Âsome cases. ÂA better fix is needed.
>>
>> 2009-02-03 ÂAndrew John Hughes Â<ahughes@redhat.com>
>>
>> Â Â Â Â* native/jni/native-lib/cpproc.c:
>> Â Â Â Â(cpproc_forkAndExec): Handle return of
>> Â Â Â Âchdir.
>>
>> 2009-02-03 ÂAndrew John Hughes Â<ahughes@redhat.com>
>>
>> Â Â Â ÂPR classpath/38417:
>> Â Â Â Â* gnu/java/security/jce/prng/SecureRandomAdapter.java:
>> Â Â Â ÂRemove unneeded import.
>> Â Â Â Â* gnu/javax/crypto/jce/prng/FortunaImpl.java:
>> Â Â Â ÂFix typo.
>> Â Â Â Â* java/security/SecureRandom.java:
>> Â Â Â ÂRemove duplicate use of VMSecureRandom,
>> Â Â Â Âcall SecureRandomAdapter instead.
>> Â Â Â Â* vm/reference/gnu/java/security/jce/prng/VMSecureRandom.java:
>> Â Â Â ÂMoved from java/security so SecureRandomAdapter can
>> Â Â Â Âaccess it.
>>
>> 2009-01-22 ÂMario Torre Â<neugens@aicas.com>
>>
>> Â Â Â ÂPR classpath/38417:
>> Â Â Â Â* gnu/java/security/jce/prng/SecureRandomAdapter.java:
>> Â Â Â Â(getSeed(int)): New; retrieve seed from source specified
>> Â Â Â Âby securerandom.source property or failing that, use
>> Â Â Â ÂVMSecureRandom.
>> Â Â Â Â* gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java:
>> Â Â Â Â(engineGenerateSeed(int)): Use SecureRandomAdapter.
>> Â Â Â Â(engineNextBytes(byte[])): Initialise using new seed.
>> Â Â Â Â* gnu/javax/crypto/jce/prng/CSPRNGSpi.java:
>> Â Â Â Â(engineGenerateSeed(int)): Use SecureRandomAdapter.
>> Â Â Â Â(engineNextBytes(byte[])): Initialise using new seed.
>> Â Â Â Â* gnu/javax/crypto/jce/prng/FortunaImpl.java:
>> Â Â Â Â(engineSetSeed(byte[])): Initialise with new seed if unused.
>> Â Â Â Â(engineGenerateSeed(int)): Use SecureRandomAdapter.
>> Â Â Â Â* gnu/javax/crypto/jce/prng/ICMRandomSpi.java:
>> Â Â Â Â(engineGenerateSeed(int)): Use SecureRandomAdapter.
>> Â Â Â Â(engineNextBytes(byte[])): Initialise using new seed.
>> Â Â Â Â* gnu/javax/crypto/jce/prng/UMacRandomSpi.java:
>> Â Â Â Â(engineGenerateSeed(int)): Use SecureRandomAdapter.
>> Â Â Â Â(engineNextBytes(byte[])): Initialise using new seed.
>> Â Â Â Â* gnu/javax/crypto/prng/ICMGenerator.java:
>> Â Â Â Â(setup(Map)): Call fillBlock().
>>
>> 2009-01-22 ÂMark Wielaard Â<mark@klomp.org>
>>
>> Â Â Â Â* tools/gnu/classpath/tools/gjdoc/Main.java (getGjdocVersion):
>> Â Â Â ÂRead version.properties from package.
>>
>> 2009-01-05 ÂRobert Schuster Â<robertschuster@fsfe.org>
>>
>> Â Â Â Â* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
>> Â Â Â Â(drawPolyline): Rewritten.
>>
>> 2009-01-05 ÂAndrew John Hughes Â<gnu_andrew@member.fsf.org>
>>
>> Â Â Â Â* Makefile.am:
>> Â Â Â ÂAdd ChangeLog-2008 to EXTRA_DIST.
>>
>> In short, a few bug fixes and one security fix related to seed generation
>> for random data. ÂTesting shows that the setting in classpath.security now leads
>> to a read from /dev/urandom when retrieving random data via
>> java.security.SecureRandom
>> (not the case with gcj 4.3.3). ÂIf this setting is absent,
>> VMSecureRandom is used.
>> I've provided a POSIX implementation in the patch which uses
>> /dev/random. ÂThis can
>> be tested by commenting out the line in classpath.security. ÂIt
>> occasionally blocks,
>> showing the use of /dev/random over /dev/urandom. ÂGiven this is not
>> used by default
>> (as I initially believed), I'm not sure whether we should include this
>> or just revert
>> to the default Java-based spinning threads implementation. ÂNeither
>> the default from
>> classpath.security or the native implementation will work on win32.
>>
>> OK for trunk?
>
> Yes.
>
> Thanks,
> Andrew.
>
Thanks. Committed.
--
Andrew :-)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8