This is the mail archive of the
mauve-patches@sourceware.org
mailing list for the Mauve project.
FYI: don't use System class loader by default.
- From: Mario Torre <mario dot torre at aicas dot com>
- To: mauve-patches at sources dot redhat dot com
- Date: Thu, 24 Sep 2009 15:21:34 +0200
- Subject: FYI: don't use System class loader by default.
As per subject,
Mario
--
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com * Tel: +49-721-663 968-44
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA FC7C 4086 63E3 80F2 40CF
USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt
Please, support open standards:
http://endsoftpatents.org/
# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: mauve/ChangeLog
--- mauve/ChangeLog Base (1.2150)
+++ mauve/ChangeLog Locally Modified (Based On 1.2150)
@@ -1,5 +1,11 @@
2009-09-24 Mario Torre <neugens@aicas.com>
+ * gnu/testlet/java/util/ResourceBundle/getBundle:
+ Specify the parent classloader instead of using the system
+ classloader by default.
+
+2009-09-24 Mario Torre <neugens@aicas.com>
+
* gnu/testlet/org/omg/PortableInterceptor/Interceptor/testInterceptors:
Remove checks for wontfix bug
http://bugs.sun.com/view_bug.do?bug_id=6314176.
Index: mauve/gnu/testlet/java/util/ResourceBundle/getBundle.java
--- mauve/gnu/testlet/java/util/ResourceBundle/getBundle.java Base (1.8)
+++ mauve/gnu/testlet/java/util/ResourceBundle/getBundle.java Locally Modified (Based On 1.8)
@@ -215,7 +215,9 @@
try
{
URL u = harness.getResourceFile ("").toURL ();
- URLClassLoader loader = new URLClassLoader (new URL[] { u });
+ URLClassLoader loader =
+ new URLClassLoader(new URL[] { u },
+ getBundle.class.getClassLoader());
harness.check (loadCheck (c ("Resource11"), loader), "Maude");
}
catch (MalformedURLException _)