#819785 openjdk-8-jre-headless: Debug information missing in JRE jars

Package:
openjdk-8-jre-headless
Source:
openjdk-8
Description:
OpenJDK Java runtime, using Hotspot JIT (headless)
Submitter:
Christian Haul
Date:
2022-03-28 20:15:02 UTC
Severity:
normal
Tags:
#819785#5
Date:
2016-04-02 09:08:33 UTC
From:
To:
Dear Maintainer,

I have just discovered that stepping into JRE classes with a debugger does not
allow inspecting variable states, the debugger complains that classes are built
without "-g" option.

I cannot confirm when this started - I only debug into system classes
occasionally. However, for me, absense of this information strongly limits the
ability to seriously develop java code with this package.

javap -l shows some information but it does not show the variable tables.

My best guess is, that classes were compiled with "-g:lines" instead of "-g" or
-g:lines,vars"

I'm using Netbeans 8.1 debugger.

TIA.

Chris.

#819785#10
Date:
2016-08-11 07:28:28 UTC
From:
To:
Hi Chris,



I had a look at this issue.



I could reproduce the issue with NetBeans IDE 8.1 and openjdk version 1.8.0_91 on Ubuntu 16.04 also.



But system class variables can successfully debugged using "jdb" (Debugger shipped withJDK).  ( I tried with Debian builds on arm machine).

So at first look it doesn't seem JDK issue.



I further tried to debug with Netbeans IDE 8.1 and could find a workaround to debug system class variables
Please use "Debug -> Evaluate Expression (Ctrl + F9)"



That suggests that it can be issue with NetBeans itself.



I am looking into it deeper and will keep you posted.



Regards,

Alok

#819785#15
Date:
2019-03-30 19:21:38 UTC
From:
To:
Dear submitter,

as the package openjdk-8 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/915620

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

#819785#28
Date:
2021-06-14 22:32:18 UTC
From:
To:
found 819785 8u292-b10-1
tags 819785 + upstream
thanks

They are built without any -g option. Some (jaxp, for example) use -g
but not all. Looking at jdk/make/Setup.gmk, from jdk.tar.xz, the calls
of the SetupJavaCompiler macro are all missing -g from FLAGS. The CORBA
stuff is also built without it.

There’s no single variable used by all of them where we could just add
-g so this… is going to be tricky. Ideally, you’d ask upstream to change
this for the next 8u? Is this possible?

Thanks,
//mirabilos

#819785#41
Date:
2022-03-11 21:53:06 UTC
From:
To:
*Vous avez besoin d'un prêt pour votre entreprise, besoin d'un prêt rapide
pour régler vos factures, pour un usage personnel ? Notre offre propose des
prêts avec un faible taux d'intérêt de 3%. Avez-vous pensé à contracter un
prêt ? Vous avez probablement été rejeté par votre banque locale ? Veuillez
répondre pour plus d'informations: guarantycreditloanunion@aol.com
<guarantycreditloanunion@aol.com>*

#819785#48
Date:
2022-03-28 14:42:28 UTC
From:
To:
*Avez-vous besoin de financement? Avez-vous besoin d'un prêt pour des
besoins professionnels ou personnels? Nous proposons tous les types de
prêts aux particuliers ou aux entreprises, quel que soit votre pointage de
crédit actuel. Pour plus d'informations, n'hésitez pas à nous contacter par
e-mail : guarantycreditloans@aol.com <guarantycreditloans@aol.com> pour
plus d'informations.*

*Merci pour votre temps, nous nous réjouissons d'accorder votre crédit en
ligne.*
*COPYRIGHT 2022 (R).*