-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Java 10 support #1660
Java 10 support #1660
Conversation
@initCCG: With Java 10, Thai now renders fine! 😄 |
@cbeam I don't know why the release build worked for me when I tested the mono repo branch, but now while testing my Java 10 build I saw that running
I guess it is something obvious if you know how to gradle 😉 - Do you know what I have to configure differently in the build.gradle file of desktop? |
@ripcurlx, it's not something I've seen before, and I don't have time now to install JDK 10 and investigate personally. I found this: https://stackoverflow.com/questions/42929841/app-declares-a-dependency-from-configuration-compile-to-configuration-default#44457269, but it doesn't provide much insight to me on first read. I would just start winding back commits (you only have half a dozen or so on that branch) and see where the trouble crept in. Let me know and when I have time later (i.e. tomorrow), I can take a look. Would like to get JDK 10 installed anyway. |
@cbeams The problem is that I see now the same problem in master with Java 8 as well. I don't know why it worked for me before. Still |
Confirmed. Same here. This is one of those "improvements we can make after the merge" that I mentioned. I'll patch it up soon. In the meantime, you can run |
@cbeams Seems to work - thanks! Added a temporary workaround in create_app.sh for now. |
@cbeams @ManfredKarrer The good thing with Java 10 is that it supports strong cyphers by default, so there is one workaround less. The bad thing is, that they dropped the extension mechanism, we used for BouncyCastle (https://docs.oracle.com/javase/10/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B). Unfortunately I haven't figured it out how to include the BC jar otherwise in our release build. Any ideas are highly appreciated :-) |
I liked into this for a few mins when you first sent it, searching, checking BC issue tracker, etc, and didn’t see anything (surprisingly, given this change was actually made in jdk 9). Will be busy for a while now but will try to look again later today.
… On Sep 12, 2018, at 12:44 PM, Christoph Atteneder ***@***.***> wrote:
@cbeams @ManfredKarrer The good thing with Java 10 is that it supports strong cyphers by default, so there is one workaround less. The bad thing is, that they dropped the extension mechanism, we used for BouncyCastle (https://docs.oracle.com/javase/10/migrate/toc.htm#JSMIG-GUID-2C896CA8-927C-4381-A737-B1D81D964B7B). Unfortunately I haven't figured it out how to include the BC jar otherwise in our release build. Any ideas are highly appreciated :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@ManfredKarrer Thanks! If the BC issue is solved this branch is ready for merge. |
…iguration of fontawesomefx library
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.
utACK. I'd like to properly test it locally against JDK 10 locally, but I still don't have it installed and want to get back about this quickly.
Nit: it would be good to extract the often-duplicated value
assigned to @PowerMockIgnore
annotations into a static
String[] somewhere with a comment as to why it's necessary.
I wouldn't merge this without at least a couple proper ACKs, ideally across OSes. Again, just wanted to report I've looked through this and don't see anything obviously wrong.
@ripcurlx Maybe we need to update Guice? |
Just tried Guice v 4.2 but same warning. |
Seems it is a groovy issue (used in Gradle): |
@ripcurlx Should be:
Beside that all works for me. So as soon that is fixed I can give a ACK. Here is a patch:
|
@ripcurlx |
public void updateWithCurrencies(List<TradeCurrency> currencies, @Nullable CurrencyListItem first) { | ||
List<CurrencyListItem> result = Lists.newLinkedList(); | ||
Optional.ofNullable(first).ifPresent(result::add); | ||
result.addAll(getPartitionedSortedItems(currencies)); | ||
setAll(result); | ||
delegate.addAll(result); |
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.
To have the same behaviour as before (setAll) we should add a clear() before the addAll.
Here another nit patch:
|
I did some smoke tests between old version and java 10 version and all worked. |
@ManfredKarrer I applied your suggestions, but I have a question regarding the Status Indicator. Actually besides extending a different base class the only thing I need to change was in the constructor to replace
with
as |
@cbeams As I'm only able to replace primitives in annotations the best I could do would be something like:
and use it like that: |
@ripcurlx From my side that PR can be merged. Not sure if you want to wait for more reviewers. I just got build problems with the current master, so maybe its better to get that merged soon, to get those setup changes completed? |
@ManfredKarrer I only tried it on macOS High Sierra (10.13+) with Java 10.0.1 and macOS El Capitan (10.11+) with Java 10.0.2. With what configuration did you run the test? |
I tested with 10.12.6 (Sierra) and java 10.0.2. |
Also tested now on Ubuntu 16.0.4 with Java 10.0.2 |
ACK to the latest changes db17991 |
As discussed with @ripcurlx I will merge now. He tested also successfully on the VMs. |
I've started to adapt the current mono repository to support Java 10.
The current state of this branch is, that
gradle build
runs and you can launch the app from IDEA.Still there are a couple of things left, where help is wanted (see check list)
Release Build