Java 11 Compatibility check xstream

865 views
Skip to first unread message

aweg...@ptc.com

unread,
Aug 16, 2018, 10:40:03 AM8/16/18
to XStream User
Hi,
at the beginning, I would like to apologize for using the google group for this purpose, I didn’t find another better place where I could find help.
I would like to ask you for help in locating the latest version of the library xstream.
We are looking a version of this library or its substitute compatible with Java 11.

Could you help us by answering the following questions:
1. Library Name:
2. Lates version:
3. Latest version Is the library compatible with Java 11 Compatible? (Y/N)
4. Is the library supported with Java 11? (Y/N)
5. (If “N” in compatibility or support) What is the versions that would be compatible and Supported?
6. Date of support availability?

Thanks,
PTC
Artur Węgrzyn


Jörg Schaible

unread,
Aug 20, 2018, 7:54:11 PM8/20/18
to xstrea...@googlegroups.com
Hi Artur,

On Thu, 16 Aug 2018 07:40:03 -0700 awegrzyn-03OdqgnIAC4 wrote:

> Hi,
> at the beginning, I would like to apologize for using the google group
> for this purpose, I didn’t find another better place where I could find
> help.

This is the perfect place.

> I would like to ask you for help in locating the latest version of the
> library xstream.

1.4.10

> We are looking a version of this library or its substitute compatible
> with Java 11.
>
> Could you help us by answering the following questions:
> 1. Library Name:
> 2. Lates version:
> 3. Latest version Is the library compatible with Java 11 Compatible?
> (Y/N)
> 4. Is the library supported with Java 11? (Y/N)
> 5. (If “N” in compatibility or support) What is the versions that would
> be compatible and Supported?
> 6. Date of support availability?

Tests started. XStream has dependencies to Java modules, that are no longer delivered with the standard
runtime (e.g. java.xml.bind) and will therefore have new dependencies for Java 11.

Regards,
Jörg

Wolski

unread,
Oct 9, 2018, 9:05:10 AM10/9/18
to XStream User
Hi Jörg,

is there any update regarding compatibility with java 11?

Regards,
Przemek

Jörg Schaible

unread,
Oct 9, 2018, 7:32:05 PM10/9/18
to xstrea...@googlegroups.com
Hi,

[snip]

>> Tests started. XStream has dependencies to Java modules, that are no
>> longer delivered with the standard runtime (e.g. java.xml.bind) and
>> will therefore have new dependencies for Java 11.
>>
>> Regards,
>> Jörg
>
> Hi Jörg,
>
> is there any update regarding compatibility with java 11?

Actually nothing has changed. XStream requires now JAXB dependency for compile time only, the code
requiring JAXB (well, only the Base64 support) is only used with a Java 7 runtime (or below) and there is is
bundled with the JDK anyway. The other dependency for Java Activation has always been optional, since it is
not available in old Java runtimes and same applies now for Java 11 again.

So, yes, XStream 1.4.10 can already be used for Java 11.

Cheers,
Jörg

Wolski

unread,
Oct 11, 2018, 3:19:55 AM10/11/18
to XStream User

Thanks for response,

currently after scanning version 1.4.10 it show me given output:

> jdeps -jdkinternals xstream-1.4.10.jar
xstream-1.4.10.jar -> jdk.unsupported
com.thoughtworks.xstream.converters.reflection.SunLimitedUnsafeReflectionProvider -> sun.misc.Unsafe JDK internal API (jdk.unsupported)
com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider -> sun.misc.Unsafe JDK internal API (jdk.unsupported)

it's regarding the mentioned activation?

Regards,
Przemek

Jörg Schaible

unread,
Oct 11, 2018, 2:20:37 PM10/11/18
to xstrea...@googlegroups.com
This has nothing to do with it. And there's still no replacement for this functionality in Java 11.

- Jörg

Reply all
Reply to author
Forward
0 new messages