We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题:zipEntry.getName() 返回的是 "java/lang/Object.class",分隔符为正斜杠'/' 文件路径并不是用File.seperator 即 '' 分隔 但是非zip的文件路径调用File.seperator依然是'' 因此不能直接将zipEntry的name与classname进行比较 寻找原因: https://docs.microsoft.com/zh-cn/dotnet/framework/migration-guide/mitigation-ziparchiveentry-fullname-path-separator 问:大家是否有类似问题?还是我自己并不需要纠结此问题就可以解决?
The text was updated successfully, but these errors were encountered:
做个简单的转换就好了,可以看一下transform方法的实现。这样就可以同时应对新旧版本的问题了
Sorry, something went wrong.
No branches or pull requests
问题:zipEntry.getName() 返回的是 "java/lang/Object.class",分隔符为正斜杠'/'
文件路径并不是用File.seperator 即 '' 分隔
但是非zip的文件路径调用File.seperator依然是''
因此不能直接将zipEntry的name与classname进行比较
寻找原因:
https://docs.microsoft.com/zh-cn/dotnet/framework/migration-guide/mitigation-ziparchiveentry-fullname-path-separator
问:大家是否有类似问题?还是我自己并不需要纠结此问题就可以解决?
The text was updated successfully, but these errors were encountered: