{"action":"created","issue":{"url":"https://api.github.com/repos/takari/io.takari.incrementalbuild/issues/4","labels_url":"https://api.github.com/repos/takari/io.takari.incrementalbuild/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/takari/io.takari.incrementalbuild/issues/4/comments","events_url":"https://api.github.com/repos/takari/io.takari.incrementalbuild/issues/4/events","html_url":"https://github.com/takari/io.takari.incrementalbuild/issues/4","id":49507499,"number":4,"title":"Compilation fails with Java 8 when using anonymous classes","user":{"login":"jyrkiput","id":230996,"avatar_url":"https://avatars.githubusercontent.com/u/230996?v=3","gravatar_id":"","url":"https://api.github.com/users/jyrkiput","html_url":"https://github.com/jyrkiput","followers_url":"https://api.github.com/users/jyrkiput/followers","following_url":"https://api.github.com/users/jyrkiput/following{/other_user}","gists_url":"https://api.github.com/users/jyrkiput/gists{/gist_id}","starred_url":"https://api.github.com/users/jyrkiput/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jyrkiput/subscriptions","organizations_url":"https://api.github.com/users/jyrkiput/orgs","repos_url":"https://api.github.com/users/jyrkiput/repos","events_url":"https://api.github.com/users/jyrkiput/events{/privacy}","received_events_url":"https://api.github.com/users/jyrkiput/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-11-20T08:00:09Z","updated_at":"2015-01-04T22:02:07Z","closed_at":null,"body":"Compilation fails with \r\n\r\n    java.lang.IllegalStateException: Unexpected input change /home/jyrki/projects/takari/takari-anonymous-class-java8-bug/src/main/java/fi/sysart/takari/App.java\r\n\tat io.takari.incrementalbuild.spi.DefaultBuildContext.commit(DefaultBuildContext.java:934)\r\n\r\nwhen using Java 8. This compiles fine with Java 7. Minimal project and logs are available at  https://github.com/jyrkiput/takari-anonymous-class-java8-bug \r\nhttps://github.com/jyrkiput/takari-anonymous-class-java8-bug/blob/master/java7.log\r\nhttps://github.com/jyrkiput/takari-anonymous-class-java8-bug/blob/master/java8.log\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/takari/io.takari.incrementalbuild/issues/comments/68651397","html_url":"https://github.com/takari/io.takari.incrementalbuild/issues/4#issuecomment-68651397","issue_url":"https://api.github.com/repos/takari/io.takari.incrementalbuild/issues/4","id":68651397,"user":{"login":"ifedorenko","id":79316,"avatar_url":"https://avatars.githubusercontent.com/u/79316?v=3","gravatar_id":"","url":"https://api.github.com/users/ifedorenko","html_url":"https://github.com/ifedorenko","followers_url":"https://api.github.com/users/ifedorenko/followers","following_url":"https://api.github.com/users/ifedorenko/following{/other_user}","gists_url":"https://api.github.com/users/ifedorenko/gists{/gist_id}","starred_url":"https://api.github.com/users/ifedorenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifedorenko/subscriptions","organizations_url":"https://api.github.com/users/ifedorenko/orgs","repos_url":"https://api.github.com/users/ifedorenko/repos","events_url":"https://api.github.com/users/ifedorenko/events{/privacy}","received_events_url":"https://api.github.com/users/ifedorenko/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T22:02:07Z","updated_at":"2015-01-04T22:02:07Z","body":"@md-5 your jdk version looks odd. Can you confirm this is one of JDK available from http://www.oracle.com/technetwork/java/javase/downloads/index.html ?\r\n\r\nAs I mentioned earlier, OpenJDK is not supported. From your java home you appear to be using OpenJDK, but I don't know what 1.8.0_40-internal actually means."}}