{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/912","labels_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/912/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/912/comments","events_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/912/events","html_url":"https://github.com/cucumber/cucumber-jvm/issues/912","id":107897780,"number":912,"title":"cucumber-java8 fails on OpenJDK 1.8.0","user":{"login":"mawis","id":2042030,"avatar_url":"https://avatars.githubusercontent.com/u/2042030?v=3","gravatar_id":"","url":"https://api.github.com/users/mawis","html_url":"https://github.com/mawis","followers_url":"https://api.github.com/users/mawis/followers","following_url":"https://api.github.com/users/mawis/following{/other_user}","gists_url":"https://api.github.com/users/mawis/gists{/gist_id}","starred_url":"https://api.github.com/users/mawis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mawis/subscriptions","organizations_url":"https://api.github.com/users/mawis/orgs","repos_url":"https://api.github.com/users/mawis/repos","events_url":"https://api.github.com/users/mawis/events{/privacy}","received_events_url":"https://api.github.com/users/mawis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-09-23T11:10:24Z","updated_at":"2015-11-04T20:34:31Z","closed_at":null,"body":"Cucumber-Java8 depends on internals of the implementation of Oracle's JDK8. When I started experimenting with it I just always got the following exception:\r\n\r\n    Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.056 sec <<< FAILURE! - in soy.wimmer.CucumberIT\r\n    Feature: Cucumber with Java8  Time elapsed: 0.047 sec  <<< ERROR!            \r\n    cucumber.runtime.CucumberException: Failed to instantiate class soy.wimmer.CucumberStepdefs\r\n    […]                                                                          \r\n    Caused by: java.lang.reflect.InvocationTargetException: null                 \r\n    […]                                                                          \r\n    Caused by: cucumber.runtime.CucumberException: java.lang.IllegalArgumentException: Wrong type at constant pool index\r\n    […]                                                                          \r\n    Caused by: java.lang.IllegalArgumentException: Wrong type at constant pool index\r\n        at sun.reflect.ConstantPool.getMemberRefInfoAt0(Native Method)           \r\n        at sun.reflect.ConstantPool.getMemberRefInfoAt(ConstantPool.java:47)     \r\n        at cucumber.runtime.java8.ConstantPoolTypeIntrospector.getTypeString(ConstantPoolTypeIntrospector.java:37)\r\n        at cucumber.runtime.java8.ConstantPoolTypeIntrospector.getGenericTypes(ConstantPoolTypeIntrospector.java:27)\r\n        at cucumber.runtime.java.Java8StepDefinition.<init>(Java8StepDefinition.java:45)\r\n        at cucumber.runtime.java.JavaBackend.addStepDefinition(JavaBackend.java:162)\r\n        at cucumber.api.java8.En.Given(En.java:190)                              \r\n        at soy.wimmer.CucumberStepdefs.<init>(CucumberStepdefs.java:8)           \r\n    […]\r\n\r\nThe test project causing this output is available at https://github.com/mawis/cucumber-java8-test\r\n\r\nWhile it fails on OpenJDK8 it works without problems on Oracle JDK8. I consider this to be a bug, as I don't think that cucumber should depend on a specific implementation of the compiler."},"comment":{"url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/comments/153854521","html_url":"https://github.com/cucumber/cucumber-jvm/issues/912#issuecomment-153854521","issue_url":"https://api.github.com/repos/cucumber/cucumber-jvm/issues/912","id":153854521,"user":{"login":"aslakhellesoy","id":1000,"avatar_url":"https://avatars.githubusercontent.com/u/1000?v=3","gravatar_id":"","url":"https://api.github.com/users/aslakhellesoy","html_url":"https://github.com/aslakhellesoy","followers_url":"https://api.github.com/users/aslakhellesoy/followers","following_url":"https://api.github.com/users/aslakhellesoy/following{/other_user}","gists_url":"https://api.github.com/users/aslakhellesoy/gists{/gist_id}","starred_url":"https://api.github.com/users/aslakhellesoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslakhellesoy/subscriptions","organizations_url":"https://api.github.com/users/aslakhellesoy/orgs","repos_url":"https://api.github.com/users/aslakhellesoy/repos","events_url":"https://api.github.com/users/aslakhellesoy/events{/privacy}","received_events_url":"https://api.github.com/users/aslakhellesoy/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T20:34:31Z","updated_at":"2015-11-04T20:34:31Z","body":"I'm about to disappear for 6 weeks. Maybe @brasmusson can help in the meanwhile."}}