public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/43279]  New: Constructor java.lang.String(int[], int, int) missing
@ 2010-03-07 12:09 marcus at mc dot pp dot se
  2010-03-07 12:39 ` [Bug libgcj/43279] " marcus at mc dot pp dot se
  2010-03-07 13:48 ` mark at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: marcus at mc dot pp dot se @ 2010-03-07 12:09 UTC (permalink / raw)
  To: java-prs

In the java.lang.String implementation in libjava, there is no
constructor java.lang.String(int[], int, int).  This constructor was
added by Sun in 1.5, but since gij claims to be 1.5 it should be there.
The String class in Classpath has the constructor, but it is not used
by gij.


-- 
           Summary: Constructor java.lang.String(int[], int, int) missing
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: marcus at mc dot pp dot se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43279


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/43279] Constructor java.lang.String(int[], int, int) missing
  2010-03-07 12:09 [Bug libgcj/43279] New: Constructor java.lang.String(int[], int, int) missing marcus at mc dot pp dot se
@ 2010-03-07 12:39 ` marcus at mc dot pp dot se
  2010-03-07 13:48 ` mark at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: marcus at mc dot pp dot se @ 2010-03-07 12:39 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from marcus at mc dot pp dot se  2010-03-07 12:39 -------
Here is a reproduction recipe using Jython 2.5.1, by the way:

chiyo:~/jython2.5.1% gij-4.4 -jar jython.jar
Jython 2.5.1 (Release_2_5_1:6813, Sep 26 2009, 13:47:54) 
[GNU libgcj (Free Software Foundation, Inc.)] on java1.5.0
Type "help", "copyright", "credits" or "license" for more information.
>>> u'A'[0]
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
java.lang.NoSuchMethodError: method java.lang.String.<init> with signature
([III)V was not found.
   at org.python.core.PyUnicode.<init>(PyUnicode.java:62)
   at org.python.core.Py.makeCharacter(Py.java:1476)
   at org.python.core.PyUnicode.pyget(PyUnicode.java:300)
   at org.python.core.PySequence$1.getItem(PySequence.java:452)
   at
org.python.core.SequenceIndexDelegate.checkIdxAndFindItem(SequenceIndexDelegate.java:88)
   at
org.python.core.SequenceIndexDelegate.checkIdxAndFindItem(SequenceIndexDelegate.java:70)
   at
org.python.core.SequenceIndexDelegate.checkIdxAndGetItem(SequenceIndexDelegate.java:61)
   at org.python.core.PySequence.seq___getitem__(PySequence.java:305)
   at org.python.core.PySequence.__getitem__(PySequence.java:301)
   at org.python.pycode._pyx1.f$0(<stdin>:1)
   at org.python.pycode._pyx1.call_function(<stdin>)
   at org.python.core.PyTableCode.call(PyTableCode.java:165)
   at org.python.core.PyCode.call(PyCode.java:18)
   at org.python.core.Py.runCode(Py.java:1204)
   at org.python.core.Py.exec(Py.java:1248)
   at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:181)
   at
org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:89)
   at
org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:70)
   at
org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:46)
   at org.python.util.InteractiveConsole.push(InteractiveConsole.java:110)
   at org.python.util.InteractiveConsole.interact(InteractiveConsole.java:90)
   at org.python.util.jython.run(jython.java:316)
   at org.python.util.jython.main(jython.java:129)

java.lang.NoSuchMethodError: java.lang.NoSuchMethodError: method
java.lang.String.<init> with signature ([III)V was not found.
>>> 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43279


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libgcj/43279] Constructor java.lang.String(int[], int, int) missing
  2010-03-07 12:09 [Bug libgcj/43279] New: Constructor java.lang.String(int[], int, int) missing marcus at mc dot pp dot se
  2010-03-07 12:39 ` [Bug libgcj/43279] " marcus at mc dot pp dot se
@ 2010-03-07 13:48 ` mark at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at gcc dot gnu dot org @ 2010-03-07 13:48 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from mark at gcc dot gnu dot org  2010-03-07 13:48 -------
GNU Classpath java.lang.String does have the String(int[] codePoints, int
offset, int count) constructor. But libgcj still has a separate String
implementation that doesn't have this constructor merged.


-- 

mark at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-03-07 13:48:05
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43279


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-07 13:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-07 12:09 [Bug libgcj/43279] New: Constructor java.lang.String(int[], int, int) missing marcus at mc dot pp dot se
2010-03-07 12:39 ` [Bug libgcj/43279] " marcus at mc dot pp dot se
2010-03-07 13:48 ` mark at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).