It seems to be some JLS oddity. See also CDITCK-416 and https://issues.jboss.org/browse/CDITCK-416?focusedCommentId=13000784&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13000784.