[Bug libgcj/39180] New String constructors need to be implemented in local copy of java.lang.String

2016-09-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39180 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libgcj/39180] New String constructors need to be implemented in local copy of java.lang.String

2009-02-13 Thread gnu_andrew at member dot fsf dot org
--- Comment #1 from gnu_andrew at member dot fsf dot org 2009-02-13 17:45 --- Created an attachment (id=17294) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17294action=view) Preliminary patch, has issues with the returned string reading from the wrong memory location Preliminary

[Bug libgcj/39180] New String constructors need to be implemented in local copy of java.lang.String

2009-02-13 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2009-02-13 17:54 --- This line looks fishy: + boffset = cbuf-position(); boffset is a byte offset from the start of 'data' to the first character. So, you probably need to multiply by sizeof(jchar) and also add in the size of