DO NOT REPLY [Bug 32677] - build failure on kaffe due to usage of com.sun.* classes

[email protected]
Newsgroups gmane.text.xml.commons.devel
Message-ID <[email protected]>
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32677>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32677





------- Additional Comments From [email protected]  2004-12-14 01:42 -------
In case that you can't access the page above, the output from jikes is:

[javac] Found 5 semantic errors and issued 4 warnings compiling
"/home/gump/workspaces2/kaffe/workspace/xml-stylebook/src/org/apache/stylebook/printers/ImagePrinter.java":

    [javac]     11. import com.sun.image.codec.jpeg.*;
    [javac]                ^----------------------^
    [javac] *** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package
"com.sun.image.codec.jpeg" in: 
    [javac]                
/usr/local/gump/kaffe/workspace/xml-xerces2/java/build/xercesImpl.jar
    [javac]                
/usr/local/gump/kaffe/workspace/xml-xalan/java/build/serializer.jar
    [javac]                
/usr/local/gump/kaffe/workspace/xml-xalan/java/build/xalan-unbundled.jar
    [javac]                
/usr/local/gump/kaffe/workspace/xml-commons/java/external/build/xml-apis.jar
    [javac]                 /usr/local/gump-kaffe/jre/lib/rt.jar
    [javac]                 /usr/local/gump-kaffe/lib/kjc.jar
    [javac]                 /usr/local/gump-kaffe/lib/gjdoc.jar
    [javac]                
/home/gump/workspaces2/kaffe/workspace/xml-stylebook/build2/classes
    [javac]                
/usr/local/gump/kaffe/workspace/ant/bootstrap/lib/ant-launcher.jar
    [javac]                
/usr/local/gump/kaffe/workspace/ant/bootstrap/lib/ant.jar
    [javac]                 /home/gump/workspaces2/kaffe/workspace/xml-stylebook/src
    [javac]                
/usr/local/gump/kaffe/workspace/xml-xerces2/java/tools/resolver.jar
    [javac]                 .



    [javac]    148.         JPEGEncodeParam
jpar=JPEGCodec.getDefaultJPEGEncodeParam(img);
    [javac]                 ^-------------^
    [javac] *** Semantic Error: Type
"org.apache.stylebook.printers.JPEGEncodeParam" was not found.


    [javac]    148.         JPEGEncodeParam
jpar=JPEGCodec.getDefaultJPEGEncodeParam(img);
    [javac]                                      ^-------^
    [javac] *** Semantic Error: No accessible field named "JPEGCodec" was found
in type "org.apache.stylebook.printers.ImagePrinter".


    [javac]    150.         JPEGImageEncoder
jenc=JPEGCodec.createJPEGEncoder(out,jpar);
    [javac]                 ^--------------^
    [javac] *** Semantic Error: Type
"org.apache.stylebook.printers.JPEGImageEncoder" was not found.


    [javac]    150.         JPEGImageEncoder
jenc=JPEGCodec.createJPEGEncoder(out,jpar);
    [javac]                                       ^-------^
    [javac] *** Semantic Error: No accessible field named "JPEGCodec" was found
in type "org.apache.stylebook.printers.ImagePrinter".


cheers,
dalibor topic

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.