* gcj/javaprims.h (_Jv_FormatInt): New declaration. * java/lang/natString.cc (_JvFormatInt): New primitive, with logic taken from old Integer.toString code. (Integer::valueOf): Use _Jv_FormatInt. * java/lang/Integer.java (toString): Just use call String.valueOf. * java/lang/Long.java (toString): Fix typo in comment. * java/lang/String.java (valueOf(int)): Make native. * java/lang/StringBuffer.java (append(int)): Make native. * java/lang/natStringBuffer.cc: New file, for append(jint). * Makefile.am (ant_source_files): Add java/lang/natStringBuffer.cc. From-SVN: r42419
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
applet | Loading commit data... | |
awt | Loading commit data... | |
beans | Loading commit data... | |
io | Loading commit data... | |
lang | Loading commit data... | |
math | Loading commit data... | |
net | Loading commit data... | |
security | Loading commit data... | |
sql | Loading commit data... | |
text | Loading commit data... | |
util | Loading commit data... |