I'd be badly surprised if the jvm jit went through C, so if this monstrosity is well defined in Java it's well defined once well defined everywhere.
but still, if it were, it was and remained, as gp points out, bad practice...