Skip to content

Remove XStream as a dependency #229

Description

@lm-sousa

XStream depends on deprecated Java features and there doesn't seem to be a plan in place at this time to fix it.

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider (file:/REDACTED/clava/Clava-JS/java-binaries/lib/xstream-1.4.21.jar)
WARNING: Please consider reporting this to the maintainers of class com.thoughtworks.xstream.converters.reflection.SunUnsafeReflectionProvider
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release

We already use Jackson for most of our XML work. XStream still lingers in a couple dependencies (mainly JOptions). This is a nuisance in JDK 26. Probably a must-have for JDK 27.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions