Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 22683 Details for
Bug 99136
xlint advice not applied appears twice with cflows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
test this
tests.txt (text/plain), 1.90 KB, created by
Andrew J Huff
on 2005-06-09 09:26:22 EDT
(
hide
)
Description:
test this
Filename:
MIME Type:
Creator:
Andrew J Huff
Created:
2005-06-09 09:26:22 EDT
Size:
1.90 KB
patch
obsolete
>Index: src/org/aspectj/systemtest/xlint/XLintTests.java >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/xlint/XLintTests.java,v >retrieving revision 1.4 >diff -u -r1.4 XLintTests.java >--- src/org/aspectj/systemtest/xlint/XLintTests.java 5 May 2005 12:21:05 -0000 1.4 >+++ src/org/aspectj/systemtest/xlint/XLintTests.java 9 Jun 2005 13:20:18 -0000 >@@ -105,6 +105,13 @@ > // if (is15VMOrGreater) > // runTest("7 lint warnings"); > // } >+ >+ public void testBug99136(){ >+ runTest("Two Xlint warnings wth cflow?"); >+ if(ajc.getLastCompilationResult().getWarningMessages().size() != 1){ >+ fail(); >+ } >+ } > > } > >Index: src/org/aspectj/systemtest/xlint/xlint-tests.xml >=================================================================== >RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/xlint/xlint-tests.xml,v >retrieving revision 1.3 >diff -u -r1.3 xlint-tests.xml >--- src/org/aspectj/systemtest/xlint/xlint-tests.xml 6 May 2005 07:19:51 -0000 1.3 >+++ src/org/aspectj/systemtest/xlint/xlint-tests.xml 9 Jun 2005 13:20:18 -0000 >@@ -178,5 +178,12 @@ > </compile> > </ajc-test> > --> >+ >+ <ajc-test dir="harness" >+ title="Two Xlint warnings wth cflow?"> >+ <compile files="XLintcflow.java" options="-1.5"> >+ <message kind="warning" line="4" text="advice defined in A has not been applied [Xlint:adviceDidNotMatch]"/> >+ </compile> >+ </ajc-test> > > >\ No newline at end of file >Index: harness/XLintcflow.java >=================================================================== >RCS file: harness/XLintcflow.java >diff -N harness/XLintcflow.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ harness/XLintcflow.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,6 @@ >+// "Two Xlint warnings wth cflow?" >+ >+aspect A { >+ before(): call(* *(..)) && cflow(execution(* *(..))) { >+ } >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
aclement
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 99136
:
22682
| 22683