站内搜索: 请输入搜索关键词

当前页面: 开发资料首页J2SE 专题Classworking 工具箱: 在旧版 JVM 上使用 J2SE 5.0 特性-from IBM

Classworking 工具箱: 在旧版 JVM 上使用 J2SE 5.0 特性-from IBM

摘要: Classworking 工具箱: 在旧版 JVM 上使用 J2SE 5.0 特性-from IBM
<table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr valign="top"> <td>Classworking 工具箱: 在旧版 JVM 上使用 J2SE 5.0 特性</td> <td width="8"></td> <td align="right" width="180"> <table cellspacing="0" cellpadding="0"> <tr valign="top"> <td align="right"></td> <td width="46"> <form action="https://www-130.ibm.com/developerworks/secure/email-it.jsp"> <input type="hidden" name="body" value="许多 J2SE 5.0 语言特性应该对旧版 JVM 也有用,但是实现这些特性的编译器会生成需要 JDK 5.0 或更高版本的代码。幸运的是,有一个开放源代码项目 Retroweaver 在 J2SE 5.0 与旧版 JVM 之间架起了一座桥梁。Retroweaver 转换您的类文件以消除 JDK 5.0 依赖性,同时添加其自己的支持函数库以使得大多数 5.0 特性在旧版 JVM 上完全有用。如果您喜欢 J2SE 5.0 语言特性,却无法在运行时使用 JDK 5.0,那么 Retroweaver 就是您所需要的。" /><input type="hidden" name="subject" value="Classworking 工具箱: 在旧版 JVM 上使用 J2SE 5.0 特性" /><input type="hidden" name="lang" value="cn" /><input type="image" src="http://www-128.ibm.com/developerworks/cn/i/icon-email.gif" border="0" name="email" /> </form> </td> </tr> </table> </td> <td width="6"></td> </tr> <tr valign="top"> <td bgcolor="#000000" colspan="5"></td> </tr> <tr valign="top"> <td bgcolor="#ffffff" colspan="5"></td> </tr> </table><table cellspacing="0" cellpadding="0" width="100%" border="0"> <tr valign="top"> <td width="5"></td> <td width="100%"> <table cellspacing="0" cellpadding="0" width="168" align="right" border="0"> <tr> <td width="8"></td> <td width="160"> <table cellspacing="0" cellpadding="0" width="160" border="0"> <tr> <td width="160" bgcolor="#000000" height="1"></td> </tr> <tr> <td align="center" background="/developerworks/cn/i/bg-gold.gif" height="5">内容:</td> </tr> <tr> <td width="160" bgcolor="#666666" height="1"></td> </tr> <tr> <td> <table cellspacing="0" cellpadding="0" width="160" border="0"> <tr> <td>向后兼容 J2SE 5.0</td> </tr> <tr> <td height="1"></td> </tr> <tr> <td>JDK 1.4 上的注释</td> </tr> <tr> <td height="1"></td> </tr> <tr> <td>结束语</td> </tr> <tr> <td height="1"></td> </tr>