eclipse-ee4j / eclipse-ee4j/wasp

JspC.setJspFiles() uses space as a delimiter

Open
#17 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
8
Forks
11
PR merge metrics
No merged PRs in 30d

Description

This issue was opened and fixed in the Tomcat Jasper compiler.

"According to its comment, setJspFiles() takes a comma-separated list of files,
but the StringTokenizer it uses separates by comma or space:
StringTokenizer tok = new StringTokenizer(jspFiles, " ,");

Either the space should be removed from " ," (my preference, to allow filenames
with spaces), or the comment should be fixed."

From [https://issues.apache.org/bugzilla/show_bug.cgi?id=37746](https://issues.apache.org/bugzilla/show_bug.cgi?id=37746)
#### Affected Versions
[current]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.