diff options
-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;" /> |