{"action":"created","issue":{"url":"https://api.github.com/repos/rzwitserloot/lombok/issues/877","labels_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/877/labels{/name}","comments_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/877/comments","events_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/877/events","html_url":"https://github.com/rzwitserloot/lombok/issues/877","id":95523156,"number":877,"title":"Version 1.16 doesn't properly construct @Data","user":{"login":"dcapwell","id":1852601,"avatar_url":"https://avatars.githubusercontent.com/u/1852601?v=3","gravatar_id":"","url":"https://api.github.com/users/dcapwell","html_url":"https://github.com/dcapwell","followers_url":"https://api.github.com/users/dcapwell/followers","following_url":"https://api.github.com/users/dcapwell/following{/other_user}","gists_url":"https://api.github.com/users/dcapwell/gists{/gist_id}","starred_url":"https://api.github.com/users/dcapwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcapwell/subscriptions","organizations_url":"https://api.github.com/users/dcapwell/orgs","repos_url":"https://api.github.com/users/dcapwell/repos","events_url":"https://api.github.com/users/dcapwell/events{/privacy}","received_events_url":"https://api.github.com/users/dcapwell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-16T20:41:03Z","updated_at":"2015-08-18T03:30:40Z","closed_at":null,"body":"I was using `1.16.4` and found the following error when compiling with maven:\r\n\r\n```\r\n$ mvn clean test -Dlombok.version=1.16.4\r\n...\r\n[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ hadoop-project ---\r\n[INFO] Compiling 16 source files to /Users/user/src/example/project/target/classes\r\n[INFO] -------------------------------------------------------------\r\n[ERROR] COMPILATION ERROR :\r\n[INFO] -------------------------------------------------------------\r\n[ERROR] /Users/user/src/example/project/src/main/java/com/example/hadoop/project/PostScript.java:[6,13] error: variable footerLength might not have been initialized\r\n[ERROR] /Users/user/src/example/project/src/main/java/com/example/hadoop/project/Type.java:[36,12] error: constructor Type in class Type cannot be applied to given types;\r\n[ERROR]  actual and formal argument lists differ in length\r\n/Users/user/src/example/project/src/main/java/com/example/hadoop/project/Type.java:[46,12] error: constructor Type in class Type cannot be applied to given types;\r\n[ERROR]  actual and formal argument lists differ in length\r\n/Users/user/src/example/project/src/main/java/com/example/hadoop/project/Type.java:[56,12] error: constructor Type in class Type cannot be applied to given types;\r\n[INFO] 4 errors\r\n```\r\n\r\nWhen I downgrade to 1.14 or earlier, works just fine\r\n\r\n```\r\n$ mvn clean test -Dlombok.version=1.14.8\r\n...\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n```\r\n\r\nThe class in question is the following:\r\n\r\n```\r\nimport lombok.Data;\r\n\r\n@Data\r\npublic final class PostScript {\r\n    private final int footerLength;\r\n    private final Version version;\r\n    private final byte[] magic;\r\n\r\n    public enum Version {\r\n        V1((byte) 0x01);\r\n\r\n        public final byte value;\r\n\r\n        Version(byte b) {\r\n            this.value = b;\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nMaven and Java version:\r\n\r\n```\r\n$ mvn --version\r\nPicked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true\r\nApache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T13:10:27-07:00)\r\nMaven home: /usr/local/Cellar/maven/3.3.1/libexec\r\nJava version: 1.7.0_80, vendor: Oracle Corporation\r\nJava home: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/jre\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"mac os x\", version: \"10.10.3\", arch: \"x86_64\", family: \"mac\"\r\n```"},"comment":{"url":"https://api.github.com/repos/rzwitserloot/lombok/issues/comments/132058299","html_url":"https://github.com/rzwitserloot/lombok/issues/877#issuecomment-132058299","issue_url":"https://api.github.com/repos/rzwitserloot/lombok/issues/877","id":132058299,"user":{"login":"jkwatson","id":858731,"avatar_url":"https://avatars.githubusercontent.com/u/858731?v=3","gravatar_id":"","url":"https://api.github.com/users/jkwatson","html_url":"https://github.com/jkwatson","followers_url":"https://api.github.com/users/jkwatson/followers","following_url":"https://api.github.com/users/jkwatson/following{/other_user}","gists_url":"https://api.github.com/users/jkwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/jkwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkwatson/subscriptions","organizations_url":"https://api.github.com/users/jkwatson/orgs","repos_url":"https://api.github.com/users/jkwatson/repos","events_url":"https://api.github.com/users/jkwatson/events{/privacy}","received_events_url":"https://api.github.com/users/jkwatson/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T03:30:40Z","updated_at":"2015-08-18T03:30:40Z","body":"I'm having this issue with @Value objects, no subclasses involved."}}