Bug 48796 - permit constant string concatenation in declare warning
Summary: permit constant string concatenation in declare warning
Status: RESOLVED DUPLICATE of bug 48080
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.1.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Jim Hugunin CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-15 16:22 EST by Wes Isberg CLA
Modified: 2004-01-07 04:29 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wes Isberg CLA 2003-12-15 16:22:18 EST
It would be nice if you could use compile-time constants to concatenate the
String message used in declare warning:

private static final String LABEL = "foo";
declare warning : staticinitialization(*) : "si " + LABEL;
declare warning : initialization(*) : "ii " + LABEL;

(per Peter Kalmus)
Comment 1 Jim Hugunin CLA 2004-01-07 04:29:04 EST
this adds another specific feature request to the general issue discussed in 
the bug 48080.  I'm marking as a dup to move all of the discussion there.  I 
don't think this changes the basic conclusion there in any way.

*** This bug has been marked as a duplicate of 48080 ***