`

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

阅读更多

将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.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics