Imported GNU Classpath 0.90
Imported GNU Classpath 0.90
* scripts/makemake.tcl: Set gnu/java/awt/peer/swing to ignore.
* gnu/classpath/jdwp/VMFrame.java (SIZE): New constant.
* java/lang/VMCompiler.java: Use gnu.java.security.hash.MD5.
* java/lang/Math.java: New override file.
* java/lang/Character.java: Merged from Classpath.
(start, end): Now 'int's.
(canonicalName): New field.
(CANONICAL_NAME, NO_SPACES_NAME, CONSTANT_NAME): New constants.
(UnicodeBlock): Added argument.
(of): New overload.
(forName): New method.
Updated unicode blocks.
(sets): Updated.
* sources.am: Regenerated.
* Makefile.in: Likewise.
From-SVN: r111942
This commit is contained in:
@@ -81,7 +81,7 @@ class VMSystemProperties
|
||||
* <dt>gnu.cpu.endian <dd>"big" or "little"
|
||||
* </dl>
|
||||
*
|
||||
* @param p the Properties object to insert the system properties into
|
||||
* @param properties the Properties object to insert the system properties into
|
||||
*/
|
||||
static native void preInit(Properties properties);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* VMFrame.java -- Reference implementation of VM hooks for JDWP Frame access.
|
||||
Copyright (C) 2005 Free Software Foundation
|
||||
Copyright (C) 2005, 2006 Free Software Foundation
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@@ -49,6 +49,11 @@ import gnu.classpath.jdwp.util.Location;
|
||||
|
||||
public class VMFrame
|
||||
{
|
||||
/**
|
||||
* Returns the size of a frame ID over JDWP
|
||||
*/
|
||||
public static final int SIZE = 8;
|
||||
|
||||
// The object this frame resides in
|
||||
private Object obj;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* VMIdManager.java -- A reference/example implementation of a manager for
|
||||
JDWP object/reference type IDs
|
||||
|
||||
Copyright (C) 2005 Free Software Foundation
|
||||
Copyright (C) 2005, 2006 Free Software Foundation
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
@@ -76,6 +76,10 @@ import java.util.Iterator;
|
||||
* <b>NOTE:</b> All IDs handled by the ID manager (all object and reference
|
||||
* type IDs) are assumed to be of type <code>long</code>.
|
||||
*
|
||||
* <b>NOTE:</b> This class does not manage virtual machine-specific types,
|
||||
* like methods, fields, and frames. These already have unique IDs within
|
||||
* the virtual machine and do not need further abstraction here.
|
||||
*
|
||||
* @author Keith Seitz (keiths@redhat.com)
|
||||
*/
|
||||
public class VMIdManager
|
||||
@@ -99,9 +103,6 @@ public class VMIdManager
|
||||
// ObjectId and ArrayId are special cases. See newObjectId.
|
||||
_idList.put (ClassLoaderId.typeClass, ClassLoaderId.class);
|
||||
_idList.put (ClassObjectId.typeClass, ClassObjectId.class);
|
||||
//_idList.put (FieldId.typeClass, FieldId.class);
|
||||
//_idList.put (FrameId.typeClass, FrameId.class);
|
||||
//_idList.put (MethodId.typeClass, MethodId.class);
|
||||
_idList.put (StringId.typeClass, StringId.class);
|
||||
_idList.put (ThreadId.typeClass, ThreadId.class);
|
||||
_idList.put (ThreadGroupId.typeClass, ThreadGroupId.class);
|
||||
@@ -187,6 +188,7 @@ public class VMIdManager
|
||||
id = new InterfaceReferenceTypeId ();
|
||||
else
|
||||
id = new ClassReferenceTypeId ();
|
||||
id.setReference (ref);
|
||||
synchronized (_ridLock)
|
||||
{
|
||||
id.setId (++_lastRid);
|
||||
|
||||
Reference in New Issue
Block a user