Skip to main content

open jdk7 build error

No replies
Joined: 2003-06-13

I am building open jdk 7 on my Vista PC.

Although I found j2sdk-image was successfully generated(I can launch java, javac under it) but the terminal prompot output the following errors.
Could some please point where the problem exists?
Constructing Javadoc information...
..\..\..\..\src\share\classes\javax\swing\ cannot find symbol @Transient ^
symbol: class Transient
location: class JTabbedPane

>>> Generating beaninfo for javax.swing.AbstractButton...
javadoc: error - In doclet class GenDocletBeanInfo, method start has thrown an exception java.lang.reflect.InvocationTargetException
java.lang.NoSuchFieldError: component
at java.awt.Container.initIDs(Native Method) at java.awt.Container.( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at GenSwingBeanInfo.getClass( at GenSwingBeanInfo.genBeanInfo( at GenDocletBeanInfo.start( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at at at at at
1 error
31 warnings
make[4]: *** [.javadoc.beanlist] Error 1
make[4]: Leaving directory `/cygdrive/d/jdkws/openjdk/tl_06242009/jdk/make/javax/swing/beaninfo'
make[3]: *** [swing-1.2-beans] Error 2
make[3]: Leaving directory `/cygdrive/d/jdkws/openjdk/tl_06242009/jdk/make/javax/swing/beaninfo'
make[2]: *** [initial-image-jdk] Error 2
make[2]: Leaving directory `/cygdrive/d/jdkws/openjdk/tl_06242009/jdk/make'
make[1]: *** [jdk-build] Error 2
make[1]: Leaving directory `/cygdrive/d/jdkws/openjdk/tl_06242009'
make: *** [build_product_image] Error 2

It seems "java.beans.Transient" was added from jdk 7.