Changeset 18723 in josm for trunk/tools/spotbugs


Ignore:
Timestamp:
2023-05-10T19:18:54+02:00 (21 months ago)
Author:
taylor.smock
Message:

Fix #22432, see #22941: Start migrating from javax to jakarta

Parsson was split out from the JSONP repository in 2021 (see
https://github.com/jakartaee/jsonp-api/issues/285 ). It is the default provider,
and will "just work" without additional configuration.

Many plugins use javax.json, so the scheduled removal of the javax.json
dependencies is set to milestone:"24.12" (see #22941).

Changes between javax.json and jakarta.json 2.0:

  • Rename of javax.json to jakarta.json
  • Some additional bug fixes

This will enable us to move easily to jakarta.json 2.1 in the future.
The changes of note with 2.1 includes:

  • Better handling of duplicated keys
  • Additional APIs around primitive types
  • API to get current event from JsonParser

We cannot currently move to jakarta.json 2.1 since it requires Java 11+.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/spotbugs/josm-filter.xml

    r18339 r18723  
    5757    </Match>
    5858    <Match>
     59        <Class name="~jakarta.json.*" />
     60    </Match>
     61    <Match>
    5962        <Class name="~javax.json.*" />
    6063    </Match>
     
    6467    <Match>
    6568        <Class name="~org.apache.*" />
     69    </Match>
     70    <Match>
     71        <Class name="~org.eclipse.parsson.*" />
    6672    </Match>
    6773    <Match>
Note: See TracChangeset for help on using the changeset viewer.