impossible to debug servlet code due to incorrect sourceFile atribute of 
generated class file
---------------------------------------------------------------------------------------------

                 Key: SLING-825
                 URL: https://issues.apache.org/jira/browse/SLING-825
             Project: Sling
          Issue Type: Bug
          Components: Scripting Java
            Reporter: Stefan Guggisberg


assume the following servlet source file in content:

/apps/foo/bar.png.java

this resource declares the java class "bar_png.java" in the package "foo".

the resulting class file's sourceFile attribute returns ".foo.bar_png.java",
i.e. it is prefixed by a dot and the package. furthermore all but the last 
dot in the resource name are replaced by underscores.

in order for java debuggers being able to debug such classes the sourceFile 
attribute should just return the name of the compilation unit, i.e. 
"bar.png.java".



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to