You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Shkuro, Yuri" <Yu...@gs.com> on 2001/10/23 22:37:34 UTC
RE: DO NOT REPLY [Bug 4377] New: - JDK 1.1 non-compliance
JDK 1.1 support was voted to be discontinued about a month ago.
You may find relevant discussion in the list archive.
Please invalidate your bug report.
YS
-----Original Message-----
From: bugzilla@apache.org [mailto:bugzilla@apache.org]
Sent: Tuesday, October 23, 2001 3:46 PM
To: fop-dev@xml.apache.org
Subject: DO NOT REPLY [Bug 4377] New: - JDK 1.1 non-compliance
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4377>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4377
JDK 1.1 non-compliance
Summary: JDK 1.1 non-compliance
Product: Fop
Version: all
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: pdf renderer
AssignedTo: fop-dev@xml.apache.org
ReportedBy: jgombos@eudoramail.com
There is a requirement that Fop run on JDK 1.1.x. It currently will not run
on
anything earlier than JDK 1.2. I tested this on JDK 1.1.3 for the Sun. The
reason is because the code is calling a method that was introduced in JDK
1.2.
Namely, java.io.File.getParentFile(). This call is being made from:
Options.java line 96
as well as 3 other files. Here is the error reported upon execution of Fop:
java org.apache.fop.apps.Fop cv_2001.fo cv_2001.pdf
java.lang.NoSuchMethodError: java.io.File: method
getParentFile()Ljava/io/File;
not found
at org.apache.fop.apps.Options.setCommandLineOptions(Compiled Code)
at org.apache.fop.apps.CommandLineStarter.<init>(Compiled Code)
at org.apache.fop.apps.CommandLineOptions.getStarter(Compiled Code)
at org.apache.fop.apps.Fop.main(Compiled Code)
BTW- The version options on this form are (0.15, 0.16, 0.17), which seems to
be
outdated. I found this defect in version 0.20.1 and 0.20.2.
ANOTHER (possible) defect:
I don't know if this is related to the defect above, but when I try to build
the
application on a Sun Ultra 10 with 512 megs of memory, I get this error:
java.lang.OutOfMemoryError
at java.io.BufferedReader.<init>(Compiled Code)
at java.io.BufferedReader.<init>(Compiled Code)
at sun.tools.java.ScannerInputStream.<init>(Compiled Code)
at sun.tools.java.Scanner.useInputStream(Compiled Code)
at sun.tools.java.Scanner.<init>(Compiled Code)
at sun.tools.java.Parser.<init>(Compiled Code)
at sun.tools.javac.BatchParser.<init>(Compiled Code)
at sun.tools.javac.BatchEnvironment.parseFile(Compiled Code)
at sun.tools.javac.Main.compile(Compiled Code)
at org.apache.tools.ant.taskdefs.compilers.Javac12.execute(Compiled
Code)
at org.apache.tools.ant.taskdefs.Javac.execute(Compiled Code)
at org.apache.tools.ant.Target.execute(Compiled Code)
at org.apache.tools.ant.Project.runTarget(Compiled Code)
at org.apache.tools.ant.Project.executeTarget(Compiled Code)
at org.apache.tools.ant.Project.executeTargets(Compiled Code)
at org.apache.tools.ant.Main.runBuild(Compiled Code)
at org.apache.tools.ant.Main.main(Compiled Code)
[javac] error: An error has occurred in the compiler; please file a bug
report (http://java.sun.com/cgi-bin/bugreport.cgi).
[javac] 1 error
BUILD FAILED
/home/jgombos/tools/package/Fop-0.20.1/build.xml:544: Compile failed,
messages
should have been provided.
I have not investigated this error, but thought it may be useful to document
it.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org