This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PING] patch for PR13708 for 3.4 and the mainline
- From: Per Bothner <per at bothner dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: java-patches at gcc dot gnu dot org, GCC Patches <gcc-patches at gcc dot gnu dot org>, Michael Chastain <mec dot gnu at mindspring dot com>
- Date: Sun, 29 Feb 2004 22:29:10 -0800
- Subject: Re: [PING] patch for PR13708 for 3.4 and the mainline
- References: <62A3CA89-6B24-11D8-888A-000393A6D2F2@physics.uc.edu>
Andrew Pinski wrote:
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg03355.html
Do not use getClass but link to the selected class.
I don't think this is right.
I'd break the cycle by making sure PrintStream isn't loaded.
I'd try replacing:
String loader = System.getProperty("java.system.class.loader");
by:
String loader =
Runtime.defaultProperties.getProperty("java.system.class.loader");
in VMClasLoader.systemClassLoader.
I wonder whether setting default_sys before loader would help.
--
--Per Bothner
per@bothner.com http://per.bothner.com/