The other thing that would be affected is debugging using a bytecode
debugger like Cursive's - that won't work without the debug info in the
bytecode. pack200 is usually something that you'd use for deployment
though, so perhaps this isn't a problem.

On 12 October 2017 at 23:39, Alex Miller <a...@puredanger.com> wrote:

> The SourceDebugExtension stuff is used (see JSR-45) to provide source code
> maps from the compiled classes back to the original source files, namely
> the source file name and the source file line numbers. This information
> appears in stack traces. Removing these debug extensions means you won't
> have source file names or line numbers in your stack traces for Clojure. As
> far as I know, there should be effects in how anything actually executes
> though.
>
> On Thursday, October 12, 2017 at 2:18:23 AM UTC-4, Nick Mudge wrote:
>>
>> Recently I needed to run pack200 on the clojure-1.8.0.jar
>>
>> When I did this I got an error that SourceDebugExtension is an unknown
>> class attribute.
>>
>> I got around this problem by removing all the SourceDebugExtension class
>> attributes from clojure-1.8.0.jar.
>>
>> Here are my questions:
>>
>> What is clojure using SourceDebugExtension for?   What are the possible
>> consequences or downsides from removing all the SourceDebugExtension class
>> attributes from clojure-1.8.0.jar?
>>
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to