[ https://issues.apache.org/jira/browse/SLING-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665051#action_12665051 ]
Carsten Ziegeler commented on SLING-825: ---------------------------------------- Hi Stefan, I've committed a patch in revision: 735621, could you please test this? > 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 > Assignee: Carsten Ziegeler > Fix For: Scripting Java 2.0.0 > > > 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.