bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55957: 29.0.50; Jdb incorrectly parses empty classpath


From: pva-outdoor
Subject: bug#55957: 29.0.50; Jdb incorrectly parses empty classpath
Date: Tue, 14 Jun 2022 14:34:31 +0500

Hello, team!

Please take a look into gud.el function (gud-jdb-marker-filter):

 2461   (if (and gud-jdb-use-classpath
 2462            (not gud-jdb-classpath-string)
 2463            (or (string-match "classpath:[ \t[]+\\([^]]+\\)" 
gud-marker-acc)
                                              ^^^^^^^^^^^^^^^^^^               
 2464                (string-match "-classpath[ \t\"]+\\([^ \"]+\\)" 
gud-marker-acc)))
 
The highlighted regexp incorrectly matches the text:

Set deferred uncaught java.lang.Throwable
Initializing jdb ...
> base directory: /
classpath: []

The regexp captures opening `[' into (match-string 1). Possibly the regexp
may be corrected with "classpath:[ \t[]+\\([^]]*\\)" to avoid this.
                                              ^^^

Best regards,
Andrey Petrov.



In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo 
version 1.17.6)
 of 2022-06-09 built on perm05-pva.itgroup.local
Repository revision: 39d2efbfae1dc081258a764f3c47f5f492f38fec
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Arch Linux

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY
PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB

Important settings:
  value of $LANG: ru_RU.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  gdb-many-windows: t
  shell-dirtrack-mode: t
  electric-pair-mode: t
  display-time-mode: t
  windmove-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug re-builder rx gdb-mi bindat trace
vc-annotate vc jka-compr cl-print debug backtrace cus-start gud
find-func shortdoc help-fns radix-tree help-mode shell pcomplete dabbrev
vc-git diff-mode easy-mmode vc-dispatcher android thingatpt files-x
compile comint ansi-color ring rmailmm rmail cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs dired-aux
nndraft nnmh nnfolder utf-7 epa-file network-stream nsm misearch
multi-isearch gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp
gnus-cache gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom
gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int
gnus-range message sendmail yank-media rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mailabbrev gmm-utils mailheader gnus-win leuven-theme gnus nnheader
gnus-util text-property-search time-date mail-utils range mm-util
mail-prsvr wid-edit elec-pair time cus-load windmove info cl package
browse-url url url-proxy url-privacy url-expand url-methods url-history
url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json map url-vars seq gv subr-x byte-opt bytecomp
byte-compile cconv cl-loaddefs cl-lib cyril-util iso-transl tooltip
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
faces cus-face macroexp files window text-properties overlay sha1 md5
base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
emacs)

Memory information:
((conses 16 234515 47688)
 (symbols 48 21290 0)
 (strings 32 70588 2851)
 (string-bytes 1 2318862)
 (vectors 16 43168)
 (vector-slots 8 1091556 105943)
 (floats 8 305 349)
 (intervals 56 4214 200)
 (buffers 992 40))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]