Re: F21 System Wide Change: Headless Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> From: "Nicolas Mailhot" <nicolas.mailhot@xxxxxxxxxxx>
> To: "Development discussions related to Fedora" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
> Sent: Saturday, November 16, 2013 2:51:08 AM
> Subject: Re: F21 System Wide Change: Headless Java
> 
> 
> Le Sam 16 novembre 2013 10:13, Richard W.M. Jones a écrit :
> 
> > Wouldn't it be better to inspect the *.class files to find out what
> > other classes they depend on.  Then you could have automatically
> > generated Perl-style dependencies like:
> >
> >   Requires: java(java.net.URL)
> 
> I'm pretty sure that depends on the jvm modularization work which has been
> repeatedly delayed upstream
> 

Well, in theory it would be possible to implement automated provides
and requires w/o jdk modularization, but likely there would be a lot
of effort that would go out the window once we do have a modular jdk.
Also, any future auto provides/requires are much more likely to be at
the module level, not the class level, as this is how tooling for a
modularized java will be geared.  Not to mention the issue Stanislav
mentioned with 100s or 1000s of provides and requires generated in a
typical package.  I actually had a prototype patched rpmbuild with
auto module requires/provides working some time ago when Jigsaw was
still targeted for JDK7 (I think that was still Sun, to give you an
idea how long ago), which is also long before upstream decided to
toss the existing Jigsaw impl and start again :/  I learned my lesson,
and won't spend more time until upstream has actually merged
modularization work to a release branch.

cheers,
jon
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux