GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

Conversation

@LeungHL

@LeungHL LeungHL commented Oct 25, 2024

Copy link
Copy Markdown

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@LeungHL
fix: 微信支付-修复p12证书从closed inputstream加载失败的问题
19d6084
@binarywang binarywang added this to the 4.6.6 milestone Oct 27, 2024
binarywang
binarywang reviewed Oct 27, 2024
View reviewed changes
Comment thread weixin-java-pay/src/main/java/com/github/binarywang/wxpay/config/WxPayConfig.java
} catch (Exception ignored) {

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

@binarywang binarywang Oct 27, 2024

Copy link
Copy Markdown
Owner

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@binarywang
binarywang merged commit c483d6f into binarywang:develop Oct 31, 2024
@binarywang

binarywang commented Oct 31, 2024

Copy link
Copy Markdown
Owner

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.6.6

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@LeungHL @binarywang
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.