Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Scripting Java 2.0.0
-
None
Description
If you have a java servlet on a path that contains a hyphen, the java script engine does not escape it properly.
eg:
servlet on: /apps/myproject/components/my-component/img.png.java,
the package should be "apps.myproject.components.my_components"
class name: "img_png"
but when compiling it reports:
Compilation errors in
/apps/geometrixx/myproject/my-component/img.png.java:
Line 13, column 415 : The declared package
"apps.myproject.components.my_component" does not match the expected package
"apps.myproject.components.my-component"