René's URL Explorer Experiment


Title: fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积 by b84330808 · Pull Request #4149 · binarywang/WxJava · GitHub

Open Graph Title: fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积 by b84330808 · Pull Request #4149 · binarywang/WxJava

X Title: fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积 by b84330808 · Pull Request #4149 · binarywang/WxJava

Description: 微信开发 Java SDK ,支持包括微信支付,开放平台,小程序,企业微信,视频号,公众号等的后端开发 - fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积 by b84330808 · Pull Request #4149 · binarywang/WxJava

Open Graph Description: 问题 FileUtils.createTmpFile(InputStream, String, String) 每次调用都会用 Files.createTempDirectory("wxjava-temp") 新建一个目录,deleteOnExit 只注册了文件,目录本身永远不会被删除。调用方即使用完后删掉了返回的文件,目录也会一直留在系统临时目录里,JVM 退出后也还在...

X Description: 问题 FileUtils.createTmpFile(InputStream, String, String) 每次调用都会用 Files.createTempDirectory("wxjava-temp") 新建一个目录,deleteOnExit 只注册了文件,目录本身永远不会被删除。调用方即使用完后删掉了返回的文件,目录也会一直留在系统临时目录里,JV...

Opengraph URL: https://github.com/binarywang/WxJava/pull/4149

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:135f75eb-a8d3-a514-c173-893ee3726161
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD6D2:5877B:54829B:743423:6AFC0FB5
html-safe-nonce8356814e6841b8e15e4063da2d2a1c1c6b4e10c0cf1100b451a5e6fd343399e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENkQyOjU4NzdCOjU0ODI5Qjo3NDM0MjM6NkFGQzBGQjUiLCJ2aXNpdG9yX2lkIjoiODUwOTUyMDYzNDA3NjQ2NzEyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd49e9a239184cd699786a5e325b9334b74e2066550f994f7b25cd9a2c323e2d6
hovercard-subject-tagpull_request:5322739274
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/binarywang/WxJava/4149/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/19839da61d64a21b24338833f73ba8906e8921f22e9e87b6943e86d782d868a7/binarywang/WxJava/pull/4149
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19839da61d64a21b24338833f73ba8906e8921f22e9e87b6943e86d782d868a7/binarywang/WxJava/pull/4149
og:image:alt问题 FileUtils.createTmpFile(InputStream, String, String) 每次调用都会用 Files.createTempDirectory("wxjava-temp") 新建一个目录,deleteOnExit 只注册了文件,目录本身永远不会被删除。调用方即使用完后删掉了返回的文件,目录也会一直留在系统临时目录里,JVM 退出后也还在...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameb84330808
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-cache
go-importgithub.com/binarywang/WxJava git https://github.com/binarywang/WxJava.git
octolytics-dimension-user_id1343140
octolytics-dimension-user_loginbinarywang
octolytics-dimension-repository_id49122742
octolytics-dimension-repository_nwobinarywang/WxJava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49122742
octolytics-dimension-repository_network_root_nwobinarywang/WxJava
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/binarywang/WxJava/pull/4149#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4149
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4149
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=binarywang%2FWxJava
Reloadhttps://github.com/binarywang/WxJava/pull/4149
Reloadhttps://github.com/binarywang/WxJava/pull/4149
Reloadhttps://github.com/binarywang/WxJava/pull/4149
binarywanghttps://github.com/binarywang
WxJavahttps://github.com/binarywang/WxJava
Codehttps://github.com/binarywang/WxJava
Issues3 (3)https://github.com/binarywang/WxJava/issues
Pull requests3 (3)https://github.com/binarywang/WxJava/pulls
Discussionshttps://github.com/binarywang/WxJava/discussions
Actionshttps://github.com/binarywang/WxJava/actions
Wikihttps://github.com/binarywang/WxJava/wiki
Security and qualityhttps://github.com/binarywang/WxJava/security
Insightshttps://github.com/binarywang/WxJava/pulse
https://github.com/binarywang/WxJava
b84330808https://github.com/b84330808
binarywang:develophttps://github.com/binarywang/WxJava/tree/develop
b84330808:fix-tmp-dir-leakhttps://github.com/b84330808/WxJava/tree/fix-tmp-dir-leak
Conversationhttps://github.com/binarywang/WxJava/pull/4149
Commits1 (1)https://github.com/binarywang/WxJava/pull/4149/commits
Checkshttps://github.com/binarywang/WxJava/pull/4149/checks
Files changedhttps://github.com/binarywang/WxJava/pull/4149/files
fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积https://github.com/binarywang/WxJava/pull/4149#top
b84330808https://github.com/b84330808
binarywang:develophttps://github.com/binarywang/WxJava/tree/develop
b84330808:fix-tmp-dir-leakhttps://github.com/b84330808/WxJava/tree/fix-tmp-dir-leak
https://github.com/b84330808
b84330808https://github.com/b84330808
Nov 15, 2026https://github.com/binarywang/WxJava/pull/4149#issue-6404013971
createTmpFile这个创建的临时文件夹能加个删除吗 #1989https://github.com/binarywang/WxJava/issues/1989
生成大量临时文件没有删除占用空间 #3271https://github.com/binarywang/WxJava/issues/3271
#4117https://github.com/binarywang/WxJava/pull/4117
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4149
https://github.com/b84330808
fix(common): 复用临时目录,上传后删除内部临时文件,避免临时目录和文件持续堆积https://github.com/binarywang/WxJava/pull/4149/commits/7ebd6ca4260c4929898e1842edaec5d5fe721679
7ebd6cahttps://github.com/binarywang/WxJava/pull/4149/commits/7ebd6ca4260c4929898e1842edaec5d5fe721679
binarywang#1989https://github.com/binarywang/WxJava/issues/1989
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Nov 15, 2026https://github.com/binarywang/WxJava/pull/4149#issuecomment-6894365567
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4149
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4149
https://github.com/binarywang
binarywanghttps://github.com/binarywang
Copilothttps://github.com/apps/copilot-pull-request-reviewer
November 17, 2026 01:42https://github.com/binarywang/WxJava/pull/4149#event-36351091588
started reviewinghttps://github.com/binarywang/WxJava/sessions/b8ecabcd-c724-476c-8642-14a456c24a12
binarywanghttps://github.com/binarywang
November 17, 2026 01:42https://github.com/binarywang/WxJava/pull/4149#event-36351124404
View session https://github.com/binarywang/WxJava/sessions/b8ecabcd-c724-476c-8642-14a456c24a12
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Nov 17, 2026 https://github.com/binarywang/WxJava/pull/4149#pullrequestreview-5931288379
View reviewed changes https://github.com/binarywang/WxJava/pull/4149/files/7ebd6ca4260c4929898e1842edaec5d5fe721679
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/binarywang/WxJava/pull/4149#pullrequestreview-5931288379
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
读取测试文件后关闭输入流再删除共享目录https://github.com/binarywang/WxJava/pull/4149#discussion_r4594207241
#1989https://github.com/binarywang/WxJava/issues/1989
#3271https://github.com/binarywang/WxJava/issues/3271
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4149
weixin-java-common/src/test/java/me/chanjar/weixin/common/util/fs/FileUtilsTest.javahttps://github.com/binarywang/WxJava/pull/4149/files/7ebd6ca4260c4929898e1842edaec5d5fe721679#diff-a8cc4ba137c7be3689d8a378e25b47863dca000c99fdae3473b612ddfe5f337f
https://github.co/hiddenchars
https://github.com/binarywang/WxJava/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbinarywang%2FWxJava%2Fpull%2F4149
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/binarywang/WxJava/pull/4149/files/7ebd6ca4260c4929898e1842edaec5d5fe721679
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4149
Please reload this pagehttps://github.com/binarywang/WxJava/pull/4149
https://github.com/b84330808
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.