You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2009/01/19 07:52:59 UTC

[jira] Updated: (SLING-825) impossible to debug servlet code due to incorrect sourceFile atribute of generated class file

     [ https://issues.apache.org/jira/browse/SLING-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler updated SLING-825:
-----------------------------------

    Fix Version/s: Scripting Java 2.0.0
         Assignee: Carsten Ziegeler

> 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.