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 204435

Summary: TreeUtilities.isCompileTimeConstantExpression
Product: java Reporter: Jan Lahoda <jlahoda>
Component: SourceAssignee: apireviews <apireviews>
Status: RESOLVED FIXED    
Severity: normal CC: jlahoda
Priority: P3 Keywords: API, API_REVIEW_FAST
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 204373    
Attachments: Proposed API change.

Description Jan Lahoda 2011-10-31 11:31:39 UTC
I would like to add a new method to TreeUtilities, isCompileTimeConstantExpression to check constantness of an expression as per JLS 15.28.

I will attach a proposed patch once I have a bug number.
Comment 1 Jan Lahoda 2011-10-31 11:34:10 UTC
Created attachment 112592 [details]
Proposed API change.
Comment 2 Jan Lahoda 2011-11-07 16:26:07 UTC
Thanks for review:
http://hg.netbeans.org/jet-main/rev/70f1611a0825
Comment 3 Quality Engineering 2011-11-08 15:38:48 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/70f1611a0825
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #204435: adding TreeUtilities.isCompileTimeConstantExpression.