mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
cddea7187d
Whereas the GNU Classpath port used the strategy of patching Classpath with core classes from Avian so as to minimize changes to the VM, this port uses the opposite strategy: abstract and isolate classpath-specific features in the VM similar to how we abstract away platform-specific features in system.h. This allows us to use an unmodified copy of OpenJDK's class library, including its core classes and augmented by a few VM-specific classes in the "avian" package.
27 lines
699 B
Java
27 lines
699 B
Java
/* Copyright (c) 2008-2010, Avian Contributors
|
|
|
|
Permission to use, copy, modify, and/or distribute this software
|
|
for any purpose with or without fee is hereby granted, provided
|
|
that the above copyright notice and this permission notice appear
|
|
in all copies.
|
|
|
|
There is NO WARRANTY for this software. See license.txt for
|
|
details. */
|
|
|
|
package avian;
|
|
|
|
public class VMMethod {
|
|
public byte vmFlags;
|
|
public byte returnCode;
|
|
public byte parameterCount;
|
|
public byte parameterFootprint;
|
|
public short flags;
|
|
public short offset;
|
|
public int nativeID;
|
|
public byte[] name;
|
|
public byte[] spec;
|
|
public MethodAddendum addendum;
|
|
public VMClass class_;
|
|
public Object code;
|
|
}
|