-
-
Notifications
You must be signed in to change notification settings - Fork 355
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
Wrong javax import statement causing compilation error #3320
Comments
Would you have a failing test case that reproduces the bug? Thanks!
|
gibahjoe
added a commit
to gibahjoe/spoon
that referenced
this issue
Apr 12, 2020
check #3323 Its not a failing testcase, just take a look at the generated source file |
any update? |
not yet: no message on Github = no update for sake of time constraints, sorry.
What about giving it a try and laucnhing a debugger on your own?
|
I am happy to try. If you could point me to where the imports are being generated. or anything related |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
thank you for this great tool.
The generated code for a class that declares a javax validation annotation on its parameter has wrong import statement which causes compile time errors. This only seems to be an issue with javax annotations such as @Valid and @NotNull
for a declaration of
The import generated is
instead of
this is related to issue #1773 and #1774
Tested on Spoon 8.1.0 and 8.2.0-beta2 running java 8
My launcher config is
The text was updated successfully, but these errors were encountered: