From: Kris De V. <kdv...@cs...> - 2004-06-18 10:27:46
|
>What was the problem/change? > >I've been using 3.0.1 and not really having any problems (other than >the usual memory related ones). The ASTParser breaks if you try to "reuse" it for parsing the same file without reinitializing it. Thus if you do not edit code everything works fine. If you edit code, the parser will try to update corresponding compilationunitBucket and then it crashes with nullpointer exception when it tries to reuse the ASTParser that was stored in there (problem is that parser no longer remember the corresponding file it should parse). Fix: the parser should not be reused and kept in the CUBucket. (And I don't think that one really wants to keep a bunch of parsers around eating up memory anyway, so this probably saves some memory as well). > >ps- how's the conference? Some good some boring. Doug and Jonathan made a very good presentation (of course :-) Kris >Kris De Volder wrote: > >>I've comitted a bugfix for the RC1 version. Probably should release >>a new one on the webpage. It is a pretty serious bug! >> >>Kris > > > >------------------------------------------------------- >This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference >Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer >Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA >REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND >_______________________________________________ >jquery-developer mailing list >jqu...@li... >https://lists.sourceforge.net/lists/listinfo/jquery-developer -- ------------------------------------------------------------ Kris De Volder The Department of Computer Science Assistant Professor University of British Columbia http://www.cs.ubc.ca/~kdvolder 309-2366 Main Mall ++1(604)822 1209 V6T 1Z4 Vancouver, BC, CANADA ------------------------------------------------------------ |