flesner <notificati...@github.com> writes:

> it appears that checkin a3f95b051e430c27f00dc17e3c995cbdf71807bb broke
> the javadoc helper classes. 

Sorry, that was me. I didn't test very thoroughly (I'll get around to
adding more tests soon).

I can reproduce the problem; on a source line:

   Context context;

with point on Context, M-x java-help-class hits this error.

It appears the problem is this line in jde-open-source.el
jde-choose-class:

    (setq classes (sort classes 'sort-helper))

Apparently trying to reference (as opposed to call) a symbol that is
defined with cl-flet doesn't work.

I changed it use plain 'let', with 'lambda'. Now it works.

Fixed in a7f2d569b6a005c9ad227d5f70629558f32246c, merged and pushed in
0222cd7744499aeb6f29cb7c628f477d4a8c0b4 

> my current stack trace:
>
> Debugger entered--Lisp error: (void-function sort-helper)
>   sort-helper("org.apache.commons.httpclient.HttpClient"
> "twitter4j.internal.http.HttpClient")
>   sort(("sun.net.www.http.HttpClient") sort-helper)
>   jde-choose-class(("sun.net.www.http.HttpClient") "Select qualified
> class" #("HttpClient" 0 9 (fontified t face font-lock-type-face) 9 10
> (fontified t c-type c-decl-id-start face font-lock-type-face)) nil)
>   jde-read-class()
>   (list (jde-read-class))
>   call-interactively(jde-help-class record nil)
>   command-execute(jde-help-class record)
>   execute-extended-command(nil "jde-help-class")
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)
>
> i'm using emacs 24.5.1
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/jdee-emacs/jdee/issues/10
>

-- 
-- Stephe

------------------------------------------------------------------------------
_______________________________________________
jdee-devel mailing list
jdee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jdee-devel

Reply via email to