Bug 204435 - TreeUtilities.isCompileTimeConstantExpression
TreeUtilities.isCompileTimeConstantExpression
Status: RESOLVED FIXED
Product: java
Classification: Unclassified
Component: Source
7.1
PC Linux
: P3 (vote)
: 7.1
Assigned To: apireviews
issues@java
: API, API_REVIEW_FAST
Depends on:
Blocks: 204373
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo