-
Notifications
You must be signed in to change notification settings - Fork 18
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
Upgrade to Java 11 [HZ-3617] #289
Conversation
.gitattributes
Outdated
# linux line-endings | ||
* text eol=lf |
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.
This doesn't seem to be correct. Why force all files to be text? And why not allow git to convert text files to platform-specific line endings?
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.
I thought having explicit configuration instead of relying on the user's git configuration would be better. User may not have configured his git for automatic line ending.
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.
I still think this is wrong. Windows users will see the sources with wrong file-endings in their working tree. At least it's how I understand the explanation in https://git-scm.com/docs/gitattributes
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.
reverted : de8569b
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.
Mostly LGTM.
SqlResult sqlResult = member.getSql() | ||
.execute("create view emp_dept_view as select * from emp join dept on emp.age=dept.__key"); | ||
sqlResult.close(); | ||
Connection connection = DriverManager.getConnection(JDBC_HAZELCAST_LOCALHOST); |
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.
Where is this connection closed?
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.
rev : 9a6f973
.gitattributes
Outdated
# linux line-endings | ||
* text eol=lf |
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.
I still think this is wrong. Windows users will see the sources with wrong file-endings in their working tree. At least it's how I understand the explanation in https://git-scm.com/docs/gitattributes
@kwart I have reverted .gitattributes file |
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.
One more legacy config caught my eye in POM files.
Co-authored-by: Josef Cacek <[email protected]>
Co-authored-by: Josef Cacek <[email protected]>
@kwart applied suggested maven compiler changes |
<dependency> | ||
<groupId>org.junit.platform</groupId> | ||
<artifactId>junit-platform-commons</artifactId> | ||
<artifactId>junit-jupiter</artifactId> |
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.
👍
Upgrade to Java 11
Upgrade various maven plugins
Upgrade Mockio version
Upgrade Jupiter version
Fix warnings in unit tests
Jira : https://hazelcast.atlassian.net/browse/HZ-3617