-
Notifications
You must be signed in to change notification settings - Fork 68
Regression: Problem with new line for String param in client WS (JDK8 141 OK, JDK 161 ERROR) #1209
Comments
Hello Guys, Any update about this issue ? |
JDK bug for tracking the same issue: https://bugs.openjdk.java.net/browse/JDK-8196491 |
Yes, at the moment i have disable my saop handlers... |
JDK-8196491 bug has been resolved in jdk8u-dev. Standalone fixes for JAXWS-RI and JAXB-RI have been delivered through these changesets: I guess that this issue can be closed now |
Fix is expected to be included in Version 8u192. So no progression beyond 8u151, unless they backport it |
I see this with standalone JAX-WS RI 2.3.0 as downloaded via Maven and JDK9 (eg zulu9.0.7.1-jdk9.0.7-win_x64). My codebase now relies on Java9 features and I can't move it back. So: is this fix slated to be released in a (still useable from jdk9) JAX-WS RI 2.3.1 any time soon? BTW: I tried compiling my own release locally but failed pretty miserably (undefined references to com.sun...internal classes, for example; couldn't find any build instructions anywhere...) I'm looking to having to sanitise all my data manually (field-by-field) and this 'solution' is rather unappealing... |
@transentia can you post how you were able to pull in JAX-WS as a maven dependency? |
I'm pulling in dependencies from mavenCentral in Gradle:
|
it's fixed on the 1_8_172 (check release note here : http://www.oracle.com/technetwork/java/javaseproducts/documentation/8u172-revision-builds-relnotes-4465508.html ) |
Thanks for that. Is there a timeline for the standalone release? As I said, I have moved to JDK 9 features and can't go back, so the standalone is the only option for me... |
There is a new regression based on the latest release of JDK.
I have reproduced the problem using non JDK version of JAX-WS (version 2.3.0:
The problem visible only when using combination of client WS and SoapHandler.
It fails with message "Entity References are not allowed in SOAP documents" where the reference is "#xd" inside createEntityReference method call. It seems that new lines are now escaped (#xd or #0a).
And this seems to bug createEntityReference logic.
Example:
Stacktrace:
The text was updated successfully, but these errors were encountered: