Marco,
just to be sure you'll get this message. I don't think you're on the mailinglist of qdox-dev, right? regards, - Robert > From: [email protected] > Date: Sun, 22 Nov 2009 10:07:21 -0600 > To: [email protected] > Subject: Re: [qdox-dev] [jira] Created: (QDOX-183) Parser Errors when > processing jdk-src > > Marco, > > I've chatted to Robert and while it's pleasing to see so few JDK issues with > QDox these days, we're thinking its a huge edge case for QDox's intended use. > It'll take us some time to work through things one by one. > > Can you raise separate bugs for each type of snafu that Qdox is having parse > problems with ? We'll most likely work on them one by one. If you could try > to make the smallest possible reproduction for each and paste that into the > bug report that would be awesome. > > Regards, > > - Paul > > On Nov 22, 2009, at 6:54 AM, Marco Soldati (JIRA) wrote: > > > Parser Errors when processing jdk-src > > ------------------------------------- > > > > Key: QDOX-183 > > URL: http://jira.codehaus.org/browse/QDOX-183 > > Project: QDox > > Issue Type: Bug > > Environment: QDox 1.10 > > Windows XP > > Java 1.6 > > Reporter: Marco Soldati > > > > > > When I try to parse the JDK sources with qdox-1.10 I get a bunch of errors. > > I have no idea where they come from? > > > > 1. get > > http://www.java.net/download/jdk6/6u16/promoted/b01/jdk-6u16-fcs-src-b01-jrl-31_jul_2009.jar > > (132MB) > > 2. Run the following Java Class (make sure to give enough memory to the > > JVM: "-Xmx1024M"): > > {code} > > import java.io.File; > > > > import com.thoughtworks.qdox.JavaDocBuilder; > > import com.thoughtworks.qdox.directorywalker.FileVisitor; > > import com.thoughtworks.qdox.parser.ParseException; > > > > public class MainTest { > > > > /** > > * @param args > > */ > > public static void main(String[] args) { > > JavaDocBuilder builder = new JavaDocBuilder(); > > builder.setErrorHandler(new JavaDocBuilder.ErrorHandler() { > > @Override > > public void handle(ParseException parseException) { > > System.err.println("Exception while parsing file: " + > > parseException.getMessage()); > > } > > }); > > builder.addSourceTree(new > > File("C:\\apps\\jdk-1_6-src\\j2se\\src\\share\\classes")); > > } > > } > > {code} > > > > 3. I get the following errors: (some of the nio-files are not valid java as > > they contain pre-processing directives but others like the mbeans-stuff > > seems to be fine) > > {code} > > Exception while parsing file: syntax error @[145,21] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/jmx/mbeanserver/MBeanSupport.java > > Exception while parsing file: syntax error @[67,29] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/jmx/mbeanserver/MXBeanSupport.java > > Exception while parsing file: syntax error @[100,36] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/jmx/mbeanserver/StandardMBeanSupport.java > > Exception while parsing file: syntax error @[37,5] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/tools/javac/code/Source.java > > Exception while parsing file: syntax error @[280,1] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/xml/internal/stream/writers/XMLWriter.java > > Exception while parsing file: syntax error @[782,39] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/xml/internal/ws/api/addressing/WSEndpointReference.java > > Exception while parsing file: syntax error @[170,46] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/com/sun/xml/internal/ws/server/AbstractInstanceResolver.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/ByteBufferAs-X-Buffer.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/charset/Charset-X-Coder.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/Direct-X-Buffer-bin.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/Direct-X-Buffer.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/Heap-X-Buffer.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/X-Buffer-bin.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/nio/X-Buffer.java > > Exception while parsing file: syntax error @[6581,1] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/java/util/Formatter.java > > Exception while parsing file: syntax error @[209,53] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/javax/management/monitor/Monitor.java > > Exception while parsing file: syntax error @[342,45] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/javax/management/openmbean/OpenMBeanAttributeInfoSupport.java > > Exception while parsing file: syntax error @[280,45] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/javax/management/openmbean/OpenMBeanParameterInfoSupport.java > > Exception while parsing file: syntax error @[146,36] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/javax/management/StandardEmitterMBean.java > > Exception while parsing file: syntax error @[317,29] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/javax/management/StandardMBean.java > > Exception while parsing file: syntax error @[72,1] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/org/omg/CORBA/CompletionStatus.java > > Exception while parsing file: syntax error @[54,1] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/org/omg/CORBA/DefinitionKind.java > > Exception while parsing file: syntax error @[120,39] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/sun/rmi/transport/tcp/TCPTransport.java > > Exception while parsing file: syntax error @[42,38] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/sun/tools/jconsole/inspector/Utils.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/sun/util/CoreResourceBundleControl-XLocales.java > > Exception while parsing file: syntax error @[8,2] in > > file:/C:/apps/jdk-1_6-src/j2se/src/share/classes/sun/util/LocaleDataMetaInfo-XLocales.java > > {code} > > > > -- > > This message is automatically generated by JIRA. > > - > > If you think it was sent incorrectly contact one of the administrators: > > http://jira.codehaus.org/secure/Administrators.jspa > > - > > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe from this list, please visit: > > > > http://xircles.codehaus.org/manage_email > > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
