Geir Magnusson Jr wrote:
> Oliver Deakin wrote:
>> Hi Alexey,
>>
>> ok, Ive recreated your problem using the latest snapshot and VME.
>> Essentially the code at
>> modules/kernel/src/main/java/java/lang/String.java is the same as that
>> in the VME kernel.jar. Looking in there (these calls can also
Ah. My fault. Forgot that they're now using regex patterns as the
parameters.
On 2/22/06, Oliver Deakin <[EMAIL PROTECTED]> wrote:
>
> Sergey Soldatov wrote:
> > But the way, how it affects the performance? java.lang.String is the
> most
> > used class and even such simple operations will cause lo
Sergey Soldatov wrote:
But the way, how it affects the performance? java.lang.String is the most
used class and even such simple operations will cause loading of full regex
package.
Do you have another solution in mind that would avoid the regex package
load?
On 2/21/06, Oliver Deakin <[
But the way, how it affects the performance? java.lang.String is the most
used class and even such simple operations will cause loading of full regex
package.
On 2/21/06, Oliver Deakin <[EMAIL PROTECTED]> wrote:
>
> Hi Alexey,
>
> Looking in there (these calls can also be seen if
> the test is ru
Oliver Deakin wrote:
Hi Alexey,
ok, Ive recreated your problem using the latest snapshot and VME.
Essentially the code at
modules/kernel/src/main/java/java/lang/String.java is the same as that
in the VME kernel.jar. Looking in there (these calls can also be seen if
the test is run within a
2006/2/21, Oliver Deakin <[EMAIL PROTECTED]>:
> As a sideline, I think we should be able to move String.java out of
> kernel entirely anyway. We already have an implementation at
> modules/kernel/src/main/java/java/lang/String.java, and the only VM
> specific code in String is the intern() method.
Hi Alexey,
ok, Ive recreated your problem using the latest snapshot and VME.
Essentially the code at
modules/kernel/src/main/java/java/lang/String.java is the same as that
in the VME kernel.jar. Looking in there (these calls can also be seen if
the test is run within a debugger), we see that
We got problem with Harmony on IBM VM on Windows.
java.lang.String.replaceFirst throws NPE.
Here is the testcase:
public class Test {
public static void main(String args[]) {
String xx = "test";
xx = xx.replaceFirst("t","z");
}
}
Here is the stack trace:
C:\Work\Harmony\So