diff options
author | Andy Clement <aclement@pivotal.io> | 2017-09-27 14:19:54 -0700 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2017-09-27 14:19:54 -0700 |
commit | 94bd02aa881f9edd245cc1d73ca567623eed6449 (patch) | |
tree | 1cab974d1071d93fa9417044df5562a3d7ab56b7 /tests | |
parent | e0cb106a33b8e4b8dfe0918a3b71b31f122b0627 (diff) | |
download | aspectj-94bd02aa881f9edd245cc1d73ca567623eed6449.tar.gz aspectj-94bd02aa881f9edd245cc1d73ca567623eed6449.zip |
Skip test on Java9
Added test commentary to link it to the code that is causing the
difference in behaviour compared to Java8.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java index ff08047d1..907e3d7a5 100644 --- a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java +++ b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java @@ -781,8 +781,13 @@ public class GenericsTests extends XMLBasedAjcTestCase { public void testAfterReturningParameterizedAndWildcards() { runTest("after returning with parameterized type and wildcards"); } - + public void testAfterReturningWithWildcardVar() { + if (LangUtil.is19VMOrGreater()) { + // See ReferenceType.isCoerceableFrom comments + return; + } + // Something to investigate here. The implementation of isCoerceable runTest("after returning with generic wildcard"); } |