vipulz / gwt-phonegap

Automatically exported from code.google.com/p/gwt-phonegap
0 stars 0 forks source link

FileWriterJsImpl seek() and truncate() is infinitely recursive #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you looks at these 2 methods:

    @Override
    public void seek(long position) {
        seek(position);
    }

and

    @Override
    public void truncate(long position) {
        truncate(position);
    }

They call themselves instead of calling the versions with double parameters. I 
think you either want to cast to double or change the method names to fix the 
recursion.  It was not fun finding ;-)  The bug appears in the latest version 
(1.8.1.0) and in the source trunk.

BTW, is there a way to send log messages to the Xcode console from within your 
library or GWT?

Original issue reported on code.google.com by frank.mena on 6 Sep 2012 at 8:06

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 5b748fd0d575.

Original comment by kurka.da...@gmail.com on 8 Sep 2012 at 4:55

GoogleCodeExporter commented 9 years ago

Original comment by kurka.da...@gmail.com on 8 Sep 2012 at 4:56

GoogleCodeExporter commented 9 years ago

Original comment by kurka.da...@gmail.com on 23 Sep 2012 at 7:40