Re: advice on android-framework-23

2019-01-30 Thread seamlik
Doclava is for generating the source of `android.jar`, which is just stubs of all Android API. Until we find other ways to generate the source, we can't replace it yet. Doclava is another mess, by the way. The latest version fails to generate compileable code so we have to keep using the old ve

Re: advice on android-framework-23

2019-01-27 Thread Hans-Christoph Steiner
Emmanuel Bourg: > Le 27/01/2019 à 22:52, Hans-Christoph Steiner a écrit : > >> The call that is crashing out with all those errors is the doclava call. >> I think there needs to be a --patch-module option to java when running >> doclava, but I'm not sure what the path arg for --patch-module sh

Re: advice on android-framework-23

2019-01-27 Thread Emmanuel Bourg
Le 27/01/2019 à 22:52, Hans-Christoph Steiner a écrit : > The call that is crashing out with all those errors is the doclava call. > I think there needs to be a --patch-module option to java when running > doclava, but I'm not sure what the path arg for --patch-module should be > there. doclava?

Re: advice on android-framework-23

2019-01-27 Thread Hans-Christoph Steiner
Hans-Christoph Steiner: > > > Emmanuel Bourg: >> Le 27/01/2019 à 21:12, Hans-Christoph Steiner a écrit : >> >>> I have been building with these options in gradle: >>> >>> sourceCompatibility = 1.8 >>> targetCompatibility = 1.8 >>> >>> And that doesn't solve the problem of the new "patch mo

Re: advice on android-framework-23

2019-01-27 Thread Hans-Christoph Steiner
Emmanuel Bourg: > Le 27/01/2019 à 21:12, Hans-Christoph Steiner a écrit : > >> I have been building with these options in gradle: >> >> sourceCompatibility = 1.8 >> targetCompatibility = 1.8 >> >> And that doesn't solve the problem of the new "patch module" stuff added >> in Java9. That mea

Re: advice on android-framework-23

2019-01-27 Thread Emmanuel Bourg
Le 27/01/2019 à 21:12, Hans-Christoph Steiner a écrit : > I have been building with these options in gradle: > > sourceCompatibility = 1.8 > targetCompatibility = 1.8 > > And that doesn't solve the problem of the new "patch module" stuff added > in Java9. That means you have to do some extr

Re: advice on android-framework-23

2019-01-27 Thread Hans-Christoph Steiner
Thorsten Glaser: > On Sun, 27 Jan 2019, Hans-Christoph Steiner wrote: > >> android-framework-23 doesn't work with Java 9+, but will build with Java >> 8. But that would make it the only package in buster that needs java8. >> So no go. Building with default-jdk runs into this new Java "module"

Re: advice on android-framework-23

2019-01-27 Thread Thorsten Glaser
On Sun, 27 Jan 2019, Hans-Christoph Steiner wrote: > android-framework-23 doesn't work with Java 9+, but will build with Java > 8. But that would make it the only package in buster that needs java8. > So no go. Building with default-jdk runs into this new Java "module" Building with -source 8 -

advice on android-framework-23

2019-01-27 Thread Hans-Christoph Steiner
Hey Java Team! We're trying to get some version of the android-framework-2x into buster, and it is a struggle. Since y'all have helped with this package before, and know lots about packaging Java, I'm asking for some advice. seamlik, cdesai, and I are stumped. I did apply some upstream patches