Michael Koch
aa5505d0e1
Authenticator.java: added some documentation.
...
2002-08-28 Michael Koch <konqueror@gmx.de>
* java/net/Authenticator.java: added some documentation.
From-SVN: r56628
2002-08-28 05:24:10 +00:00
Tom Tromey
f87999337a
natConstructor.cc (newInstance): Initialize class.
...
* java/lang/reflect/natConstructor.cc (newInstance): Initialize
class.
* java/lang/reflect/natMethod.cc (invoke): Initialize class.
From-SVN: r56624
2002-08-27 23:57:17 +00:00
Michael Koch
49c3c980ca
BindException.java, [...]: add/update of some @since/@deprecated
...
2002-08-27 Michael Koch <konqueror@gmx.de>
* java/net/BindException.java,
java/net/JarURLConnection.java,
java/net/FileNameMap.java,
java/net/HttpURLConnection.java,
java/net/InetSocketAddress.java,
java/net/DatagramPacket.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/MulticastSocket.java,
java/net/PasswordAuthentication.java,
java/net/ServerSocket.java,
java/net/Socket.java,
java/net/URLClassLoader.java,
java/net/URLConnection.java: add/update of some @since/@deprecated
From-SVN: r56608
2002-08-27 17:47:27 +00:00
Tony Kimball
835cb22e3b
natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define.
...
2002-08-27 Tony Kimball <alk@pobox.com>
Tom Tromey <tromey@redhat.com>
* java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
define.
(::close): Removed.
(PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
* java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
(::close): Removed.
(PlainSocketImpl::close): Use NATIVE_CLOSE.
* include/win32.h (getcwd): Removed declaration. Include io.h.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r56605
2002-08-27 16:08:31 +00:00
Adam Megacz
6005baa707
win32.h (getcwd): copied function declaration as temporary fix for header confusion.
...
2002-08-25 Adam Megacz <adam@xwt.org>
* include/win32.h (getcwd): copied function declaration as
temporary fix for header confusion.
From-SVN: r56574
2002-08-26 05:29:59 +00:00
Mark Wielaard
6e0532cdf6
Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
...
* Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
(core_java_source_files): Add VMThrowable.java and NameFinder.java
(nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
and natNameFinder.cc.
* Makefile.in: Regenerate.
* prims.cc: Use trace_enabled from VMThrowable.
* name-finder.cc: Removed.
* gcj/javaprims.h: Add class VMThrowable.
* gnu/gcj/runtime/NameFinder.java: New file.
* gnu/gcj/runtime/natNameFinder.cc: Likewise.
* include/name-finder.h: Removed.
* java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
method stackTraceString().
(printStackTrace (PrintWriter)): Likewise.
(stackTraceString): Complete rewrite of old printStackTrace using
StringBuffer.
(stackTraceStringBuffer): New helper method for stackTraceString().
(fillInStackTrace): Delegate to VMTrowable.
(getStackTrace): Likewise.
(getStackTrace0): Removed.
(trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
(setStackTrace): Copy given array.
* java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
* java/lang/VMThrowable.java: New class.
* java/lang/natVMThrowable.cc: New file.
From-SVN: r56556
2002-08-24 22:46:19 +00:00
Michael Koch
6347f94ca8
URLConnection.java, [...]: Added implementation of getHeaderFields().
...
2003-08-23 Michael Koch <konqueror@gmx.de>
* java/net/URLConnection.java,
java/netJarURLConnection.java,
gnu/gcj/protocol/core/Connection.java,
gnu/gcj/protocol/file/Connection.java,
gnu/gcj/protocol/http/Connection.java: Added implementation of
getHeaderFields().
From-SVN: r56532
2002-08-23 04:54:03 +00:00
Tom Tromey
2263ca09cb
gij.cc (help): Document -cp and -classpath.
...
* gij.cc (help): Document -cp and -classpath.
(main): Handle -classpath.
From-SVN: r56522
2002-08-22 22:44:26 +00:00
Tom Tromey
75c6e5486b
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Added
SocketAddress.java, InetSocketAddress.java.
* java/net/PortUnreachableException.java: Merged with Classpath.
* java/net/SocketTimeoutException.java: Likewise.
* java/net/URISyntaxException.java: Likewise.
* java/net/SocketAddress.java: New class from Classpath.
* java/net/InetSocketAddress.java: Likewise.
From-SVN: r56494
2002-08-21 18:54:07 +00:00
Michael Koch
386230f050
Authenticator.java: updated JDK 1.4
...
2003-08-21 Michael Koch <konqueror@gmx.de>
* java/net/Authenticator.java: updated JDK 1.4
* java/net/ContentHandler.java: updated JDK 1.4
From-SVN: r56481
2002-08-21 05:34:45 +00:00
Michael Koch
9595a7fe2f
URISyntaxException.java: New file.
...
2002-08-20 Michael Koch <konqueror@gmx.de>
* java/net/URISyntaxException.java: New file.
* java/net/SocketTimeoutException.java: New file.
* java/net/PortUnreachableException.java: New file.
* Makefile.am: Updated.
* Makefile.in: Rebuilt.
From-SVN: r56452
2002-08-20 02:33:15 +01:00
Mark Wielaard
b4a12d090d
Thanks to Vladimir Puskas <vpuskas@eunet.yu>
...
Thanks to Vladimir Puskas <vpuskas@eunet.yu>
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783 ).
From-SVN: r56425
2002-08-18 18:30:09 +00:00
Jesse Rosenstock
093f02000f
natPosixProcess.cc (cleanup): Added `path' argument.
...
2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
* java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
(startProcess): Allocate path for chdir in async-signal-safe way.
From-SVN: r56330
2002-08-14 19:53:54 +00:00
Jesse Rosenstock
eb812b2c15
Fix for PR libgcj/7570 and PR libgcj/7578:
...
2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
Fix for PR libgcj/7570 and PR libgcj/7578:
* java/lang/natPosixProcess.cc: Include java/io/File.h.
(startProcess): Handle new `dir' argument.
* java/lang/Win32Process.java (ConcreteProcess): Added `dir'
argument.
* java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
argument.
(startProcess): Likewise.
* java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
argument.
* java/lang/Runtime.java (execInternal): Added `dir' argument.
(exec): Don't create new environment if ENV==null. Pass DIR to
execInternal.
* java/lang/natRuntime.cc: Include java/io/File.h.
(execInternal): Added `dir' argument.
From-SVN: r56268
2002-08-14 01:07:59 +00:00
Jesse Rosenstock
03496eb121
RandomAccessFile.java (skipBytes): Return number of bytes skipped.
...
2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
* java/io/RandomAccessFile.java (skipBytes): Return number of
bytes skipped.
From-SVN: r56265
2002-08-13 23:10:11 +00:00
Mark Wielaard
caad61a13c
Reenable patch since shared library troubles on powerpc are solved:
...
* gnu/java/security/provider/Gnu.java: Reference all implementation
classes by using Class.getName().
* gnu/java/security/der/DEREncodingException.java,
gnu/java/security/provider/DERReader.java,
gnu/java/security/provider/DERWriter.java,
gnu/java/security/provider/DSAKeyPairGenerator.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/MD5.java,
gnu/java/security/util/Prime.java: New classes
* Makefile.am (ordinary_java_source_files): Add above files.
* Makefile.in: Regenerate.
* gnu/java/security/provider/DefaultPolicy.java
(getPermissions): Don't maintain static class variable of Permissions.
* gnu/java/security/provider/SHA.java
(engineUpdate): algorithm change.
(engineDigest): algorithm change.
From-SVN: r56203
2002-08-11 12:08:03 +00:00
Bryce McKinlay
55202bee3c
[multiple changes]
...
2002-08-09 Mark Wielaard <mark@klomp.org>
* java/awt/image/MemoryImageSource.java: Change constructor to take
int[] not byte[].
* java/awt/Graphics2D.java: Uncomment methods that can now be
compiled.
* java/awt/GridBagLayout.java: New stub implementation.
* javax/swing/text/html/HTML.java: Stub implementation.
* javax/swing/text/html/parser/ParserDelegator.java: New stub
implementation.
2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
methods in Graphics2D.
* Makefile.am: Add new files.
* Makefile.in: Rebuilt.
From-SVN: r56152
2002-08-09 06:52:52 +01:00
Bryce McKinlay
ef1c32c637
More AWT/Swing merge from GNU Classpath.
...
From-SVN: r56151
2002-08-09 05:45:29 +01:00
Bryce McKinlay
df74f07755
Correct ChangeLog for XToolkit changes.
...
From-SVN: r56150
2002-08-09 05:36:05 +01:00
Bryce McKinlay
084ef9cf09
More AWT/Swing merge from GNU Classpath.
...
From-SVN: r56149
2002-08-09 05:32:43 +01:00
Bryce McKinlay
8f5c92a0a3
More AWT/Swing merge from GNU Classpath.
...
From-SVN: r56148
2002-08-09 05:29:59 +01:00
Bryce McKinlay
7bde45b2eb
AWT/Swing merge from GNU Classpath.
...
From-SVN: r56147
2002-08-09 05:26:17 +01:00
Bryce McKinlay
6ee4402c61
ClassLoader.java (getSystemClassLoader, [...]): Add javadoc from classpath.
...
2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/lang/ClassLoader.java (getSystemClassLoader, findClass,
defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
findResource, getResources, findResources): Add javadoc from classpath.
(getSystemResources): Implemented.
From-SVN: r56092
2002-08-07 06:28:24 +01:00
Mark Wielaard
fd0ba965b2
Revert patch that breaks libgcj shared library on powerpc:
...
* gnu/java/security/provider/Gnu.java: Reverse referencing all
implementation classes by using Class.getName(). Uses Strings again.
* gnu/java/security/der/DEREncodingException.java,
gnu/java/security/provider/DERReader.java,
gnu/java/security/provider/DERWriter.java,
gnu/java/security/provider/DSAKeyPairGenerator.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/MD5.java,
gnu/java/security/util/Prime.java: Removed.
* Makefile.am (ordinary_java_source_files): Remove above files.
* Makefile.in: Regenerate.
* gnu/java/security/provider/DefaultPolicy.java
(getPermissions): Revert to maintaining static class variable of
Permissions.
* gnu/java/security/provider/SHA.java
(engineUpdate): Revert algorithm change.
(engineDigest): Revert algorithm change.
From-SVN: r55935
2002-08-01 16:06:00 +00:00
Kaz Kojima
d8278e27fe
configure.host: Add SH support.
...
* configure.host: Add SH support.
* sysdep/sh/locks.h: New file.
From-SVN: r55922
2002-08-01 05:34:54 +00:00
Bryce McKinlay
f6dbe305e3
* java/awt/Frame.java (Frame): Remove println calls.
...
From-SVN: r55901
2002-07-31 09:19:51 +01:00
Jeff Sturm
a15e868a95
configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
...
* configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
* configure: Rebuilt.
From-SVN: r55873
2002-07-30 12:36:00 +00:00
Alan Modra
61fd68b4c3
locks.h: Formatting.
...
* sysdep/powerpc/locks.h: Formatting.
(_LARX): Define.
(_STCX): Define.
(compare_and_swap): Use _LARX and _STCX.
(compare_and_swap_release): Likewise.
From-SVN: r55855
2002-07-30 08:56:27 +09:30
Tom Tromey
92847c03ab
Authenticator.java: New version from Classpath.
...
* java/net/Authenticator.java: New version from Classpath.
* java/net/DatagramSocketImpl.java: New version from Classpath.
From-SVN: r55789
2002-07-27 00:53:42 +00:00
Alan Modra
1d49f58aff
* configure.host: Add powerpc64*-* entry.
...
From-SVN: r55788
2002-07-27 09:24:28 +09:30
Tom Tromey
8a7f132d3d
natFileDescriptorPosix.cc: Don't include sys/socket.h or fcntl.h.
...
* java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
fcntl.h.
From-SVN: r55780
2002-07-26 18:33:44 +00:00
Tom Tromey
1efccea3b1
Runtime.java (loadLibrary): Pass `true' as search argument to _load.
...
* java/lang/Runtime.java (loadLibrary): Pass `true' as search
argument to _load.
From-SVN: r55727
2002-07-24 23:17:39 +00:00
Tom Tromey
ce05139c56
natFileDescriptorWin32.cc (setLength): New method.
...
2002-07-24 Tom Tromey <tromey@redhat.com>
Tony Kimball <alk@pobox.com>
* java/io/natFileDescriptorWin32.cc (setLength): New method.
* java/io/natFileDescriptorPosix.cc (setLength): New method.
* java/io/RandomAccessFile.java (setLength): New method.
* java/io/natFileDescriptorEcos.cc (setLength): New method.
* java/io/FileDescriptor.java (setLength): New method.
Co-Authored-By: Tony Kimball <alk@pobox.com>
From-SVN: r55715
2002-07-24 17:48:41 +00:00
Mark Wielaard
5526ddf6fd
[multiple changes]
...
2002-07-24 Mark Wielaard <mark@klomp.org>
* java/lang/reflect/natField.cc (setAddr): Check isAccessible().
* java/io/ObjectInputStream.java (setBooleanField): Before setting
field call setAccessible(true).
(setByteField): Likewise.
(setCharField): Likewise.
(setDoubleField): Likewise.
(setFloatField): Likewise.
(setIntField): Likewise.
(setLongField): Likewise.
(setShortField): Likewise.
(setObjectField): Likewise.
2002-07-24 Tom Tromey <tromey@redhat.com>
* java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
use toString() to format array element.
From-SVN: r55711
2002-07-24 16:05:34 +00:00
Mark Wielaard
f922660b69
MD5.java: Extends MessageDigest, not MessageDigestSpi (fixes Classpath bug #783 ).
...
* gnu/java/security/provider/MD5.java: Extends MessageDigest, not
MessageDigestSpi (fixes Classpath bug #783 ).
From-SVN: r55661
2002-07-22 23:50:13 +00:00
Mark Wielaard
31ee1b0e93
Gnu.java: Reference all implementation classes by using Class.getName().
...
* gnu/java/security/provider/Gnu.java: Reference all implementation
classes by using Class.getName().
From-SVN: r55660
2002-07-22 23:36:56 +00:00
Bo Thorsen
7b20471292
ieeefp.h: Add x86-64 support.
...
2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
* java/lang/ieeefp.h: Add x86-64 support.
* configure.in: Likewise.
* configure.host: Likewise.
* configure: Regenerated.
* sysdep/x86-64/locks.h: New file with x86-64 locks.
From-SVN: r55588
2002-07-19 16:41:15 +02:00
Mark Wielaard
00e0a9e83d
StreamTokenizer.java (pushBack): Update documentation.
...
* java/io/StreamTokenizer.java (pushBack): Update documentation.
(whitespaceChars): call resetChar().
From-SVN: r55496
2002-07-16 21:08:25 +00:00
Tom Tromey
9698ee33f0
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/beans/ExceptionListener.java: Merged with Classpath.
* java/beans/PropertyChangeEvent.java: Merged with Classpath.
* java/beans/PropertyChangeListener.java: Merged with Classpath.
* java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
* java/beans/PropertyChangeSupport.java: Merged with Classpath.
* java/beans/VetoableChangeListener.java: Merged with Classpath.
* java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
* java/beans/VetoableChangeSupport.java: Merged with Classpath.
From-SVN: r55459
2002-07-15 16:05:13 +00:00
Mark Wielaard
df815141ef
2002-07-14� Mark Wielaard� <mark@klomp.org>
...
* gnu/java/security/der/DEREncodingException.java,
gnu/java/security/provider/DERReader.java,
gnu/java/security/provider/DERWriter.java,
gnu/java/security/provider/DSAKeyPairGenerator.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/MD5.java,
gnu/java/security/util/Prime.java: New files from Classpath.
* Makefile.am (ordinary_java_source_files): Add new files.
* Makefile.in: Regenerate.
2002-07-14� C. Brian Jones <cbj@gnu.org>
* gnu/java/security/provider/DefaultPolicy.java
(getPermissions): do not maintain static class variable of
Permissions
* gnu/java/security/provider/SHA.java
(engineUpdate): algorithm change
(engineDigest): algorithm change
From-SVN: r55444
2002-07-14 22:18:35 +00:00
Jesse Rosenstock
a5774acd55
For PR libgcj/7292:
...
2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
For PR libgcj/7292:
* java/lang/Character.java (toString(char)): Now static.
From-SVN: r55427
2002-07-12 21:13:16 +00:00
Mark Wielaard
dc7b1dda60
natThrowable.cc (printRawStackTrace): removed.
...
* java/lang/natThrowable.cc (printRawStackTrace): removed.
(getStackTrace0): new method.
* java/lang/Throwable.java (CPlusPlusDemangler): removed.
(printStackTrace(PrintWriter)): replace with pure java implementation.
(printRawStackTrace): removed.
(getStackTrace0): new method.
* java/lang/StackTraceElement.java (toString): add extra whitespace.
* gcj/javaprims.h: regenerate class list.
* include/name-finder.h (lookup): new returns StackTraceElement*.
(method_name, file_name): fields removed.
(pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
(~_Jv_name_finder): close new descriptors.
* name-finder.cc(_Jv_name_finder): setup c++filt helper process.
(createStackTraceElement): new method.
(lookup): returns StackTraceElement*, uses createStackTraceElement().
From-SVN: r55424
2002-07-12 12:52:44 +00:00
Tom Tromey
2e237e3748
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Use `test' after `&&'. From Chris Faylor.
From-SVN: r55366
2002-07-10 14:30:15 +00:00
Mark Wielaard
dde7b83c64
mauve-libgcj: Don't compile java.sql.Blob.BlobTest...
...
* mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
java.sql.DatabaseMetaData.TestJdbc20
From-SVN: r55333
2002-07-08 21:36:25 +00:00
Tony Kimball
16da5ae295
natRuntime.cc (nativeGetLibname): Added missing `#'.
...
2002-07-05 Tony Kimball <alk@pobox.com>
* java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
From-SVN: r55280
2002-07-06 05:11:53 +00:00
Tom Tromey
0d49ec1158
re PR libgcj/7060 (getMethod() doesn't search super interface)
...
2002-07-04 Tom Tromey <tromey@redhat.com>
Jeff Sturm <jsturm@one-point.com>
Fix for PR libgcj/7060:
* java/lang/Class.h (_getMethod): Renamed from getMethod.
* java/lang/natClass.cc (_getMethod): Renamed from getMethod.
Recurse into superinterfaces. Don't throw NoSuchMethodException.
* java/lang/Class.java (getMethod): New Java implementation;
complies with spec.
(_getMethod): New native method.
Co-Authored-By: Jeff Sturm <jsturm@one-point.com>
From-SVN: r55266
2002-07-05 20:40:11 +00:00
Tom Tromey
aa5661e6b4
2002-07-02 Tom Tromey <tromey@redhat.com>
...
David Hovemeyer <daveho@cs.umd.edu>
* java/text/ChoiceFormat.java
(format(double,StringBuffer,FieldPosition)): Fix fencepost error
in check loop.
* java/text/MessageFormat.java
(format(Object[],StringBuffer,FieldPosition): Pass all arguments
to MessageFormat.
Co-Authored-By: David Hovemeyer <daveho@cs.umd.edu>
From-SVN: r55191
2002-07-02 19:43:06 +00:00
Tom Tromey
49925aed13
re PR libgcj/7180 (possible bug in javax.naming.spi.NamingManager.getPlusPath())
...
* javax/naming/spi/NamingManager.java (getPlusPath): Don't create
StringTokenizer on null string. For PR libgcj/7180.
From daveho@cs.umd.edu .
From-SVN: r55166
2002-07-02 02:46:27 +00:00
Tom Tromey
d74bba04e8
natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
...
* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
(IntegerClass): Likewise.
* java/lang/natClass.cc (CloneableClass): Removed.
(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
ConstructorClass): Likewise.
* java/lang/natClassLoader.cc (CloneableClass): Removed.
(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
SerializableClass): Likewise.
* java/lang/reflect/natMethod.cc (BooleanClass): Removed.
(VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
LongClass, FloatClass, DoubleClass): Likewise.
From-SVN: r54977
2002-06-25 05:29:22 +00:00
Tom Tromey
fdae83abe7
verify.cc (branch_prepass): Updated for change to exception handler type.
...
* verify.cc (branch_prepass): Updated for change to exception
handler type.
(verify_instructions_0): Likewise.
* defineclass.cc (handleCodeAttribute): Initialize `prepared'.
(handleExceptionTableEntry): Updated for change to exception
handler type.
* java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
* include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
(union _Jv_InterpPC): New.
(class _Jv_InterpException): Changed types to _Jv_InterpPC.
(class _Jv_InterpMethod): Added new `prepared' field.
(class _Jv_InterpMethod): Added `compile' method. Removed
`continue1' and `find_exception'. Changed arguments to `run'.
* interpret.cc (union insn_slot): New.
(find_exception): Removed.
(run_normal): Removed most logic.
(run_synch_object): Likewise; also, use JvSynchronize.
(run_synch_class): Likewise.
(run): Removed.
(continue1): Renamed as `run'. Compile bytecode if required.
Add new code to allow refinement of direct-threaded code at
runtime. Handle exceptions.
(SAVE_PC): Removed.
(compile): New method.
(SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
(NULLARRAYCHECK): Don't use SAVE_PC.
(pc_t): New typedef.
(TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
From-SVN: r54968
2002-06-24 20:38:47 +00:00