Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

jlString.c File Reference


Detailed Description

Native implementation of java.lang.String.

Todo:
Perform intelligent check on input parameter objhash range for all functions.

Control

$URL: https://svn.apache.org/path/name/jlString.c $ $Id: jlString.c 0 09/28/2005 dlydick $

Copyright 2005 The Apache Software Foundation or its licensors, as applicable.

Licensed under the Apache License, Version 2.0 ("the License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations under the License.

Version:
$LastChangedRevision: 0 $
Date:
$LastChangedDate: 09/28/2005 $
Author:
$LastChangedBy: dlydick $ Original code contributed by Daniel Lydick on 09/28/2005.

Reference

Definition in file jlString.c.

#include "arch.h"
#include "jvmcfg.h"
#include "classfile.h"
#include "jvm.h"

Go to the source code of this file.

Native implementation of object instance functions.

The object hash of this object is always passed as the first parameter.

jvm_object_hash jlString_intern (jvm_object_hash objhashthis)
 JNI hook to intern().

Functions

static void jlString_c_dummy (void)

Variables

static char * jlString_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jlString.c $ $Id: jlString.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable."


Function Documentation

static void jlString_c_dummy void   )  [static]
 

Definition at line 43 of file jlString.c.

jvm_object_hash jlString_intern jvm_object_hash  objhashthis  ) 
 

JNI hook to intern().

Parameters:
objhashthis Object table hash of this object.
Returns:
Object hash for this java.lang.String (same as input object hash, in this particular implementation)
Todo:
Is this correct?

Definition at line 95 of file jlString.c.

References jvm_object_hash_null.

Referenced by Java_java_lang_String_intern().


Variable Documentation

char* jlString_c_copyright = "\0" "$URL: https://svn.apache.org/path/name/jlString.c $ $Id: jlString.c 0 09/28/2005 dlydick $" " " "Copyright 2005 The Apache Software Foundation or its licensors, as applicable." [static]
 

Definition at line 43 of file jlString.c.


Generated on Fri Sep 30 19:00:14 2005 by  doxygen 1.4.4