Re: Re: JDK used for compiling
Sven Köhler <[email protected]>
| Newsgroups | gmane.linux.gentoo.java |
|---|---|
| Message-ID | <[email protected]> |
> Such packages will then be marked with RDEPEND=">=virtual/jre-1.5" and > emerging them will pull in a JRE that supports the needed features (if > not already installed). I don't see a problem there. No, that's not right either. The code in the example compiles with BOTH - JDK 1.4 and JDK 1.5. But the generated bytecode is different: - compiled with JDK 1.5, the method StringBuffer.append(CharSequence) is called. (No matter, whether "-target 1.4" has been used, or not) - compiled with JDK 1.4, the method StringBuffer.append(Object) is called.
signature.asc
(application/pgp-signature, 249 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHQM+57Ww7FjRBE4ARAkuDAJ9SA1M9pB2iJmOCrv/qga4jj8aXNgCgoS8h D9warp0CLKpwdIz6Qi/2Pl8= =wby1 -----END PGP SIGNATURE-----