Skip to content

Commit

Permalink
[infer][Java] temporarily catching the Invalid_argument exception rai…
Browse files Browse the repository at this point in the history
…sed by classname with $$ in the name
  • Loading branch information
jeremydubreil committed Jun 12, 2015
1 parent ee3f88a commit 4526ada
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions infer/src/java/jClasspath.ml
Expand Up @@ -106,6 +106,7 @@ let load_sources_and_classes () =
with
| JBasics.Class_structure_error _
| Parsing.Parse_error
| Invalid_argument _
| Failure "lexing: empty token" -> loop paths roots sources classes
| End_of_file ->
close_in file_in;
Expand Down
2 changes: 2 additions & 0 deletions infer/tests/codetoanalyze/java/infer/SomeLibrary.java
Expand Up @@ -2,6 +2,8 @@

public class SomeLibrary {

class $$Z {}

T t;

T get() {
Expand Down

0 comments on commit 4526ada

Please sign in to comment.