This is somewhat complicated by the fact that on kfreebsd we still don't have
openjdk, so we're using GCJ/GIJ, which is really a 1.5 implementation.

If GCJ/GIJ can run 1.6 bytecode then absolutely this check should be 1.6 and
you can ignore the rest of this mail.

If it cannot, then it's more complicated, since we do have libraries and
programs which actually just can't run on freebsd, since the do require 1.6, so
there's no reason those should use 1.5 bytecode. OTOH, anything that can use
1.5 _should_ use 1.5, particularly if it's a program that depends on
default-jdk, since that's GCJ/GIJ on kfreebsd.

This is further complicated by the fact that library packages don't depend on
the runtime.

A bullet-proof solution might look like:

(depends: default-jdk && <= 5) || (depends: openjdk-6 && <= 6) || (is library 
&& <= 6)

but maybe we don't care that much?

Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to