fix: 【微信支付】初始化V3客户端:修复p12证书从closed inputstream加载失败的问题 by LeungHL · Pull Request #3392 · binarywang/WxJava
binarywang / WxJava Public
-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Merged
Merged
Conversation
LeungHL
commented
Oct 25, 2024
LeungHL
commented
【微信支付】删除了一个通过 try-with-resources从P12证书获取inputstream的方法,该方法返回的流已经closed,导致p12证书无法被读取。改成直接通过try-with-resources读取,另外读取P12的时候没有赋值给对应的certSerialNo,总共两个地方
binarywang
added this to the
4.6.6 milestone
binarywang
reviewed
| } catch (Exception ignored) { | ||
|
|
||
| } catch (Exception e) { | ||
| e.printStackTrace(); |
Owner
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个地方请使用log打印,谢谢
binarywang
merged commit
c483d6f
into
binarywang:develop
binarywang
commented
Oct 31, 2024
binarywang commented
Owner
感谢贡献代码,楼主请关注下置顶区的issue,如果有兴趣如开发组的话请联系我
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment