◐ Shell
clean mode source ↗

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

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@LeungHL

@LeungHL LeungHL commented

Oct 25, 2024

Copy link Copy Markdown

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

@binarywang 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.

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

@binarywang binarywang merged commit c483d6f into binarywang:develop

Oct 31, 2024

@binarywang

Copy link Copy Markdown

Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@binarywang binarywang binarywang left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.6.6

Development

Successfully merging this pull request may close these issues.

2 participants

@LeungHL @binarywang