{"action":"opened","number":2124,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2124","id":52107126,"html_url":"https://github.com/openmicroscopy/bioformats/pull/2124","diff_url":"https://github.com/openmicroscopy/bioformats/pull/2124.diff","patch_url":"https://github.com/openmicroscopy/bioformats/pull/2124.patch","issue_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2124","number":2124,"state":"open","locked":false,"title":"bfCheckJavaPath.m: Only check MATLAB static javaclasspath once","user":{"login":"mkitti","id":8062771,"avatar_url":"https://avatars.githubusercontent.com/u/8062771?v=3","gravatar_id":"","url":"https://api.github.com/users/mkitti","html_url":"https://github.com/mkitti","followers_url":"https://api.github.com/users/mkitti/followers","following_url":"https://api.github.com/users/mkitti/following{/other_user}","gists_url":"https://api.github.com/users/mkitti/gists{/gist_id}","starred_url":"https://api.github.com/users/mkitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkitti/subscriptions","organizations_url":"https://api.github.com/users/mkitti/orgs","repos_url":"https://api.github.com/users/mkitti/repos","events_url":"https://api.github.com/users/mkitti/events{/privacy}","received_events_url":"https://api.github.com/users/mkitti/received_events","type":"User","site_admin":false},"body":"In bfCheckJavaPath.m, only check MATLAB static javaclasspath once by using a persistent variable. \r\n\r\nThe static javaclasspath can only be changed at startup by adding a javaclasspath.txt file in either the MATLAB startup directory or in `prefdir`. Therefore, we only need to check the static classpath once for the jars. On subsequent calls to `bfCheckJavaPath.m`, just recheck the dynamic path and merge the results.\r\n\r\nAs the static classpath is quite long and the dynamic classpath is quite short in MATLAB the efficiency gains by not constantly rechecking the static classpath are substantial.\r\n\r\nThis change is against 5.1.x only and thus is against dev_5_1. It would need be reconciled with the version in develop ( 549b8673a619dce95e482234fad54367a8975b97 ) which does no analysis of the classpath directly. However, unlike the version in develop, it should retain the previous behavior and should not be breaking as in #2027. See also #2018.\r\n\r\n","created_at":"2015-11-30T10:32:46Z","updated_at":"2015-11-30T10:32:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2124/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2124/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2124/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/bioformats/statuses/8fe273f742aff9f70c5636f059787d51134c3737","head":{"label":"mkitti:dev_5_1","ref":"dev_5_1","sha":"8fe273f742aff9f70c5636f059787d51134c3737","user":{"login":"mkitti","id":8062771,"avatar_url":"https://avatars.githubusercontent.com/u/8062771?v=3","gravatar_id":"","url":"https://api.github.com/users/mkitti","html_url":"https://github.com/mkitti","followers_url":"https://api.github.com/users/mkitti/followers","following_url":"https://api.github.com/users/mkitti/following{/other_user}","gists_url":"https://api.github.com/users/mkitti/gists{/gist_id}","starred_url":"https://api.github.com/users/mkitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkitti/subscriptions","organizations_url":"https://api.github.com/users/mkitti/orgs","repos_url":"https://api.github.com/users/mkitti/repos","events_url":"https://api.github.com/users/mkitti/events{/privacy}","received_events_url":"https://api.github.com/users/mkitti/received_events","type":"User","site_admin":false},"repo":{"id":46034308,"name":"bioformats","full_name":"mkitti/bioformats","owner":{"login":"mkitti","id":8062771,"avatar_url":"https://avatars.githubusercontent.com/u/8062771?v=3","gravatar_id":"","url":"https://api.github.com/users/mkitti","html_url":"https://github.com/mkitti","followers_url":"https://api.github.com/users/mkitti/followers","following_url":"https://api.github.com/users/mkitti/following{/other_user}","gists_url":"https://api.github.com/users/mkitti/gists{/gist_id}","starred_url":"https://api.github.com/users/mkitti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkitti/subscriptions","organizations_url":"https://api.github.com/users/mkitti/orgs","repos_url":"https://api.github.com/users/mkitti/repos","events_url":"https://api.github.com/users/mkitti/events{/privacy}","received_events_url":"https://api.github.com/users/mkitti/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkitti/bioformats","description":"Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the  Open Microscopy Environment (particularly  UW-Madison LOCI and  Glencoe Software). Bio-Formats is released under the  GNU General Public License (GPL); commercial licenses are available from  Glencoe Software. ","fork":true,"url":"https://api.github.com/repos/mkitti/bioformats","forks_url":"https://api.github.com/repos/mkitti/bioformats/forks","keys_url":"https://api.github.com/repos/mkitti/bioformats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkitti/bioformats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkitti/bioformats/teams","hooks_url":"https://api.github.com/repos/mkitti/bioformats/hooks","issue_events_url":"https://api.github.com/repos/mkitti/bioformats/issues/events{/number}","events_url":"https://api.github.com/repos/mkitti/bioformats/events","assignees_url":"https://api.github.com/repos/mkitti/bioformats/assignees{/user}","branches_url":"https://api.github.com/repos/mkitti/bioformats/branches{/branch}","tags_url":"https://api.github.com/repos/mkitti/bioformats/tags","blobs_url":"https://api.github.com/repos/mkitti/bioformats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkitti/bioformats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkitti/bioformats/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkitti/bioformats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkitti/bioformats/statuses/{sha}","languages_url":"https://api.github.com/repos/mkitti/bioformats/languages","stargazers_url":"https://api.github.com/repos/mkitti/bioformats/stargazers","contributors_url":"https://api.github.com/repos/mkitti/bioformats/contributors","subscribers_url":"https://api.github.com/repos/mkitti/bioformats/subscribers","subscription_url":"https://api.github.com/repos/mkitti/bioformats/subscription","commits_url":"https://api.github.com/repos/mkitti/bioformats/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkitti/bioformats/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkitti/bioformats/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkitti/bioformats/issues/comments{/number}","contents_url":"https://api.github.com/repos/mkitti/bioformats/contents/{+path}","compare_url":"https://api.github.com/repos/mkitti/bioformats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkitti/bioformats/merges","archive_url":"https://api.github.com/repos/mkitti/bioformats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkitti/bioformats/downloads","issues_url":"https://api.github.com/repos/mkitti/bioformats/issues{/number}","pulls_url":"https://api.github.com/repos/mkitti/bioformats/pulls{/number}","milestones_url":"https://api.github.com/repos/mkitti/bioformats/milestones{/number}","notifications_url":"https://api.github.com/repos/mkitti/bioformats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkitti/bioformats/labels{/name}","releases_url":"https://api.github.com/repos/mkitti/bioformats/releases{/id}","created_at":"2015-11-12T06:34:43Z","updated_at":"2015-11-12T06:35:07Z","pushed_at":"2015-11-30T10:17:40Z","git_url":"git://github.com/mkitti/bioformats.git","ssh_url":"git@github.com:mkitti/bioformats.git","clone_url":"https://github.com/mkitti/bioformats.git","svn_url":"https://github.com/mkitti/bioformats","homepage":"http://www.openmicroscopy.org/site/products/bio-formats","size":254768,"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":"develop"}},"base":{"label":"openmicroscopy:dev_5_1","ref":"dev_5_1","sha":"dd95740608b4a0e2c79a2e2e7b30a96eba3b741a","user":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"repo":{"id":2510503,"name":"bioformats","full_name":"openmicroscopy/bioformats","owner":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmicroscopy/bioformats","description":"Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the  Open Microscopy Environment (particularly  UW-Madison LOCI and  Glencoe Software). Bio-Formats is released under the  GNU General Public License (GPL); commercial licenses are available from  Glencoe Software. ","fork":false,"url":"https://api.github.com/repos/openmicroscopy/bioformats","forks_url":"https://api.github.com/repos/openmicroscopy/bioformats/forks","keys_url":"https://api.github.com/repos/openmicroscopy/bioformats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/bioformats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/bioformats/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/bioformats/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/bioformats/events","assignees_url":"https://api.github.com/repos/openmicroscopy/bioformats/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/bioformats/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/bioformats/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/bioformats/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/bioformats/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/bioformats/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/bioformats/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/bioformats/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/bioformats/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/bioformats/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/bioformats/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/bioformats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/bioformats/merges","archive_url":"https://api.github.com/repos/openmicroscopy/bioformats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/bioformats/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/bioformats/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/bioformats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/bioformats/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/bioformats/releases{/id}","created_at":"2011-10-04T08:06:14Z","updated_at":"2015-10-31T18:30:29Z","pushed_at":"2015-11-27T22:25:30Z","git_url":"git://github.com/openmicroscopy/bioformats.git","ssh_url":"git@github.com:openmicroscopy/bioformats.git","clone_url":"https://github.com/openmicroscopy/bioformats.git","svn_url":"https://github.com/openmicroscopy/bioformats","homepage":"http://www.openmicroscopy.org/site/products/bio-formats","size":260148,"stargazers_count":95,"watchers_count":95,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":31,"forks":112,"open_issues":31,"watchers":95,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2124"},"html":{"href":"https://github.com/openmicroscopy/bioformats/pull/2124"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2124"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2124/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2124/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2124/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/statuses/8fe273f742aff9f70c5636f059787d51134c3737"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":4,"changed_files":1}}