-
Notifications
You must be signed in to change notification settings - Fork 6
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
update to JavaSE-11 #32
Conversation
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
@@ -518,7 +518,7 @@ public Message reqObjectProperties(int objectType, int objectNum, int direction, | |||
.build(); | |||
Message msg = sendAndReceive(reqObjectProperties); | |||
if (msg.getMessageType() != Message.MESG_TYPE_OBJ_PROP | |||
&& msg.getMessageType() != Message.MESG_TYPE_END_OF_DATA) { | |||
|| msg.getMessageType() != Message.MESG_TYPE_END_OF_DATA) { |
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.
Can you explain what the issue is here ? This code has been around for a very long time and i'm trying to understand what this is fixing, and why it has not shown up before.
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.
nm, i see the original code does make sense at all, i'm not sure why this never bubbled up as an issue before, strange.
so these changes break the library for me, when i try running the basic example from the README , i get the following error, running master does not have the error:
|
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
@digitaldan I figured it out, apparently your original code was correct because of the way java boolean logic works. I have reverted those changes and it appears to be working now. As a result this PR essentially only upgrades the JavaSE version to 11. |
LGTM, thanks. |
Signed-off-by: Ethan Dye mrtops03@gmail.com