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 - TreeUtilities.isCompileTimeConstantExpression
Summary: TreeUtilities.isCompileTimeConstantExpression
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: apireviews
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks: 204373
  Show dependency tree
 
Reported: 2011-10-31 11:31 UTC by Jan Lahoda
Modified: 2011-11-08 15:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed API change. (4.44 KB, patch)
2011-10-31 11:34 UTC, Jan Lahoda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.