Fix gud parsing of empty jdb classpaths
* lisp/progmodes/gud.el (gud-jdb-marker-filter): Parse empty classpaths (like classpath: []) correctly (bug#55957).
This commit is contained in:
parent
3e74cf6516
commit
bea90d8de2
1 changed files with 1 additions and 1 deletions
|
@ -2460,7 +2460,7 @@ during jdb initialization depending on the value of
|
|||
;; not supported/followed)
|
||||
(if (and gud-jdb-use-classpath
|
||||
(not gud-jdb-classpath-string)
|
||||
(or (string-match "classpath:[ \t[]+\\([^]]+\\)" gud-marker-acc)
|
||||
(or (string-match "classpath:[ \t[]+\\([^]]*\\)" gud-marker-acc)
|
||||
(string-match "-classpath[ \t\"]+\\([^ \"]+\\)" gud-marker-acc)))
|
||||
(setq gud-jdb-classpath
|
||||
(gud-jdb-parse-classpath-string
|
||||
|
|
Loading…
Add table
Reference in a new issue