Skip to main content

open jdk7 build error

No replies
wasedaxiao
Offline
Joined: 2003-06-13
Points: 0

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\JTabbedPane.java:651: 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.(Container.java:223) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at GenSwingBeanInfo.getClass(GenSwingBeanInfo.java:489) at GenSwingBeanInfo.genBeanInfo(GenSwingBeanInfo.java:372) at GenDocletBeanInfo.start(GenDocletBeanInfo.java:207) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:289) at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:163) at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:374) at com.sun.tools.javadoc.Start.begin(Start.java:162) at com.sun.tools.javadoc.Main.execute(Main.java:59) at com.sun.tools.javadoc.Main.main(Main.java:49)
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.