diff options
author | coffeys <none@none> | 2013-10-05 08:56:34 +0100 |
---|---|---|
committer | coffeys <none@none> | 2013-10-05 08:56:34 +0100 |
commit | 38d000ee3321c226a1dc3c9aa4eefcb49e1fcadb (patch) | |
tree | 9ce699a70419c382d4db6ce23e7fbb40db37e5a0 /src | |
parent | 156d3442169de847ccfd818dd4945dd83ddc7b78 (diff) | |
download | jdk8u_jaxws-38d000ee3321c226a1dc3c9aa4eefcb49e1fcadb.tar.gz |
8016271: wsimport -clientjar does not create portable jars on Windows due to hardcoded backslash
Reviewed-by: mkos, chegar
Diffstat (limited to 'src')
-rw-r--r-- | src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java index 258b78d7..87e9f422 100644 --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/WsimportTool.java @@ -332,7 +332,7 @@ public class WsimportTool { if(options.verbose) { listener.message(WscompileMessages.WSIMPORT_ARCHIVE_ARTIFACT(f, options.clientjar)); } - String entry = f.getCanonicalPath().substring(base.length()+1); + String entry = f.getCanonicalPath().substring(base.length()+1).replace(File.separatorChar, '/'); fi = new FileInputStream(f); bis = new BufferedInputStream(fi); JarEntry jarEntry = new JarEntry(entry); |