-
Notifications
You must be signed in to change notification settings - Fork 147
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 Java8 #105
Comments
We'd like to be compatible with as wide a set of JDKs as possible. It wouldn't do much harm to drop support for 1.6 and 1.7, but neither (in my opinion) would it do a huge amount of good to allow Java 8 features (e.g. lambdas) in source code. But I am open to persuasion, if you feel otherwise... |
I was also thinking about moving to jline3 (I think not in 1.5.0) which requires java8. So besides java 8 features there could come jline3 features. |
How about we make one last release without jline3 (and continuing support for JDK 1.6 and 1.7), then merge this PR. We said we'd make a release in the first week of September, so we are due. |
Yes, I think it makes sense as people could get sqlline 1.5 related features for JDK 1.6, 1.7. |
I'm getting close to this (and I've retitled the commit to 'Upgrde to jline3, and add !rerun command'). See my scratch branch, 5468b5c. Tests pass on both Linux and Windows, but a lot of errors appear on stdout on Windows during tests:
Is there a solution? Do we need to tell people to install infocmp.exe or something? I added a WARNING about incompatible history file formats to the commit message. We will need to include that in the release notes. |
Also, how do I enable vi mode? |
about vi mode: So far I did not make any special (everything came with jline3). Unfortunately they do not have docs about it. However there is a well commented test where described supported features (usually keys with
for more detailed please have a look in comments inside
currently do not have access to Windows but do not remember such issue. Will try to check today when I'll have Windows by me. |
I just scheduled a Windows build with the mentioned commit 5468b5c at appveyor [1] and there are no such warnings for any of jdk8, 9, 10. [1] https://ci.appveyor.com/project/snuyanzin/sqlline/build/257 |
Fixed in bf495f9, PR #155. Thanks @snuyanzin! |
Regarding windows. I decided to commit anyway, and we can follow up later with bug-fixes (if necessary). There is plenty in this commit, and plenty that is working. (The control-R feature, to search back for multi-line commands is amazing.) |
Is there something that blocks upgrading to Java 8?
The text was updated successfully, but these errors were encountered: