{"action":"created","issue":{"url":"https://api.github.com/repos/jayway/powermock/issues/377","labels_url":"https://api.github.com/repos/jayway/powermock/issues/377/labels{/name}","comments_url":"https://api.github.com/repos/jayway/powermock/issues/377/comments","events_url":"https://api.github.com/repos/jayway/powermock/issues/377/events","html_url":"https://github.com/jayway/powermock/issues/377","id":97077780,"number":377,"title":"Javaagent falls if JaCoCo Agent is also turned in","user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jayway/powermock/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jayway/powermock/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/jayway/powermock/labels/Priority-Low","name":"Priority-Low","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T15:30:20Z","updated_at":"2015-07-24T15:30:22Z","closed_at":null,"body":"_From [mag...@jungsbluth.de](https://code.google.com/u/111551697517891664187/) on November 22, 2011 22:02:06_\n\nWhat steps will reproduce the problem? 1. Create a powermock test with Mockito and junit Javaagent rule. Passes...\r\n2. Install Eclipse EclEmma Plugin 2.0 Beta which uses the JaCoCo Javaagent\r\n3. Run the Test again with \"coverage as\" What is the expected output? What do you see instead? Expected: Passing Test \r\nInstead: Failed to redefine class What version of the product are you using? On what operating system? 1.4.10 Win64\r\nEclipse Indigo 3.7.1\r\nLatest EclEmma 2.0 Plugin with JaCoCo Please provide any additional information below. First of all, the Javaagent Support is awesome! Keep going with it, it is a lot more powerful than the classloader approach. I suspect that multiple Agens will cause this problem...\n\n_Original issue: http://code.google.com/p/powermock/issues/detail?id=357_"},"comment":{"url":"https://api.github.com/repos/jayway/powermock/issues/comments/124559412","html_url":"https://github.com/jayway/powermock/issues/377#issuecomment-124559412","issue_url":"https://api.github.com/repos/jayway/powermock/issues/377","id":124559412,"user":{"login":"johanhaleby","id":187029,"avatar_url":"https://avatars.githubusercontent.com/u/187029?v=3","gravatar_id":"","url":"https://api.github.com/users/johanhaleby","html_url":"https://github.com/johanhaleby","followers_url":"https://api.github.com/users/johanhaleby/followers","following_url":"https://api.github.com/users/johanhaleby/following{/other_user}","gists_url":"https://api.github.com/users/johanhaleby/gists{/gist_id}","starred_url":"https://api.github.com/users/johanhaleby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanhaleby/subscriptions","organizations_url":"https://api.github.com/users/johanhaleby/orgs","repos_url":"https://api.github.com/users/johanhaleby/repos","events_url":"https://api.github.com/users/johanhaleby/events{/privacy}","received_events_url":"https://api.github.com/users/johanhaleby/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T15:30:22Z","updated_at":"2015-07-24T15:30:22Z","body":"_From [johan.ha...@gmail.com](https://code.google.com/u/105676376875942041029/) on November 25, 2011 03:32:10_\n\nHi! I haven't experimented with multiple agents and I'm not entirely how it's supposed to work in Java even. Unfortunately I'm maintaining PowerMock totally in my spare time and it requires a great amount time which I don't have right now :/ Also I'm not even using Eclipse anymore so I would be really glad if you could help out with this in any way.\n\n**Status:** Accepted  \n  **Labels:** -Priority-Medium Priority-Low  \n"}}