The javah -old option generates JDK 1.0 stule header files. That hasn't worked
with J2SE since 1.2. Nevertheless, JDK 1.4.2 javah still recognizes that option.
In Tiger javah has been rewritten to work with the new class file format.
The new implementation has a number of problems (see the "see also" list) with
the handling of -old. Instead of fixing those problems, it would make more
sense to remove support for the -old option.
This is a prerequisite to enabling the new (JSR 202) classfile format in javac.
with J2SE since 1.2. Nevertheless, JDK 1.4.2 javah still recognizes that option.
In Tiger javah has been rewritten to work with the new class file format.
The new implementation has a number of problems (see the "see also" list) with
the handling of -old. Instead of fixing those problems, it would make more
sense to remove support for the -old option.
This is a prerequisite to enabling the new (JSR 202) classfile format in javac.
- relates to
-
JDK-4932262 -old -Xnew for method with boolean[] type parm
- Closed
-
JDK-4784659 Difference of Behaviour with -old option
- Closed
-
JDK-4942146 output for class struct with -old is different for class extending Vector
- Closed