-
Notifications
You must be signed in to change notification settings - Fork 174
Fix the project's build errors in JDK 9/10 #178
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
Conversation
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
<profile> | ||
<id>default-tools.jar</id> | ||
<activation> | ||
<jdk>(,9)</jdk> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
* 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")) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Fixed.
8612e74
Signed-off-by: Jinbo Wang jinbwan@microsoft.com
Fix the issue #145.