Skip to content
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

all user string input should be validated #203

Open
astubbs opened this issue Jul 30, 2021 · 0 comments
Open

all user string input should be validated #203

astubbs opened this issue Jul 30, 2021 · 0 comments

Comments

@astubbs
Copy link

astubbs commented Jul 30, 2021

java.lang.IllegalArgumentException
	at org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.AST.newName(AST.java:2420)
	at org.jboss.forge.roaster.model.impl.JavaSourceImpl.setPackage(JavaSourceImpl.java:625)
	at org.jboss.forge.roaster.model.impl.JavaSourceImpl.setPackage(JavaSourceImpl.java:53)

setPackage should do a notBlank check on user input and throw contextual exception (same for all user input methods)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant