Il ven 28 lug 2017, 19:54 Sijie Guo <[email protected]> ha scritto: > On Jul 28, 2017 7:34 AM, "Enrico Olivelli" <[email protected]> wrote: > > Hi all, > I'm back to tring to build and run BookKeeper on java9 > > recently we added extensive usage of java.uti.Observable and Observer. >
I have just found this good article https://dzone.com/articles/javas-observer-and-observable-are-deprecated-in-jd > This classes have been deprecated in java9 and the build fails, because we > forbid the usage of deprecated APIs. > > These classes are not used on client API but only on Bookie, so I think > that in 4.6 we can switch them with other internal classes. > > Thoughts ? > > > what are the replacements for Observable and Observer in java9? > > regardless, I think we should support java8. if we can't find a good > replacement, we can remove '-Werror' from compiler settings. > It would be good, as I think that classes will not be dropped soon. We need to pay attention not to use them in public APIs Enrico > - Sijie > > > > > Enrico > -- -- Enrico Olivelli
