Created
March 7, 2016 03:14
-
-
Save emopers/e75ddb58e73bacb5612a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Unneccessary property## | |
Long_BadParsingArgs property (http://goo.gl/F6ygPN) would trigger violations if a String passed into Long.parseLong() | |
is not valid for representing a Long value. JVM will throw NumberFormatException upon receiving an invalid input, | |
which is exactly the same thing as what this property does. This property does not provide more useful debugging | |
information than JVM exception itself, nor does it provide insight into the prevention of such Exception. For all the | |
violations we got from monitoring with this property on 200 open source projects with passing tests are false alarm, | |
for which the Exceptions thrown by JVM are used to recognize the validity of inputs and well handled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Abandoned.