{"action":"created","issue":{"url":"https://api.github.com/repos/viritin/viritin/issues/77","labels_url":"https://api.github.com/repos/viritin/viritin/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/viritin/viritin/issues/77/comments","events_url":"https://api.github.com/repos/viritin/viritin/issues/77/events","html_url":"https://github.com/viritin/viritin/pull/77","id":71209214,"number":77,"title":"Extracted loacle negotiantion strategy","user":{"login":"dve","id":3841379,"avatar_url":"https://avatars.githubusercontent.com/u/3841379?v=3","gravatar_id":"","url":"https://api.github.com/users/dve","html_url":"https://github.com/dve","followers_url":"https://api.github.com/users/dve/followers","following_url":"https://api.github.com/users/dve/following{/other_user}","gists_url":"https://api.github.com/users/dve/gists{/gist_id}","starred_url":"https://api.github.com/users/dve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dve/subscriptions","organizations_url":"https://api.github.com/users/dve/orgs","repos_url":"https://api.github.com/users/dve/repos","events_url":"https://api.github.com/users/dve/events{/privacy}","received_events_url":"https://api.github.com/users/dve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-27T07:57:14Z","updated_at":"2015-04-27T09:29:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/viritin/viritin/pulls/77","html_url":"https://github.com/viritin/viritin/pull/77","diff_url":"https://github.com/viritin/viritin/pull/77.diff","patch_url":"https://github.com/viritin/viritin/pull/77.patch"},"body":"I hope this is a ok approach for java 7/8 issues? Compile with java 8 and then uses it in java 7 anyway?"},"comment":{"url":"https://api.github.com/repos/viritin/viritin/issues/comments/96582731","html_url":"https://github.com/viritin/viritin/pull/77#issuecomment-96582731","issue_url":"https://api.github.com/repos/viritin/viritin/issues/77","id":96582731,"user":{"login":"mstahv","id":1478052,"avatar_url":"https://avatars.githubusercontent.com/u/1478052?v=3","gravatar_id":"","url":"https://api.github.com/users/mstahv","html_url":"https://github.com/mstahv","followers_url":"https://api.github.com/users/mstahv/followers","following_url":"https://api.github.com/users/mstahv/following{/other_user}","gists_url":"https://api.github.com/users/mstahv/gists{/gist_id}","starred_url":"https://api.github.com/users/mstahv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstahv/subscriptions","organizations_url":"https://api.github.com/users/mstahv/orgs","repos_url":"https://api.github.com/users/mstahv/repos","events_url":"https://api.github.com/users/mstahv/events{/privacy}","received_events_url":"https://api.github.com/users/mstahv/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T09:29:16Z","updated_at":"2015-04-27T09:29:16Z","body":"Hi, the bad thing here is that it don't compile properly ;-) I typically have projects compiled with the target JDK to avoid this kind of issues in first place and NetBeans actually does this automatically for me if pom.xml has java 7.\r\n\r\nI have couple possible solutions we should look into:\r\n * Try to use the jdk 8 API with reflection and if the new API isn't there, fallback to the workaround\r\n * Check what the jdk8 method really does and check out if similar can be easily implemented with jdk7\r\n * look for a jdk 7 compatible library that does the same and depend on that, there must be one.\r\n"}}