-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to detect exception class in try catch block #41
Comments
csoroiu
changed the title
Fail to detect exception class in empty try catch block
Fail to detect exception class in try catch block
Aug 8, 2017
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Aug 8, 2017
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Aug 8, 2017
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Jul 25, 2018
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Jul 25, 2018
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Jul 25, 2018
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Jul 25, 2018
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Aug 1, 2018
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Aug 1, 2018
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Feb 2, 2019
csoroiu
added a commit
to csoroiu/animal-sniffer
that referenced
this issue
Feb 2, 2019
olamy
pushed a commit
that referenced
this issue
Mar 3, 2019
fixed by #47 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I spotted 2 issues with
try...catch
blocks.As a context i am using master version and the java15/java16 as signatures.
java.lang.ReflectiveOperationException
is not present in java 5 & 6 for the code below.exception
variable, when compiled with java7 or 8, isjava.lang.ReflectiveOperationException
and the frame that is generated containsjava.lang.ReflectiveOperationException
on the stack. Same as above, there should be an error reported on line 5, asjava.lang.ReflectiveOperationException
is not present in java 5 & 6 for the code below. That particular exception was added in the middle of the hierarchy in Java 7.Both code block from above pass the check even if they should not.
I'll post a PR soon on this matter.
The text was updated successfully, but these errors were encountered: