[antlr-interest] setTokenObjectClass() and class-loaders

Terence Parr parrt at cs.usfca.edu
Thu Nov 18 20:49:49 PST 2004


Yeah i just used that function today and decided it was weird also.  
Sorry about that.

You know the routine...was in start up and had no time to think about 
consistency, goodness, etc...

Ter
On Nov 18, 2004, at 8:23 PM, Paul J. Lucas wrote:

>
> 	It seems to be the case that using this method breaks if the
> 	parser is in a child class-loader of that used to load ANTLR.
> 	It would be nice if you simply passed the Class rather than a
> 	String so ANTLR never calls Class.forName().
>
> 	I also have to derive from ASTFactory so I can get access to
> 	theASTNodeTypeClass and set it manually.
>
> 	Sigh...  :-(
>
> 	- Paul
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list