Skip to content

NumberFormatException thrown by ErrorProne parser #96

Description

@djh82

Following error was thrown:

java.lang.NumberFormatException: For input string: "none -target 1.8 -source 1.8 -g"

It seems odd that the regex used by GoogleErrorProneParser doesn't enforce that capture group 5 is a number, since it immediately tries to call Integer.parseInt on it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions