diff options
author | jfrijters <jfrijters> | 2012-08-29 15:54:35 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2012-08-29 15:54:35 +0400 |
commit | 60079526c3ce356e58805761593ed2207e9040a5 (patch) | |
tree | 6de746ce6ba40a3d49922ccabb079eb276d3c851 | |
parent | f70ca066b6a68c87b014039518e4d7a7459ee3da (diff) |
Add new to 7u6 (package private) String constructor.
-rw-r--r-- | openjdk/map.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/openjdk/map.xml b/openjdk/map.xml index 077d983e..fd507496 100644 --- a/openjdk/map.xml +++ b/openjdk/map.xml @@ -253,6 +253,14 @@ <parameter name="offset" /> <parameter name="count" /> </constructor> + <!-- Package private constructor (that OpenJDK uses to avoid copying the array) --> + <constructor sig="([CZ)V" modifiers=""> + <alternateBody> + <ldarg_0 /> + <newobj type="System.String" name=".ctor" sig="([C)V" /> + <ret /> + </alternateBody> + </constructor> <!-- Package private constructor, that we redirect to static helper --> <constructor sig="(II[C)V" modifiers=""> <redirect class="java.lang.StringHelper" name="NewString" type="static" sig="(II[C)Ljava.lang.String;" /> |