You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2012/10/23 12:03:12 UTC
[jira] [Commented] (SLING-1732) Scripted java servlets contain
incorrect debug information
[ https://issues.apache.org/jira/browse/SLING-1732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482242#comment-13482242 ]
Justin Edelson commented on SLING-1732:
---------------------------------------
fixed in r1401229
> Scripted java servlets contain incorrect debug information
> ----------------------------------------------------------
>
> Key: SLING-1732
> URL: https://issues.apache.org/jira/browse/SLING-1732
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting Java 1.0.0
> Reporter: Stefan Guggisberg
> Assignee: Justin Edelson
> Fix For: Scripting Java 2.0.8, Commons Compiler 2.0.8
>
>
> it's currently impossible to debug scripted java servlets because of incompatible source file/java class names.
> an example:
> an in-content java source file "/apps/foo/img.GET.java" declares the java class "apps.foo.img_GET".
> the 'source file' debug attribute of the generated .class file has the value "img_GET.java" instead
> of "img.GET.java".
> as a result, the source file is not found/displayed when a breakpoint is hit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira