diff options
author | acolyer <acolyer> | 2005-08-19 08:01:52 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-08-19 08:01:52 +0000 |
commit | 7cf81c21d99579342103bcf5aa59c543901bc440 (patch) | |
tree | 8e750b7a1f992339b6421972b3a779dbf7bdb4a1 | |
parent | b6534a87a3a6dc094bf2c704548f49094f250dc4 (diff) | |
download | aspectj-7cf81c21d99579342103bcf5aa59c543901bc440.tar.gz aspectj-7cf81c21d99579342103bcf5aa59c543901bc440.zip |
wording changed in some JDT compiler messages
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/ajc150.xml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml index 4cd47674d..fcd2e45f2 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml +++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml @@ -2555,8 +2555,7 @@ <ajc-test dir="java5/generics/itds" title="generic method itd - 2"> <compile files="GenericMethodITD2.aj" options="-1.5"> - <!-- this next line might contain a 'bad message' that is fixed in the final 3.1 compiler, I don't think the middle bit should say List<? extends A> - it should probably say List<A> --> - <message kind="error" line="9" text="Bound mismatch: The generic method simple(List<? extends E>) of type X is not applicable for the arguments (List<? extends A>) since the type A is not a valid substitute for the bounded parameter <E extends Number>"/> + <message kind="error" line="9" text="Bound mismatch: The generic method simple(List<? extends E>) of type X is not applicable for the arguments (List<A>). The inferred type A is not a valid substitute for the bounded parameter <E extends Number>"/> </compile> </ajc-test> @@ -2599,7 +2598,7 @@ <ajc-test dir="java5/generics/itds" title="generic method itd - 10"> <compile files="GenericMethodITD10.aj" options="-1.5"> - <message kind="error" line="10" text="Bound mismatch: The generic method crazy(List<R>) of type X is not applicable for the arguments (List<A>) since the type A is not a valid substitute for the bounded parameter <R extends Object & Comparable<? super R>>"/> + <message kind="error" line="10" text="Bound mismatch: The generic method crazy(List<R>) of type X is not applicable for the arguments (List<A>). The inferred type A is not a valid substitute for the bounded parameter <R extends Object & Comparable<? super R>>"/> </compile> </ajc-test> @@ -2610,7 +2609,7 @@ <ajc-test dir="java5/generics/itds" title="generic method itd - 12"> <compile files="GenericMethodITD12.aj" options="-1.5"> - <message kind="error" line="10" text="Bound mismatch: The generic method crazy(List<R>) of type X is not applicable for the arguments (List<A>) since the type A is not a valid substitute for the bounded parameter <R extends Object & Foo<? extends R>>"/> + <message kind="error" line="10" text="Bound mismatch: The generic method crazy(List<R>) of type X is not applicable for the arguments (List<A>). The inferred type A is not a valid substitute for the bounded parameter <R extends Object & Foo<? extends R>>"/> </compile> </ajc-test> @@ -2621,7 +2620,7 @@ <ajc-test dir="java5/generics/itds" title="generic method itd - 14"> <compile files="GenericMethodITD14.aj" options="-1.5"> - <message kind="error" line="10" text="Bound mismatch: The generic method crazy(List<R>) of type X is not applicable for the arguments (List<A>) since the type A is not a valid substitute for the bounded parameter <R extends Object & Foo<? super R>>"/> + <message kind="error" line="10" text="Bound mismatch: The generic method crazy(List<R>) of type X is not applicable for the arguments (List<A>). The inferred type A is not a valid substitute for the bounded parameter <R extends Object & Foo<? super R>>"/> </compile> </ajc-test> |