{"action":"created","issue":{"url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120","labels_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120/comments","events_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120/events","html_url":"https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120","id":67387279,"number":120,"title":"NoSuchFieldException on JDK 9","user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"michaelmosmann","id":323301,"avatar_url":"https://avatars.githubusercontent.com/u/323301?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelmosmann","html_url":"https://github.com/michaelmosmann","followers_url":"https://api.github.com/users/michaelmosmann/followers","following_url":"https://api.github.com/users/michaelmosmann/following{/other_user}","gists_url":"https://api.github.com/users/michaelmosmann/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelmosmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelmosmann/subscriptions","organizations_url":"https://api.github.com/users/michaelmosmann/orgs","repos_url":"https://api.github.com/users/michaelmosmann/repos","events_url":"https://api.github.com/users/michaelmosmann/events{/privacy}","received_events_url":"https://api.github.com/users/michaelmosmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-09T15:30:39Z","updated_at":"2015-04-09T15:38:10Z","closed_at":null,"body":"When using the plug-in on JDK 9, I'm getting the following exception:\r\n\r\n```\r\njava.lang.NoSuchFieldException: handle\r\n\tat java.lang.Class.getDeclaredField(Class.java:2100)\r\n\tat de.flapdoodle.embed.process.runtime.Processes.windowsProcessId(Processes.java:94)\r\n\tat de.flapdoodle.embed.process.runtime.Processes.processId(Processes.java:55)\r\n\tat de.flapdoodle.embed.process.runtime.ProcessControl.<init>(ProcessControl.java:65)\r\n\tat de.flapdoodle.embed.process.runtime.ProcessControl.start(ProcessControl.java:206)\r\n\tat de.flapdoodle.embed.process.runtime.ProcessControl.fromCommandLine(ProcessControl.java:202)\r\n\tat de.flapdoodle.embed.process.runtime.NUMA.isNUMAOnce(NUMA.java:56)\r\n\tat de.flapdoodle.embed.process.runtime.NUMA.isNUMA(NUMA.java:44)\r\n\tat de.flapdoodle.embed.mongo.runtime.Mongod.enhanceCommandLinePlattformSpecific(Mongod.java:175)\r\n\tat de.flapdoodle.embed.mongo.MongodProcess.getCommandLine(MongodProcess.java:85)\r\n\tat de.flapdoodle.embed.mongo.MongodProcess.getCommandLine(MongodProcess.java:41)\r\n\tat de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:84)\r\n\tat de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:52)\r\n\tat de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)\r\n\tat de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)\r\n\tat de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)\r\n\tat de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:99)\r\n\tat com.github.joelittlejohn.embedmongo.StartEmbeddedMongoMojo.execute(StartEmbeddedMongoMojo.java:271)\r\n```\r\n\r\nNot sure what's the best way to address this issue, but it'd be nice to be able to use the plug-in on JDK 9, too :)"},"comment":{"url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/comments/91266865","html_url":"https://github.com/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120#issuecomment-91266865","issue_url":"https://api.github.com/repos/flapdoodle-oss/de.flapdoodle.embed.mongo/issues/120","id":91266865,"user":{"login":"gunnarmorling","id":28612,"avatar_url":"https://avatars.githubusercontent.com/u/28612?v=3","gravatar_id":"","url":"https://api.github.com/users/gunnarmorling","html_url":"https://github.com/gunnarmorling","followers_url":"https://api.github.com/users/gunnarmorling/followers","following_url":"https://api.github.com/users/gunnarmorling/following{/other_user}","gists_url":"https://api.github.com/users/gunnarmorling/gists{/gist_id}","starred_url":"https://api.github.com/users/gunnarmorling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunnarmorling/subscriptions","organizations_url":"https://api.github.com/users/gunnarmorling/orgs","repos_url":"https://api.github.com/users/gunnarmorling/repos","events_url":"https://api.github.com/users/gunnarmorling/events{/privacy}","received_events_url":"https://api.github.com/users/gunnarmorling/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T15:38:10Z","updated_at":"2015-04-09T15:38:10Z","body":"Ah, I should mention that this is not on Windows, but on Fedora. IIUC, the code first tries the Unix-like approach, cannot obtain the pid there (probably due to some similar internal change), falls back to W32 and then finally fails with the exception above."}}