-
Notifications
You must be signed in to change notification settings - Fork 7
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
specimin faces MethodAmbiguityException when running on issue jdk-8269121 #77
Comments
Hi, I could not reproduce the bug. Here is the exception message I got with the your command:
|
Unrelated to this issue, I received the same exception earlier when running ASHE against itself. Is this due to
Please let me know if you find the answer. Thanks! |
Hi, I could not find any online information regarding this behavior of JavaParser. When I tried a newer version of JavaParser, Specimin could not be compiled. Maybe @tahiat could help since he did not seem to experience this behavior of JavaParser. |
@jonathan-m-phillips is correct: JavaParser does not support records: javaparser/javaparser#3556 I don't think there's much that we can do about this, unfortunately. If we can do so easily, it would be great to catch the exception and throw one of our own that tells the user:
|
Command:
./gradlew run --args='--outputDirectory "../ISSUES/jdk-8269121/output/" --root "../ISSUES/jdk-8269121/input/TypeInferenceBugOfMethodReferences/src/main/java/" --targetFile "net/mirwaldt/bug/Main.java" --targetFile "net/mirwaldt/bug/Interpreter.java" --targetFile "net/mirwaldt/bug/MyFact.java" --targetFile "net/mirwaldt/bug/DummyInterpreter.java" --targetMethod "net.mirwaldt.bug.Main#main(String[])"'
Exception:
Project
[drive link](https://drive.google.com/file/d/1YC8RofTmDXWGmWOB9Y1zKWtTH72GNck3/view?usp=sharing)
or[github](https://github.com/mmirwaldt/TypeInferenceBugOfMethodReferences/)
The text was updated successfully, but these errors were encountered: