Skip to content
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

XStream modules are using to be deleted Java APIs - Java9 version #211

Open
gorky opened this issue Jul 29, 2020 · 1 comment
Open

XStream modules are using to be deleted Java APIs - Java9 version #211

gorky opened this issue Jul 29, 2020 · 1 comment
Assignees
Milestone

Comments

@gorky
Copy link
Contributor

gorky commented Jul 29, 2020

XStream modules are using

  • inefficient Java APIs that are being deprecated and access will be restricted to
  • APIs that have been deprecated in Java 9 (or earlier) and will be deleted.

While not yet urgent, invocations of these APIs should be updated.

@gorky
Copy link
Contributor Author

gorky commented Jul 29, 2020

I have a tool that is handling a bunch of this. Updates should be along shortly.

sanddusttx added a commit to j2eeguys/xstream that referenced this issue Jul 29, 2020
gorky added a commit to j2eeguys/xstream that referenced this issue Jul 29, 2020
gorky added a commit to j2eeguys/xstream that referenced this issue Jul 29, 2020
…tream#211

x-stream#211
Fix Unit test that was inappropriately using a primitive wrapper.

Signed-off-by: Steve Davidson <[email protected]>
@joehni joehni self-assigned this Jul 31, 2020
@joehni joehni added this to the 1.5.x milestone Jul 31, 2020
hsujenkins added a commit to j2eeguys/xstream that referenced this issue Oct 26, 2020
x-stream#211

Automatic updates
https://jenkins.updater.j2eeguys.com/

Signed-off-by: Honor Systems Updater Jenkins <[email protected]>
hsujenkins added a commit to j2eeguys/xstream that referenced this issue Oct 26, 2020
x-stream#211

Automatic updates
https://jenkins.updater.j2eeguys.com/

Signed-off-by: Honor Systems Updater Jenkins <[email protected]>
hsujenkins added a commit to j2eeguys/xstream that referenced this issue Apr 29, 2022
x-stream#211
Automatic updates
https://jenkins.updater.j2eeguys.com/
xstream/src/java/com/thoughtworks/xstream/mapper/SecurityMapper.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/io/StatefulWriter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/io/json/JettisonStaxWriter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-jmh/src/java/com/thoughtworks/xstream/benchmark/jmh/StringConverterBenchmark.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/PresortedMap.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/WeakCache.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/io/xml/TraxSource.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/converters/reflection/NativeFieldKeySorter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/ThreadSafeSimpleDateFormat.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/DefaultConverterLookup.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/mapper/AnnotationMapper.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]

Signed-off-by: Honor Systems Updater Jenkins <[email protected]>
hsujenkins added a commit to j2eeguys/xstream that referenced this issue May 2, 2022
x-stream#211
Automatic updates
https://jenkins.updater.j2eeguys.com/
xstream/src/java/com/thoughtworks/xstream/mapper/SecurityMapper.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/model/FiveBean.java
    uses deprecated method java/lang/Boolean::<init>(Z)V [java.9]
xstream/src/java/com/thoughtworks/xstream/io/StatefulWriter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/targets/ExtendedTarget.java
    uses deprecated method java/lang/Boolean::<init>(Z)V [java.9]
    uses deprecated method java/lang/Integer::<init>(I)V [java.9]
xstream/src/java/com/thoughtworks/xstream/io/json/JettisonStaxWriter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-jmh/src/java/com/thoughtworks/xstream/benchmark/jmh/StringConverterBenchmark.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/model/Five.java
    uses deprecated method java/lang/Boolean::<init>(Z)V [java.9]
xstream/src/java/com/thoughtworks/xstream/converters/reflection/XStream12FieldKeySorter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/PresortedMap.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/WeakCache.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/converters/reflection/AbstractReflectionConverter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/io/xml/TraxSource.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/targets/BasicTarget.java
    uses deprecated method java/lang/Long::<init>(J)V [java.9]
    uses deprecated method java/lang/Byte::<init>(B)V [java.9]
    uses deprecated method java/lang/Double::<init>(D)V [java.9]
    uses deprecated method java/lang/Float::<init>(F)V [java.9]
    uses deprecated method java/lang/Integer::<init>(I)V [java.9]
xstream/src/java/com/thoughtworks/xstream/converters/reflection/NativeFieldKeySorter.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/ThreadSafePropertyEditor.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/util/ThreadSafeSimpleDateFormat.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream/src/java/com/thoughtworks/xstream/core/DefaultConverterLookup.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]
xstream-benchmark/src/java/com/thoughtworks/xstream/tools/benchmark/model/SerializableFive.java
    uses deprecated method java/lang/Boolean::<init>(Z)V [java.9]
xstream/src/java/com/thoughtworks/xstream/mapper/AnnotationMapper.java
    Replace the type specification in this constructor call with the diamond operator ("<>"). [squid:S2293]

Also-by: Stephen Davidson <[email protected]>
Signed-off-by: Honor Systems Updater Jenkins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants