source: josm/trunk/tools/spotbugs/josm-filter.xml

Last change on this file was 18723, checked in by taylor.smock, 15 months ago

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+.

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1<FindBugsFilter>
2
3 <Match>
4 <Bug pattern="DM_EXIT" />
5 </Match>
6 <Match>
7 <Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
8 </Match>
9 <Match>
10 <Bug pattern="EI_EXPOSE_REP" />
11 </Match>
12 <Match>
13 <Bug pattern="EI_EXPOSE_REP2" />
14 </Match>
15 <Match>
16 <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
17 </Match>
18 <Match>
19 <Bug pattern="IL_INFINITE_LOOP" />
20 </Match>
21 <Match>
22 <Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR" />
23 </Match>
24 <Match>
25 <Bug pattern="NM_CONFUSING" />
26 </Match>
27 <Match>
28 <Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
29 </Match>
30 <Match>
31 <Bug pattern="SE_BAD_FIELD" />
32 </Match>
33 <Match>
34 <Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED" />
35 </Match>
36 <Match>
37 <Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
38 </Match>
39 <Match>
40 <Bug pattern="UI_INHERITANCE_UNSAFE_GETRESOURCE" />
41 </Match>
42 <Match>
43 <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" />
44 </Match>
45
46 <Match>
47 <Bug pattern="SF_SWITCH_FALLTHROUGH" />
48 <Class name="org.openstreetmap.josm.data.projection.proj.AzimuthalEquidistant" />
49 </Match>
50 <Match>
51 <Bug pattern="UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD" />
52 <Class name="org.openstreetmap.josm.gui.tagging.presets.items.TextItem" />
53 </Match>
54
55 <Match>
56 <Class name="~com.*" />
57 </Match>
58 <Match>
59 <Class name="~jakarta.json.*" />
60 </Match>
61 <Match>
62 <Class name="~javax.json.*" />
63 </Match>
64 <Match>
65 <Class name="~oauth.signpost.*" />
66 </Match>
67 <Match>
68 <Class name="~org.apache.*" />
69 </Match>
70 <Match>
71 <Class name="~org.eclipse.parsson.*" />
72 </Match>
73 <Match>
74 <Class name="~org.glassfish.json.*" />
75 </Match>
76 <Match>
77 <Class name="~org.openstreetmap.gui.jmapviewer.*" />
78 </Match>
79 <Match>
80 <Class name="~org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.*" />
81 </Match>
82 <Match>
83 <Class name="~org.openstreetmap.josm.data.imagery.types.*" />
84 </Match>
85 <Match>
86 <Class name="~org.tukaani.*" />
87 </Match>
88 <Match>
89 <Class name="~org.w3._2001.xmlschema.*" />
90 </Match>
91
92</FindBugsFilter>
Note: See TracBrowser for help on using the repository browser.