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

Re: Java Policy.

On Mon, May 13, 2002 at 01:07:07PM -0700, Ian Zimmerman wrote:
> Andrew> Both are shipped as Java bytecode (*.class files, packaged in
> Andrew> a *.jar archive) and with an "Architecture: all" since Java
> Andrew> bytecode is supposed to be portable.
> Andrew> seems to forbid both code with native parts, and Java code
> Andrew> compiled to machine binaries with gcj.  It seems reasonable to
> Andrew> me to allow both of these.
> Ola> Well I do not really understand this. Java code is supposed to be
> Ola> portable. If you compile it to machine binaries it is no longer a
> Ola> java program and should not be packaged as a such. Non java
> Ola> components should be extracted to a separate package IMHO.
> If you permit an outsider to intrude... :)

What did you mean with this?

> Why must all lib*-java packages depend on java-virtual-machine?  gcj
> is supposed to be able to compile class files into native code, isn't
> it?  So these class libraries are, in theory, usable by people who
> just use them for gcj based develompent and link them into their
> executables.

You are right. The policy was written when gcj was in _early_ stages.

> I am sure I overlook something trivial, please point it out for my
> edification :)

It should recommend (or at least suggest) a java-virtual-machine
though. Or simply depend on java-common which should take care of that.

Actually I'm thinking of splitting java-common in three.
* java-common (which should provide some help scripts and suggest or
  depend on things).
* java-policy (With the policy).
* java-faq (with the faq).

What do you think about that?


// Ola

> -- 
> Ian Zimmerman, Oakland, California, U.S.A.
> GPG: 433BA087  9C0F 194F 203A 63F7 B1B8  6E5A 8CA3 27DB 433B A087
> EngSoc adopts market economy: cheap is wasteful, efficient is expensive.
> -- 
> To UNSUBSCRIBE, email to debian-java-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Björnkärrsgatan 5 A.11   \
|  opal@lysator.liu.se                 584 36 LINKÖPING         |
|  +46 (0)13-17 69 83                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /

To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: