-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
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
WsImport.doMain() not closing binding file upon subsequent invocations #215
Comments
version, please. Repro case/test would help too. |
3.0.0 |
I cannot reproduce the problem. Any additional information (test/case) would be helpful. |
package issues; import java.io.File; import org.xml.sax.SAXParseException; import com.sun.tools.ws.wscompile.WsimportTool; public class Issue215 {
} |
Operating systems do differ in file locking, so I assume this is on Windows. Can you confirm? |
Windows 10 Home, 64 bit, OS build 19042.928. I am also attaching contents of "simple.wsdl", referred to in the reproduction code |
I checked |
…cations Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
can you try 3.0.2-SNAPSHOT and let me know if the issue is gone, please? |
The issue is gone. |
…cations Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com> (cherry picked from commit 3ff59c8)
Hi Lukas,
I would like to check the fix. Is there a link to built binaries for 3.0.2-SNAPSHOT?
Thanks,Phil
On Friday, 4 June 2021, 13:11:56 BST, Lukas Jungmann ***@***.***> wrote:
can you try 3.0.2-SNAPSHOT and let me know if the issue is gone, please?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
3.0.2-SNAPSHOT.zip - under jakarta namespace or use https://jakarta.oss.sonatype.org/content/repositories/snapshots repo as shown ie at https://eclipse-ee4j.github.io/mail/#Development_Releases |
I tested with jars from the 3.0.2-SNAPSHOT link just provided and the issue appears to have been fixed. Many thanks. |
great, thanks for checking! |
Calling WsImport.doMain(new String[] {"-keep", "-Xnocompile", "-p", "genTypesPkg", "-B-npa",
"-d", < path to temp dir>, "-b", < binding file>});
The first time it closes the binding file but upon subsequent invocations it appears to keep the binding file open because it is not possible to delete the file until the JVM is shutdown. Seems to happen with even the simplest WSDL. Binding file contents: < bindings xmlns="https://jakarta.ee/xml/ns/jaxws\">< enableWrapperStyle>false< /enableWrapperStyle>< /bindings>
The text was updated successfully, but these errors were encountered: