New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK-8266877: Missing local debug information when debugging JEP-330 #3939
JDK-8266877: Missing local debug information when debugging JEP-330 #3939
Conversation
/label add compiler |
Hi @JaroslavTulach, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user JaroslavTulach" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
@AlanBateman |
@JaroslavTulach, I've added your GitHub account to the set of verified accounts for OpenJDK. |
@JaroslavTulach This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 199 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@AlanBateman) but any other Committer may sponsor as well.
|
/csr |
@jonathan-gibbons this pull request will not be integrated until the CSR request JDK-8266882 for issue JDK-8266877 has been approved. |
@JaroslavTulach usage: |
/integrate |
@JaroslavTulach |
/sponsor |
@jonathan-gibbons @JaroslavTulach Since your change was applied there have been 273 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 6eb9114. |
I am polishing support for JEP-330 in NetBeans (PR-2938) and I have problems with debugging. Local variables aren't visible as the compiler doesn't pass
-g
option when compiling the main class. I'd like to seehowever, that requires one to pass
-g
option to the compiler somehow. As far as I can say there is no such way and hence I decided to create this pull request. If I invoke:it detects JDWP is on and adds
-g
to the compiler arguments. Is this an acceptable improvement? The alternative is to avoid using JEP-330 when debugging and rather generate.class
by invokingjavac
and then run it as usual, but I'd rather rely on JEP-330 and avoid creation of the.class
file.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/3939/head:pull/3939
$ git checkout pull/3939
Update a local copy of the PR:
$ git checkout pull/3939
$ git pull https://git.openjdk.java.net/jdk pull/3939/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 3939
View PR using the GUI difftool:
$ git pr show -t 3939
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/3939.diff