OutputStream is in GWT 1.5.  OutputStream is an abstract class - are you
overriding the methods it throws errors on?  eclipse is good about telling
you & auto-fixing stuff like that.  can you post your implementation of
OutputStreamWriter if this isn't the problem?

On Sat, Apr 25, 2009 at 10:54 AM, otakuj462 <[email protected]> wrote:

>
> Hi,
>
> I'm quite new to GWT, and I'm trying to diagnose the source of some
> compilation errors for an existing open source project that leverages
> GWT (incidentally, for my Google Summer of Code project). Without
> going into the details of the purpose of the application, I was hoping
> someone could offer some general guidance as to why these particular
> errors might be occuring.
>
> The errors occur when attempting to compile certain method calls on
> instances of class OutputStream. So, for example:
>
>        [java]    [ERROR] Errors in 'file:/C:/workspace-gsoc/
> org.eclipse.swt.e4.jcl/src/gwt/extended/javascript/java/io/
> OutputStreamWriter.java'
>        [java]       [ERROR] Line 31: The method close() is undefined
> for the type OutputStream
>        [java]       [ERROR] Line 42: The method flush() is undefined
> for the type OutputStream
>        [java]       [ERROR] Line 56: The method write(byte[], int,
> int) is undefined for the type OutputStream
>
> This is on GWT 1.5. I also tried it on GWT 1.6, and I believe it threw
> the same error. I know that on GWT 1.6, OutputStream is emulated
> [http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html], but
> I'm not sure about 1.5.
>
> I'd appreciate any guidance anyone can offer. Thanks,
>
> Jake
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to