-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.spotbugs-exclude.xml
More file actions
32 lines (30 loc) · 1.03 KB
/
.spotbugs-exclude.xml
File metadata and controls
32 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter>
<!-- Minecraft mods never run with a SecurityManager, so this is pointless. -->
<Bug pattern="DP_CREATE_CLASSLOADER_INSIDE_DO_PRIVILEGED"/>
<!--
The byte[] binary is provided to the Compile constructor by code that does
not hold onto it any longer. It is safe, and more efficient, to not bother
cloning it.
-->
<And>
<Bug pattern="EI_EXPOSE_REP2"/>
<Class name="ca.chead.ocwasm.state.Compile"/>
<Method name="<init>"/>
</And>
<!--
The enableDebug and enableSyscallExceptionTraceDump fields in OCWasmConfig
are public static but not final. They must not be final because they can be
changed by the Forge config framework when the user edits config settings.
-->
<And>
<Bug pattern="MS_SHOULD_BE_FINAL"/>
<Class name="ca.chead.ocwasm.OCWasm$OCWasmConfig"/>
<Field name="enableDebug"/>
</And>
<And>
<Bug pattern="MS_SHOULD_BE_FINAL"/>
<Class name="ca.chead.ocwasm.OCWasm$OCWasmConfig"/>
<Field name="enableSyscallExceptionTraceDump"/>
</And>
</FindBugsFilter>