8000 Fix the project's build errors in JDK 9/10 by testforstephen · Pull Request #178 · microsoft/java-debug · GitHub
[go: up one dir, main page]

Skip to content

Fix the project's build errors in JDK 9/10#178

Merged
testforstephen merged 2 commits intomasterfrom
jinbo_build
May 23, 2018
Merged

Fix the project's build errors in JDK 9/10#178
testforstephen merged 2 commits intomasterfrom
jinbo_build

Conversation

@testforstephen
Copy link
Contributor

Signed-off-by: Jinbo Wang jinbwan@microsoft.com

Fix the issue #145.

Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
andxu
andxu previously approved these changes May 23, 2018
akaroml
akaroml previously approved these changes May 23, 2018
<profile>
<id>default-tools.jar</id>
<activation>
<jdk>(,9)</jdk>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

9 is not official supported by Oracle. Just start with 10 is okay.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It represents the range < 9

yaohaizh
yaohaizh previously approved these changes May 23, 2018
* This fix is only for the JDI implementation by JDK. Other JDI implementations (such as JDT) doesn't have the impact.
*/
for (LaunchingConnector con : connectors) {
if (con.getClass().getName().equals("com.sun.tools.jdi.SunCommandLineLauncher")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the string final static value as the other values.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Fixed.

@testforstephen testforstephen dismissed stale reviews from yaohaizh, akaroml, and andxu via 8612e74 May 23, 2018 08:13
@testforstephen testforstephen merged commit 3a3c2d0 into master May 23, 2018
@testforstephen testforstephen deleted the jinbo_build branch May 23, 2018 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0