From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: pva-outdoor@yandex.ru Newsgroups: gmane.emacs.bugs Subject: bug#55957: 29.0.50; Jdb incorrectly parses empty classpath Date: Tue, 14 Jun 2022 14:34:31 +0500 Message-ID: <87o7yvio60.fsf@perm05-pva.itgroup.local.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36639"; mail-complaints-to="usenet@ciao.gmane.io" To: 55957@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 14 11:43:38 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o135G-0009Pc-1c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jun 2022 11:43:38 +0200 Original-Received: from localhost ([::1]:37474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o135B-0002Kd-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 14 Jun 2022 05:43:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o12ww-0001a3-7e for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 05:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o12wv-0007V2-Uw for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 05:35:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o12wv-0002Ri-Ph for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 05:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: pva-outdoor@yandex.ru Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 14 Jun 2022 09:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55957 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16551992779364 (code B ref -1); Tue, 14 Jun 2022 09:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jun 2022 09:34:37 +0000 Original-Received: from localhost ([127.0.0.1]:32924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o12wW-0002Qy-Rj for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:34:37 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:59422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o12wU-0002Qp-Od for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:34:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o12wU-0001Aa-CO for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 05:34:34 -0400 Original-Received: from forward107j.mail.yandex.net ([2a02:6b8:0:801:2::252]:53022) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o12wQ-0007OS-PK for bug-gnu-emacs@gnu.org; Tue, 14 Jun 2022 05:34:34 -0400 Original-Received: from myt5-c4b663bd17ea.qloud-c.yandex.net (myt5-c4b663bd17ea.qloud-c.yandex.net [IPv6:2a02:6b8:c12:2d2e:0:640:c4b6:63bd]) by forward107j.mail.yandex.net (Yandex) with ESMTP id CC1D288765E for ; Tue, 14 Jun 2022 12:33:17 +0300 (MSK) Original-Received: from myt6-efff10c3476a.qloud-c.yandex.net (myt6-efff10c3476a.qloud-c.yandex.net [2a02:6b8:c12:13a3:0:640:efff:10c3]) by myt5-c4b663bd17ea.qloud-c.yandex.net (mxback/Yandex) with ESMTP id QQUC0r2dXA-XHg4rabM; Tue, 14 Jun 2022 12:33:17 +0300 X-Yandex-Fwd: 2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1655199197; bh=dA0ftaxUDFtLvlsMJDkJcUMfRYMpAMGS34DkdQf4VQI=; h=Date:Subject:To:From:Message-ID; b=FN5tUde61VS7UFXA+mmSb+xaEY769x1EM6J9DaOoC5ImdTiRK432qo3CaKh+WM7sJ q2T14Zqvkojm75S4Ma3Q0hA8EJD9aWigZ3eeUrEdaCiUtDTKklBXWzsVnUFcomioLE BRnQljFH+WJqaUFDIj+QLUy25lUCJA9FERyQap08= Authentication-Results: myt5-c4b663bd17ea.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by myt6-efff10c3476a.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id DTwStm2krO-XHMuL6jH; Tue, 14 Jun 2022 12:33:17 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received-SPF: pass client-ip=2a02:6b8:0:801:2::252; envelope-from=pva-outdoor@yandex.ru; helo=forward107j.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234465 Archived-At: 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))