This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH RFA: Avoid crash in Java compiler


Ian Lance Taylor writes:
 > The crash occurs in maybe_yank_clinit in java/parse.y.  The code
 > dereferences a NULL pointer.  This simple patch avoids the ICE.
 > 
 > I haven't tested this except on the original test case.  I don't know
 > whether the patch is correct, in the sense that I don't know whether
 > a NULL pointer here is hiding a different problem elsewhere.
 > 
 > Should I check this in?

Yes. okay.  However, we perhaps should unset CLASSPATH in our build
machinery.

Andrew.

 > 2005-03-29  Ian Lance Taylor  <ian@airs.com>
 > 
 > 	* parse.y (maybe_yank_clinit): Don't crash if bbody is NULL.
 > 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]