diff options
author | Andy Clement <aclement@pivotal.io> | 2016-01-18 16:08:03 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-01-18 16:08:03 -0800 |
commit | 448dc83571dc16c8b087e2d5e2242474c02ff819 (patch) | |
tree | 869a14d0d539c3f4c1f6881440b8b34e89e2ef4b /tests/bugs189/486203 | |
parent | e3d5df726f39207ae93de93e4389dd004c93984c (diff) | |
download | aspectj-448dc83571dc16c8b087e2d5e2242474c02ff819.tar.gz aspectj-448dc83571dc16c8b087e2d5e2242474c02ff819.zip |
Fix 486203: NPE in IntelliJ since 1.8.7
Diffstat (limited to 'tests/bugs189/486203')
-rw-r--r-- | tests/bugs189/486203/While.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/bugs189/486203/While.java b/tests/bugs189/486203/While.java new file mode 100644 index 000000000..f41e74aa8 --- /dev/null +++ b/tests/bugs189/486203/While.java @@ -0,0 +1,14 @@ +import java.util.function.Consumer; + +class While { + void m() { + t(Long.class, value -> { + int x = 1; + while (--x >= 0) + ; + }); + } + + <T> void t(Class<T> clazz, Consumer<T> object) { + } +} |