[gcj trunk / gnu-classpath] String.format(...) undefined

Mark Wielaard mark@klomp.org
Sat Feb 17 23:42:00 GMT 2007


On Sat, 2007-02-17 at 22:28 +0100, Mark Wielaard wrote:
> On Sat, 2007-02-17 at 22:10 +0100, Mark Wielaard wrote:
> > I am testing the attached patch that syncs up String, StringBuffer,
> > StringBuilder and Character to the latest GNU Classpath versions,
> > bringing in some new methods, some bug fixes and some indentation
> > cleanups. But it takes a while to compile it all since some usage of cni
> > needs to be adjusted for the changes in argument and return types.
> 
> Unfortunately it seems the new bridge methods confuse something:
>
> What would be a good way to fix this?

The "trick" is to not try to implement bridge methods in cni, but just
delegate to a differently named private native method (nativeCompareTo).
Compiles now and passes make check. But still needs some more testing
(volunteers welcome! :)

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sssc2.patch
Type: text/x-patch
Size: 39754 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20070217/1a19cd5e/attachment.bin>


More information about the Java mailing list