From: Greg Tassone <greg@tassone.net>
To: gentoo-java@lists.gentoo.org
Subject: Re: [gentoo-java] Re: How to predetermine if ebuilds will compile with 1.5?
Date: Mon, 05 Jun 2006 16:54:28 -0700 [thread overview]
Message-ID: <1149551668.8337.32.camel@tassadar> (raw)
In-Reply-To: <44843F50.4020706@seznam.cz>
[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]
On Mon, 2006-06-05 at 16:27 +0200, Caster wrote:
> ...
> Somebody correct me if I'm wrong, but the bytecode compiled will be the
> same no matter which JDK you use. Any optimisations are done with
> run-time JIT compiling, and depends on the VM running the bytecode
> (which can be different from the VM used to compile).
I think this statement is a little too broad to be considered correct.
The compiler can (and often does) make changes to the resulting binaries
that may be VM-level specific (e.g., targeted for a 1.5 VM). Consider
the "-target" argument for javac, for example, which "Allow[s] javac to
use 1.5 specific features in the libraries and virtual
machine" (http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html ).
For more information see the following in the section labeled
"Cross-Compilation Options":
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html
I also found some interesting information about different bytecode
versions here:
http://alumnus.caltech.edu/~leif/opensource/bcver/BcVerTask.html
More information can be found in Sun articles referenced there.
Finally, it looks like some information appears in the following JSR
abstract:
http://www.jcp.org/en/jsr/detail?id=202
~ Greg
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
prev parent reply other threads:[~2006-06-05 23:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-04 10:44 [gentoo-java] How to predetermine if ebuilds will compile with 1.5? Peter
2006-06-04 20:16 ` Caster
2006-06-05 10:23 ` [gentoo-java] " Peter
2006-06-05 14:15 ` Joshua Nichols
2006-06-05 14:27 ` Caster
2006-06-05 22:19 ` David Herron
2006-06-05 22:35 ` Wiktor Wandachowicz
2006-06-06 9:17 ` Caster
2006-06-06 13:35 ` David Herron
2006-06-08 7:07 ` Calvin Austin
2006-06-05 23:54 ` Greg Tassone [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1149551668.8337.32.camel@tassadar \
--to=greg@tassone.net \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox