FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: 【微信支付】初始化V3客户端:修复p12证书从closed inputstream加载失败的问题 by LeungHL · Pull Request #3392 · binarywang/WxJava · GitHub

fix: 【微信支付】初始化V3客户端:修复p12证书从closed inputstream加载失败的问题 - #3392

Merged
binarywang merged 1 commit into
binarywang:developfrom
LeungHL:develop
Oct 31, 2024
Merged

fix: 【微信支付】初始化V3客户端:修复p12证书从closed inputstream加载失败的问题#3392
binarywang merged 1 commit into
binarywang:developfrom
LeungHL:develop

Conversation

LeungHL commented Oct 25, 2024

Copy link
Copy Markdown

【微信支付】删除了一个通过 try-with-resources从P12证书获取inputstream的方法,该方法返回的流已经closed,导致p12证书无法被读取。改成直接通过try-with-resources读取,另外读取P12的时候没有赋值给对应的certSerialNo,总共两个地方

binarywang added this to the 4.6.6 milestone Oct 27, 2024
} catch (Exception ignored) {

} catch (Exception e) {
e.printStackTrace();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

这个地方请使用log打印,谢谢

binarywang merged commit c483d6f into binarywang:develop Oct 31, 2024

Copy link
Copy Markdown
Owner

感谢贡献代码,楼主请关注下置顶区的issue,如果有兴趣如开发组的话请联系我

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL