首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >将JDK5.0开发的项目转为JDK1.4可运行的项目Retrotranslator

将JDK5.0开发的项目转为JDK1.4可运行的项目Retrotranslator

作者头像
阿敏总司令
发布2019-02-28 15:22:21
4860
发布2019-02-28 15:22:21
举报
文章被收录于专栏:简单就是美!简单就是美!

阅读更多

将JDK5.0开发的项目转为JDK1.4可运行的项目Retrotranslator、Retroweaver

http://iamin.blogdriver.com/iamin/1177133.html

1、Retrotranslator http://retrotranslator.sourceforge.net/

Retrotranslator is a Java bytecode transformer that translates Java classes compiled with JDK 5.0 into classes that can be run on JVM 1.4. It is a free, open-source tool based on the ASM bytecode manipulation framework and concurrency utilities backported to Java 1.4.

所能够支持1.5语言的特性如下: Generics (generic types) Annotations (metadata) Reflection on generics and annotations Typesafe enums (enumerated types) Autoboxing/unboxing Enhanced for loop (for-each loop) Varargs (variable arguments) Static import Concurrency utilities Collections framework enhancements

2、Retroweaver http://retroweaver.sourceforge.net/

Use Generics In 1.4! Retroweaver supports most 1.5 features while running on 1.4.

Develop With 1.5 And Deploy With 1.4! Transparent bytecode enhancement allows you to develop against 1.5 and seamlessly deploy on 1.4.

所能够支持1.5语言的特性如下: Supported 1.5 Language Features generics extended for loops static imports autoboxing/unboxing varargs enumerations annotations

Retroweaver: Use the language of the future, now. Are you a Java developer who's excited about the new JDK 1.5 language features? Does your heart race when you think about generics and parametric polymorphism? Do extended for loops make you feel warm and fuzzy inside? Do thoughts of autoboxing and static imports permeate your dreams?

Then let me welcome you to Retroweaver. Retroweaver is a bytecode weaver that enables you to take advantage of the new Java 1.5 language features, while still retaining total binary compatability with 1.4 virtual machines. Retroweaver operates by transforming Java class files compiled by a 1.5 compiler into version 1.4 class files which can then be run on any 1.4 virtual machine.

So, when your favorite vendor tells you that their application server won't be supporting JDK 1.5 until 2007, or your customers won't have JDK 1.5 for years to come, or your manager refuses to begin development on a beta JDK, put Retroweaver to work for you.

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2006-05-02 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档