{"action":"created","issue":{"url":"https://api.github.com/repos/vigna/fastutil/issues/64","repository_url":"https://api.github.com/repos/vigna/fastutil","labels_url":"https://api.github.com/repos/vigna/fastutil/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/vigna/fastutil/issues/64/comments","events_url":"https://api.github.com/repos/vigna/fastutil/issues/64/events","html_url":"https://github.com/vigna/fastutil/issues/64","id":229940546,"number":64,"title":"Java 8 support","user":{"login":"incaseoftrouble","id":13201506,"avatar_url":"https://avatars1.githubusercontent.com/u/13201506?v=3","gravatar_id":"","url":"https://api.github.com/users/incaseoftrouble","html_url":"https://github.com/incaseoftrouble","followers_url":"https://api.github.com/users/incaseoftrouble/followers","following_url":"https://api.github.com/users/incaseoftrouble/following{/other_user}","gists_url":"https://api.github.com/users/incaseoftrouble/gists{/gist_id}","starred_url":"https://api.github.com/users/incaseoftrouble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incaseoftrouble/subscriptions","organizations_url":"https://api.github.com/users/incaseoftrouble/orgs","repos_url":"https://api.github.com/users/incaseoftrouble/repos","events_url":"https://api.github.com/users/incaseoftrouble/events{/privacy}","received_events_url":"https://api.github.com/users/incaseoftrouble/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-19T10:54:23Z","updated_at":"2017-05-19T18:38:00Z","closed_at":null,"body":"Hi,\r\n\r\nas you said in #43:\r\n> Well, Java 7 hit the end of life. So Java 8 support it's a matter of survival.\r\n\r\nDo you plan to migrate to Java 8? I strongly urge you to - I personally need most of these changes :) I identified several \"todo\"-items for Java 8, which I would be willing to implement:\r\n\r\n- Support of the new Map methods like `putIfAbsent`, `computIfAbsent` etc. (#57)\r\n- Synchronization support of the newly introduced map methods (#48)\r\n- Support of new Iterator interfaces (#43)\r\n- Support of new Function interfaces, e.g. `Int2DoubleMap` should implement Java 8's `IntToDoubleFunction`.\r\n\r\nI imagine that one could implement all this in a way which allows you to specify the target Java version. But, while it should be possible, I advice against it; as you pointed out, Java 7 is not the go-to version anymore and future releases should target Java 8."},"comment":{"url":"https://api.github.com/repos/vigna/fastutil/issues/comments/302779730","html_url":"https://github.com/vigna/fastutil/issues/64#issuecomment-302779730","issue_url":"https://api.github.com/repos/vigna/fastutil/issues/64","id":302779730,"user":{"login":"incaseoftrouble","id":13201506,"avatar_url":"https://avatars1.githubusercontent.com/u/13201506?v=3","gravatar_id":"","url":"https://api.github.com/users/incaseoftrouble","html_url":"https://github.com/incaseoftrouble","followers_url":"https://api.github.com/users/incaseoftrouble/followers","following_url":"https://api.github.com/users/incaseoftrouble/following{/other_user}","gists_url":"https://api.github.com/users/incaseoftrouble/gists{/gist_id}","starred_url":"https://api.github.com/users/incaseoftrouble/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incaseoftrouble/subscriptions","organizations_url":"https://api.github.com/users/incaseoftrouble/orgs","repos_url":"https://api.github.com/users/incaseoftrouble/repos","events_url":"https://api.github.com/users/incaseoftrouble/events{/privacy}","received_events_url":"https://api.github.com/users/incaseoftrouble/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T18:38:00Z","updated_at":"2017-05-19T18:38:00Z","body":"I added some preliminary work at https://github.com/incaseoftrouble/fastutil/commit/bad6ffa147d9017350973a99f631a03858de2ea6 . Feel free to suggest improvements / modifications!\r\n\r\nMost of the issues are already addressed there (at least partially). Synchronization is not complete.\r\nTODO: Javadoc for newly added methods (but most of it will be more or less copy-paste from the generic methods), Test cases and specific implementations of the Map methods (although this can be delayed)."}}
{"actor":{"display_login":"incaseoftrouble"}}