{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6323","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6323/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6323/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6323/events","html_url":"https://github.com/spring-projects/spring-boot/pull/6323","id":163821171,"number":6323,"title":"Broken compatibility with Mockito 2.0.47-beta+ in Spring Boot 1.4.0.M3","user":{"login":"szpak","id":148013,"avatar_url":"https://avatars.githubusercontent.com/u/148013?v=3","gravatar_id":"","url":"https://api.github.com/users/szpak","html_url":"https://github.com/szpak","followers_url":"https://api.github.com/users/szpak/followers","following_url":"https://api.github.com/users/szpak/following{/other_user}","gists_url":"https://api.github.com/users/szpak/gists{/gist_id}","starred_url":"https://api.github.com/users/szpak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szpak/subscriptions","organizations_url":"https://api.github.com/users/szpak/orgs","repos_url":"https://api.github.com/users/szpak/repos","events_url":"https://api.github.com/users/szpak/events{/privacy}","received_events_url":"https://api.github.com/users/szpak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"philwebb","id":519772,"avatar_url":"https://avatars.githubusercontent.com/u/519772?v=3","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"assignees":[{"login":"philwebb","id":519772,"avatar_url":"https://avatars.githubusercontent.com/u/519772?v=3","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/42","html_url":"https://github.com/spring-projects/spring-boot/milestones/1.4.0","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/42/labels","id":1171890,"number":42,"title":"1.4.0","description":"","creator":{"login":"philwebb","id":519772,"avatar_url":"https://avatars.githubusercontent.com/u/519772?v=3","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":5,"state":"open","created_at":"2015-06-19T06:37:08Z","updated_at":"2016-07-06T21:34:50Z","due_on":"2016-07-27T22:00:00Z","closed_at":null},"comments":1,"created_at":"2016-07-05T10:39:14Z","updated_at":"2016-07-06T21:36:54Z","closed_at":"2016-07-06T21:34:50Z","pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/6323","html_url":"https://github.com/spring-projects/spring-boot/pull/6323","diff_url":"https://github.com/spring-projects/spring-boot/pull/6323.diff","patch_url":"https://github.com/spring-projects/spring-boot/pull/6323.patch"},"body":"- [x] I have signed the CLA\r\n\r\nThis PR fixes incompatibility of 1.4.0.M3 (also snapshot 20160706) with Mockito 2.0.47-beta+ described in #6320.\r\n\r\nMethod get() on `Answers` is no longer [available](https://github.com/mockito/mockito/commit/da5e750957b494e7fa0548bf1286d67b8b0386d5) in 2.0.47-beta+.\r\nMethod get() is required only for Mockito 1.x and <2.0.2-beta. Starting with 2.0.0-beta an Answers enum [implements](https://github.com/mockito/mockito/commit/34f4436d988f04eaf7635b0497067ee8df7971a6) an Answer interface.\r\n\r\nThe implementation detects if `Answers` can be cast directly to `Answer` (new beta versions) and if not uses an old get() method. It should cover most of the Mockito versions. Ugly casts and warning suppression are required to make it compilable with Mockito 1.10.x.\r\n\r\nCompatibility with 1.10.x is provided by current tests. Compatibility with recent Mockito 2.x has been tested manually (maybe there could be created a separated module to test compatibility with Mockito 2.x one day).\r\n\r\nFixes gh-6320."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/230914876","html_url":"https://github.com/spring-projects/spring-boot/pull/6323#issuecomment-230914876","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6323","id":230914876,"user":{"login":"philwebb","id":519772,"avatar_url":"https://avatars.githubusercontent.com/u/519772?v=3","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T21:36:54Z","updated_at":"2016-07-06T21:36:54Z","body":"Thanks! This is now merged. I've also raised [an issue](https://github.com/mockito/mockito/issues/482) with Mockito to see if they want to restore that deprecated method for at least one GA release."}}
{"actor":{"display_login":"philwebb"}}