ReactFX icon indicating copy to clipboard operation
ReactFX copied to clipboard

Name clash in Val on flatMap

Open buestad opened this issue 3 years ago • 2 comments

I get a compile error on Val.java on the default method flatMap

I am running OpenJDK 17 and eclipse 2022-09

image

buestad avatar Nov 01 '22 09:11 buestad

Changing ObservableValue<U> to ObservableValue<? extends U> on line 267 and 477 solves the issue. I also have to change FlatMapped.java line 12 and 63 to the same.

buestad avatar Nov 03 '22 08:11 buestad

Hi, I Had the same problem with OpenJDK Zulu 11.0.17 I have made the same modification and it works

Thanks for the tips @buestad

pillisan42 avatar Nov 04 '22 09:11 pillisan42