diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-11-20 17:23:33 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-11-20 19:04:31 +0100 |
commit | 3b921ad7f6a485287ae62e64d0f4a2859683732a (patch) | |
tree | 1748aa69689121c032cb31b8e721e6dae42c4719 /test/transform/resource/before | |
parent | 52ee15bdc13ab66c833863d75581f6ccae3081ce (diff) | |
download | lombok-3b921ad7f6a485287ae62e64d0f4a2859683732a.tar.gz lombok-3b921ad7f6a485287ae62e64d0f4a2859683732a.tar.bz2 lombok-3b921ad7f6a485287ae62e64d0f4a2859683732a.zip |
Fix for issue 299: labels would break 'val' in javac.
Diffstat (limited to 'test/transform/resource/before')
-rw-r--r-- | test/transform/resource/before/ValWithLabel.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/transform/resource/before/ValWithLabel.java b/test/transform/resource/before/ValWithLabel.java new file mode 100644 index 00000000..f7c3402a --- /dev/null +++ b/test/transform/resource/before/ValWithLabel.java @@ -0,0 +1,11 @@ +import lombok.val; + +public class ValWithLabel { + { + LABEL: for (val x : new String[0]) { + if (x.toLowerCase() == null) { + continue LABEL; + } + } + } +}
\ No newline at end of file |