This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 120413

Summary: Broken compilation of scripting/php/srcmodel
Product: php Reporter: Jesse Glick <jglick>
Component: CodeAssignee: Denis Anisimov <ads>
Status: RESOLVED FIXED    
Severity: blocker CC: apireviews, jjancura
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2007-10-29 23:32:10 UTC
ASTToken.getType() was deleted recently by jjancura (*) but he failed to replace all usages of it in nb.org. Looks like
getTypeName() is the intended substitute, but not obvious; the new method lacks Javadoc, and there is no apichanges.xml.

(*) Log mentions no IZ #, just: "Fixing LLParser and several other bugs and performance."
Comment 1 Denis Anisimov 2007-10-30 09:55:48 UTC
Compilation is fixed.
It seems ASTToken.getType() is migrated to ASTToken.getTypeName().
Also there are changes in method ASTToken.create(). Its signature is changed.
This is also fixed but all functionality should be tested.
Comment 2 Jan Jancura 2007-10-30 10:17:58 UTC
Yes, getTypeName() is replacement for getType ().
Sorry, for this issue. I missed your module during this rewrite.