{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/soulwing/pinject/pulls/3","id":51715430,"html_url":"https://github.com/soulwing/pinject/pull/3","diff_url":"https://github.com/soulwing/pinject/pull/3.diff","patch_url":"https://github.com/soulwing/pinject/pull/3.patch","issue_url":"https://api.github.com/repos/soulwing/pinject/issues/3","number":3,"state":"closed","locked":false,"title":"Fallback to class' classloader if TCCL isn't set yet","user":{"login":"mikesir87","id":746837,"avatar_url":"https://avatars.githubusercontent.com/u/746837?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesir87","html_url":"https://github.com/mikesir87","followers_url":"https://api.github.com/users/mikesir87/followers","following_url":"https://api.github.com/users/mikesir87/following{/other_user}","gists_url":"https://api.github.com/users/mikesir87/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesir87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesir87/subscriptions","organizations_url":"https://api.github.com/users/mikesir87/orgs","repos_url":"https://api.github.com/users/mikesir87/repos","events_url":"https://api.github.com/users/mikesir87/events{/privacy}","received_events_url":"https://api.github.com/users/mikesir87/received_events","type":"User","site_admin":false},"body":"When running in a Wildfly Swarm project, the tccl hasn't necessarily\r\ninitialized yet. So, falling back to the class' classloader prevents\r\nan NPE from occurring and allows the code to continue.\r\n\r\nQuote from a Wildfly Swarm developer (from IRC chats):\r\n\r\nThe TCCL isn't guaranteed to be set. It's usually best to check for\r\nthe TCCL and if null return the class loader of the current class.","created_at":"2015-11-24T20:52:52Z","updated_at":"2015-11-25T14:02:47Z","closed_at":"2015-11-25T14:02:47Z","merged_at":null,"merge_commit_sha":"5c22e4ad95434849ae10c5f696212c720b085ecd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/soulwing/pinject/pulls/3/commits","review_comments_url":"https://api.github.com/repos/soulwing/pinject/pulls/3/comments","review_comment_url":"https://api.github.com/repos/soulwing/pinject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/soulwing/pinject/issues/3/comments","statuses_url":"https://api.github.com/repos/soulwing/pinject/statuses/5700f8e317372de064d307566e4bd3044da76343","head":{"label":"mikesir87:master","ref":"master","sha":"5700f8e317372de064d307566e4bd3044da76343","user":{"login":"mikesir87","id":746837,"avatar_url":"https://avatars.githubusercontent.com/u/746837?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesir87","html_url":"https://github.com/mikesir87","followers_url":"https://api.github.com/users/mikesir87/followers","following_url":"https://api.github.com/users/mikesir87/following{/other_user}","gists_url":"https://api.github.com/users/mikesir87/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesir87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesir87/subscriptions","organizations_url":"https://api.github.com/users/mikesir87/orgs","repos_url":"https://api.github.com/users/mikesir87/repos","events_url":"https://api.github.com/users/mikesir87/events{/privacy}","received_events_url":"https://api.github.com/users/mikesir87/received_events","type":"User","site_admin":false},"repo":{"id":46741439,"name":"pinject","full_name":"mikesir87/pinject","owner":{"login":"mikesir87","id":746837,"avatar_url":"https://avatars.githubusercontent.com/u/746837?v=3","gravatar_id":"","url":"https://api.github.com/users/mikesir87","html_url":"https://github.com/mikesir87","followers_url":"https://api.github.com/users/mikesir87/followers","following_url":"https://api.github.com/users/mikesir87/following{/other_user}","gists_url":"https://api.github.com/users/mikesir87/gists{/gist_id}","starred_url":"https://api.github.com/users/mikesir87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikesir87/subscriptions","organizations_url":"https://api.github.com/users/mikesir87/orgs","repos_url":"https://api.github.com/users/mikesir87/repos","events_url":"https://api.github.com/users/mikesir87/events{/privacy}","received_events_url":"https://api.github.com/users/mikesir87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikesir87/pinject","description":"A CDI extension that injects property values into CDI-managed beans","fork":true,"url":"https://api.github.com/repos/mikesir87/pinject","forks_url":"https://api.github.com/repos/mikesir87/pinject/forks","keys_url":"https://api.github.com/repos/mikesir87/pinject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikesir87/pinject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikesir87/pinject/teams","hooks_url":"https://api.github.com/repos/mikesir87/pinject/hooks","issue_events_url":"https://api.github.com/repos/mikesir87/pinject/issues/events{/number}","events_url":"https://api.github.com/repos/mikesir87/pinject/events","assignees_url":"https://api.github.com/repos/mikesir87/pinject/assignees{/user}","branches_url":"https://api.github.com/repos/mikesir87/pinject/branches{/branch}","tags_url":"https://api.github.com/repos/mikesir87/pinject/tags","blobs_url":"https://api.github.com/repos/mikesir87/pinject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikesir87/pinject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikesir87/pinject/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikesir87/pinject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikesir87/pinject/statuses/{sha}","languages_url":"https://api.github.com/repos/mikesir87/pinject/languages","stargazers_url":"https://api.github.com/repos/mikesir87/pinject/stargazers","contributors_url":"https://api.github.com/repos/mikesir87/pinject/contributors","subscribers_url":"https://api.github.com/repos/mikesir87/pinject/subscribers","subscription_url":"https://api.github.com/repos/mikesir87/pinject/subscription","commits_url":"https://api.github.com/repos/mikesir87/pinject/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikesir87/pinject/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikesir87/pinject/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikesir87/pinject/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikesir87/pinject/contents/{+path}","compare_url":"https://api.github.com/repos/mikesir87/pinject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikesir87/pinject/merges","archive_url":"https://api.github.com/repos/mikesir87/pinject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikesir87/pinject/downloads","issues_url":"https://api.github.com/repos/mikesir87/pinject/issues{/number}","pulls_url":"https://api.github.com/repos/mikesir87/pinject/pulls{/number}","milestones_url":"https://api.github.com/repos/mikesir87/pinject/milestones{/number}","notifications_url":"https://api.github.com/repos/mikesir87/pinject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikesir87/pinject/labels{/name}","releases_url":"https://api.github.com/repos/mikesir87/pinject/releases{/id}","created_at":"2015-11-23T19:00:56Z","updated_at":"2015-11-23T19:00:57Z","pushed_at":"2015-11-25T14:02:47Z","git_url":"git://github.com/mikesir87/pinject.git","ssh_url":"git@github.com:mikesir87/pinject.git","clone_url":"https://github.com/mikesir87/pinject.git","svn_url":"https://github.com/mikesir87/pinject","homepage":"","size":180,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"soulwing:master","ref":"master","sha":"5700f8e317372de064d307566e4bd3044da76343","user":{"login":"soulwing","id":4619544,"avatar_url":"https://avatars.githubusercontent.com/u/4619544?v=3","gravatar_id":"","url":"https://api.github.com/users/soulwing","html_url":"https://github.com/soulwing","followers_url":"https://api.github.com/users/soulwing/followers","following_url":"https://api.github.com/users/soulwing/following{/other_user}","gists_url":"https://api.github.com/users/soulwing/gists{/gist_id}","starred_url":"https://api.github.com/users/soulwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulwing/subscriptions","organizations_url":"https://api.github.com/users/soulwing/orgs","repos_url":"https://api.github.com/users/soulwing/repos","events_url":"https://api.github.com/users/soulwing/events{/privacy}","received_events_url":"https://api.github.com/users/soulwing/received_events","type":"Organization","site_admin":false},"repo":{"id":23437032,"name":"pinject","full_name":"soulwing/pinject","owner":{"login":"soulwing","id":4619544,"avatar_url":"https://avatars.githubusercontent.com/u/4619544?v=3","gravatar_id":"","url":"https://api.github.com/users/soulwing","html_url":"https://github.com/soulwing","followers_url":"https://api.github.com/users/soulwing/followers","following_url":"https://api.github.com/users/soulwing/following{/other_user}","gists_url":"https://api.github.com/users/soulwing/gists{/gist_id}","starred_url":"https://api.github.com/users/soulwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soulwing/subscriptions","organizations_url":"https://api.github.com/users/soulwing/orgs","repos_url":"https://api.github.com/users/soulwing/repos","events_url":"https://api.github.com/users/soulwing/events{/privacy}","received_events_url":"https://api.github.com/users/soulwing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/soulwing/pinject","description":"A CDI extension that injects property values into CDI-managed beans","fork":false,"url":"https://api.github.com/repos/soulwing/pinject","forks_url":"https://api.github.com/repos/soulwing/pinject/forks","keys_url":"https://api.github.com/repos/soulwing/pinject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soulwing/pinject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soulwing/pinject/teams","hooks_url":"https://api.github.com/repos/soulwing/pinject/hooks","issue_events_url":"https://api.github.com/repos/soulwing/pinject/issues/events{/number}","events_url":"https://api.github.com/repos/soulwing/pinject/events","assignees_url":"https://api.github.com/repos/soulwing/pinject/assignees{/user}","branches_url":"https://api.github.com/repos/soulwing/pinject/branches{/branch}","tags_url":"https://api.github.com/repos/soulwing/pinject/tags","blobs_url":"https://api.github.com/repos/soulwing/pinject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soulwing/pinject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soulwing/pinject/git/refs{/sha}","trees_url":"https://api.github.com/repos/soulwing/pinject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soulwing/pinject/statuses/{sha}","languages_url":"https://api.github.com/repos/soulwing/pinject/languages","stargazers_url":"https://api.github.com/repos/soulwing/pinject/stargazers","contributors_url":"https://api.github.com/repos/soulwing/pinject/contributors","subscribers_url":"https://api.github.com/repos/soulwing/pinject/subscribers","subscription_url":"https://api.github.com/repos/soulwing/pinject/subscription","commits_url":"https://api.github.com/repos/soulwing/pinject/commits{/sha}","git_commits_url":"https://api.github.com/repos/soulwing/pinject/git/commits{/sha}","comments_url":"https://api.github.com/repos/soulwing/pinject/comments{/number}","issue_comment_url":"https://api.github.com/repos/soulwing/pinject/issues/comments{/number}","contents_url":"https://api.github.com/repos/soulwing/pinject/contents/{+path}","compare_url":"https://api.github.com/repos/soulwing/pinject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soulwing/pinject/merges","archive_url":"https://api.github.com/repos/soulwing/pinject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soulwing/pinject/downloads","issues_url":"https://api.github.com/repos/soulwing/pinject/issues{/number}","pulls_url":"https://api.github.com/repos/soulwing/pinject/pulls{/number}","milestones_url":"https://api.github.com/repos/soulwing/pinject/milestones{/number}","notifications_url":"https://api.github.com/repos/soulwing/pinject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soulwing/pinject/labels{/name}","releases_url":"https://api.github.com/repos/soulwing/pinject/releases{/id}","created_at":"2014-08-28T17:34:36Z","updated_at":"2015-09-30T08:54:48Z","pushed_at":"2015-11-24T20:52:53Z","git_url":"git://github.com/soulwing/pinject.git","ssh_url":"git@github.com:soulwing/pinject.git","clone_url":"https://github.com/soulwing/pinject.git","svn_url":"https://github.com/soulwing/pinject","homepage":"","size":704,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/soulwing/pinject/pulls/3"},"html":{"href":"https://github.com/soulwing/pinject/pull/3"},"issue":{"href":"https://api.github.com/repos/soulwing/pinject/issues/3"},"comments":{"href":"https://api.github.com/repos/soulwing/pinject/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/soulwing/pinject/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/soulwing/pinject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/soulwing/pinject/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/soulwing/pinject/statuses/5700f8e317372de064d307566e4bd3044da76343"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":0,"additions":0,"deletions":0,"changed_files":0}}