8000 Reading bug filter file throws exception when constructor's parameter list contains an array · Issue #3203 · spotbugs/spotbugs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Reading bug filter file throws exception when constructor's parameter list contains an array #3203
Closed
@KFxSmurf

Description

@KFxSmurf

Using something like this matching node

<Match>
  <Method name="&lt;init&gt;"
          params="byte[], short, byte" />
  <Bug pattern="DM_EXIT" />
</Match>

leads to an exception complaining an "Unclosed character class" like this:

Exception in thread "AWT-EventQueue-0" java.util.regex.PatternSyntaxException: Unclosed character class near index 9
([BSB).*
^
at java.base/java.util.regex.Pattern.error(Pattern.java:2028)
at java.base/java.util.regex.Pattern.clazz(Pattern.java:2690)
[ . . . ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0