| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
INIT_LOAD_LIBRARY.
|
|
|
|
| |
* java/util/Properties.java (load): Ignore backslash before EOF.
|
|
|
|
| |
Include GdkFontMetrics.h, not GdkGraphics.h.
|
|
|
|
|
|
| |
* native/jni/java-net/javanet.h (SOCKOPT_SO_KEEPALIVE): new #define
* native/jni/java-net/javanet.c (_javanet_set_option): case SO_KEEPALIVE
(_javanet_get_option): case SO_KEEPALIVE
|
|
|
|
|
|
|
|
|
|
|
| |
example and setting SO_REUSEADDR before binding the port, testing
with JDK seems to indicate it does this as well
(_javanet_set_option): support SO_REUSEADDR; use JNI_TRUE/JNI_FALSE
instead of 1/0 where applicable. Do not throw exception if setting
SO_TIMEOUT fails; appears JDK does not throw exception and may be
using alarm or setitimer (see `man 7 socket' on GNU/Linux)
(_javanet_get_option): support SO_REUSEADDR; use JNI_TRUE/JNI_FALSE
instead of 1/0 where applicable
|
|
|
|
|
| |
* java/awt/Component.java (processPaintEvent): Dispose of Graphics
object when finished.
|
| |
|
| |
|
|
|
|
|
| |
2003-01-17.
* java/awt/Toolkit.java: Likewise.
|
|
|
|
|
|
| |
is supposed to be a short instead of an int; merged with gcj
(tertiaryOrder): ditto
(primaryOrder): merged with gcj
|
|
|
|
|
|
| |
* java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
(toString): do not return Strings starting with . and - erroneously.
Improves Mauve results to 12 of 600 instead of 16 of 338 on DiagBigDecimal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: note jni.h updates and patches
* include/jni.h.in (AttachCurrentThreadAsDaemon): new function
2003-01-25 Stephen Crawley <crawley@dstc.edu.au>
* include/jni.h.in (JNI_VERSION_1_4): new define
(NewDirectByteBuffer): new function
(GetDirectBufferAddress): new function
(GetDirectBufferCapacity): new function
(_JNI_VM_INTERNAL_TYPES_DEFINED): if defined, do not use default
declarations for jobject, jfieldID, and jmethodID
|
|
|
|
| |
ObjectStreamExceptions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(annotateClass): Likewise.
(annotateProxyClass): Likewise.
(write): Likewise.
* (callWriteMethod): No longer native.
* (getBooleanField): Likewise.
* (getByte): Likewise.
* (getCharField): Likewise.
* (getDoubleField): Likewise.
* (getFloatField): Likewise.
* (getIntField): Likewise.
* (getLongField): Likewise.
* (getShortField): Likewise.
* (getObjectField): Likewise.
* native/jni/java-io/java_io_ObjectOutputStream.c: Removed.
* native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Remove
java_io_ObjectOutputStream.c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(annotateClass): Likewise.
(annotateProxyClass): Likewise.
(write): Likewise.
* (callWriteMethod): No longer native.
* (getBooleanField): Likewise.
* (getByte): Likewise.
* (getCharField): Likewise.
* (getDoubleField): Likewise.
* (getFloatField): Likewise.
* (getIntField): Likewise.
* (getLongField): Likewise.
* (getShortField): Likewise.
* (getObjectField): Likewise.
* native/jni/java-io/java_io_ObjectOutputStream.c: Removed.
* native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Remove
java_io_ObjectOutputStream.c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
according to System property.
(resolveObject): Moved to allign with libgcj version.
(read): Make sure result is positive.
(getField): New method.
(getMethod): Likewise.
(callReadMethod): No longer native.
(setBooleanField): Likewise.
(setByteField): Likewise.
(setCharField): Likewise.
(setDoubleField): Likewise.
(setFloatField): Likewise.
(setIntField): Likewise.
(setLongField): Likewise.
(setShortField): Likewise.
(setObjectField): Likewise.
(setDump): Removed.
* native/jni/java-io/java_io_ObjectInputStream.c (callReadMethod):
removed.
(setBooleanField): removed.
(setByteField): removed.
(setCharField): Removed.
(setDoubleField): Removed.
(setFloatField): Removed.
(setIntField): Removed.
(setLongField): Removed.
(setShortField): Removed.
(setObjectField): Removed.
* include/java_io_ObjectInputStream.h: Regenerated.
|
|
|
|
|
| |
* gnu/java/io/encode/EncoderUTF8.java (bytesInCharArray): Use offset.
(convertToBytes): Likewise.
|
|
|
|
|
| |
* gnu/classpath/Configuration.java.in (AWT_TOOLKIT): New
constant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in (AC_OUTPUT): Add vm/reference/java/io/Makefile.
* include/java_io_VMObjectOutputStream.h: New pregenerated header file.
* java/io/ObjectStreamClass.java (getClassUID): Call
VMObjectStreamClass.hasClassInitializer().
(hasClassInitializer): Removed.
* native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Add
java_io_ObjectStreamClass.c
* native/jni/java-io/java_io_ObjectStreamClass.c: New file.
* vm/reference/java/Makefile.am (SUBDIRS): Add io.
* vm/reference/java/io/.cvsignore: New file.
* vm/reference/java/io/Makefile.am: New file.
* vm/reference/java/io/VMObjectStreamClass.java: New class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jeroen Frijters <jeroen@sumatra.nl>
* java/net/URLClassLoader.java (Resource.getCodeSource):
Fix check certs == null.
(getCanonicalFileURL): Removed method.
(JarURLLoader): Don't call removed method.
(FileURLLoader): Likewise.
(FileURLLoader.getResource): Don't canonicalize file name.
2003-01-17 Mark Wielaard <mark@klomp.org>
* java/lang/ClassLoader.java (normalize): Removed.
(getResource): Don't call normalize.
(getResources): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in (AC_OUTPUT): Add vm/reference/java/io/Makefile.
* include/java_io_VMObjectOutputStream.h: New pregenerated header file.
* java/io/ObjectStreamClass.java (getClassUID): Call
VMObjectStreamClass.hasClassInitializer().
(hasClassInitializer): Removed.
* native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Add
java_io_ObjectStreamClass.c
* native/jni/java-io/java_io_ObjectStreamClass.c: New file.
* vm/reference/java/Makefile.am (SUBDIRS): Add io.
* vm/reference/java/io/.cvsignore: New file.
* vm/reference/java/io/Makefile.am: New file.
* vm/reference/java/io/VMObjectStreamClass.java: New class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in (AC_OUTPUT): Add vm/reference/java/io/Makefile.
* include/java_io_VMObjectOutputStream.h: New pregenerated header file.
* java/io/ObjectStreamClass.java (getClassUID): Call
VMObjectStreamClass.hasClassInitializer().
(hasClassInitializer): Removed.
* native/jni/java-io/Makefile.am (libjavaio_la_SOURCES): Add
java_io_ObjectStreamClass.c
* native/jni/java-io/java_io_ObjectStreamClass.c: New file.
* vm/reference/java/Makefile.am (SUBDIRS): Add io.
* vm/reference/java/io/.cvsignore: New file.
* vm/reference/java/io/Makefile.am: New file.
* vm/reference/java/io/VMObjectStreamClass.java: New class.
|
|
|
|
|
| |
* java/awt/image/ImageFilter.java (getFilterInstance): Calling clone()
doesn't throw exception.
|
|
|
|
| |
toString() on possible null address.
|
|
|
|
|
| |
* java/net/MulticastSocket.java
(setInterface): Merged with libgcj, reindented.
|
|
|
|
|
|
|
|
| |
* java/awt/CardLayout.java (show): Rewrote.
(gotoComponent): Removed `target' argument. Simplified code.
Don't pre-compute `choice' unless `what' is FIRST or LAST.
Changed all callers.
(NONE): Removed.
|
|
|
|
|
|
|
|
|
| |
* java/net/InetSocketAddress.java
(serialVersionUID): New member variable.
* java/net/NetPermission.java
(NetPermission): Dont implement java.io.Serialization directly.
* java/net/SocketAddress.java:
(serialVersionUID): Documentation added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/awt/Label.java
(Label): Implements javax.accessibility.Accessible;
* java/awt/List.java
(List): Implements javax.accessibility.Accessible;
* java/awt/ScrollPane.java
(ScrollPane): Implements javax.accessibility.Accessible;
* java/awt/Scrollbar.java
(Scrollbar): Implements javax.accessibility.Accessible;
* java/awt/TextComponent.java
(setCaretPosition): Throw exception, documentation added.
* java/awt/Toolkit.java:
Added some newlines in method documentations.
(createButton): Exception documentation added.
(createTextField): Exception documentation added.
(createLabel): Exception documentation added.
(createList): Exception documentation added.
(createCheckbox): Exception documentation added.
(createScrollbar): Exception documentation added.
(createScrollPane): Exception documentation added.
(createTextArea): Exception documentation added.
(createChoice): Exception documentation added.
(createFrame): Exception documentation added.
(createWindow): Exception documentation added.
(createDialog): Exception documentation added.
(createMenuBar): Exception documentation added.
(createMenu): Exception documentation added.
(createMenuItem): Exception documentation added.
(createFileDialog): Exception documentation added.
(createCheckboxMenuItem): Exception documentation added.
(loadSystemColors): Exception documentation added.
(setDynamicLayout): Exception documentation added.
(isDynamicLayoutSet): Exception documentation added.
(isDynamicLayoutActive): Exception documentation added.
(getScreenSize): Exception documentation added.
(getScreenResolution): Exception documentation added.
(getScreenInsets): Exception documentation added.
(getColorModel): Exception documentation added.
(getSystemClipboard): Exception documentation added.
(getSystemSelection): Exception documentation added.
(getMenuShortcutKeyMask): Exception documentation added.
(getSystemEventQueue): Exception documentation added.
* java/awt/Window.java:
Reindented some code.
(Window): Centralized implementation, documentation added.
(finalize): Documentation added.
(hide): Fixed typo in comment.
(getWindowListeners): Documentation added.
* java/awt/color/ColorSpace.java
(toRGB): Documentation added.
* java/awt/color/ICC_ColorSpace.java
(ICC_ColorSpace): Documentation added.
(toRGB): Throw exception, documentation added.
(fromRGB): Throw exception, documentation added.
(toCIEXYZ): Documentation added.
(fromCIEXYZ): Documentation added.
(getMinValue): Documentation added.
(getMaxValue): Documentation added.
* java/awt/geom/Dimension2D.java
(clone): Documentation added.
* java/awt/geom/GeneralPath.java
(clone): Documentation added.
* java/awt/geom/Line2D.java
(clone): Documentation added.
* java/awt/geom/QuadCurve2D.java
(clone): Documentation added.
* java/awt/image/ColorModel.java
(ColorModel): Throw exception, documentation added.
* java/awt/image/ImageFilter.java
(clone): Doesnt throw CloneNotSupportedException.
|
|
|
|
|
| |
htmllist is empty.
(uninstall-local): Likewise.
|
|
|
|
|
| |
* java/awt/DisplayMode.java
(equals): Fixed argument type and implementation.
|
|
|
|
|
| |
(getCallingClassLoader): Likewise.
(getObject): Likewise.
|
|
|
|
| |
from Sasha Brawer, includes a couple of javadoc typo fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* missing: ditto
* install-sh: ditto
* config.sub: ditto
* config.guess: ditto
* depcomp: ditto
* doc/texinfo.tex: ditto
* configure.in: check for headers sys/ioctl.h asm/ioctls.h
* native/jni/java-net/java_net_PlainSocketImpl.c: include config.h,
checks for HAVE_SYS_IOCTL_H and HAVE_ASM_IOCTL_H, exclude for _AIX
asm/ioctls.h, parts of patch from Julian Dolby
2003-01-10 Julian Dolby <dolby@us.ibm.com>
* native/fdlibm/fdlibm.h: define _XOPEN_SOURCE for AIX
* native/fdlibm/ieeefp.h: defines for _POWER as well as __PPC__
|
|
|
|
|
| |
* java/io/ObjectOuputStream.java:
Reformated, no code or documentation changes.
|
|
|
|
|
|
|
|
|
| |
2003-01-05 Julian Dolby <dolby@us.ibm.com>
* java/util/ResourceBundle.java (tryBundle): If an exception
occurs, do not try to use the bundle.
* (static): initialize static reference to loaded ResourceBundle and
ResourceBundle$Security
* (getCallingClassLoader): Use new static references
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/io/ObjectStreamClass.java (isProxyClass): Now a field.
(setClass): Throws InvalidClassException.
(setSuperclass): Use getClassUID if not a proxy Class.
(setFields): Make sure to call setAccessible(true).
(setUID): Renamed to...
(getClassUID): Return the uid. Call setAccessible(true) for field.
Fall back to Gnu provider SHA algorithm if necessary.
(getDefinedSUID): Removed method.
(hasClassInitializer): Don't throw NoSuchMethodError.
(static): Removed.
* java/io/ObjectOutputStream.java (writeObject): Use isProxyClass.
|
|
|
|
|
|
|
| |
* gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
Don't throw RemoteException.
* java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
throw RemoteException.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(readLeShort(DataInput, byte[])): Read from given byte array.
(readLeInt(DataInput, byte[]): Likewise.
(readLeShort(byte[] b, int off)): New method.
(readLeInt(byte[] b, int off)): Likewise.
(readEntries): Use byte arrays to read info in bigger chunks.
(getEntries): Return HashMap.
(getEntry): Use HashMap.
(locBuf): New private field.
(checkLocalHeader): Use locBuf to read info in one chunk.
(getInputStream): Use entries HashMap, wrap PartialInputStream
in BufferedInputStream.
(ZipEntryEnumeration): Use HashMap and Interator.
|
|
|
|
|
|
|
| |
final.
* java/awt/Scrollbar.java: Typo fix.
* java/awt/BasicStroke.java: Typo fixes.
* java/awt/Adjustable.java: Don't mark fields as static or final.
|
|
|
|
|
| |
extra `lib'.
* javax/naming/InitialContext.java (init): Remove extra `lib'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
gnu.classpath.home.url.
* java/util/logging/LogManager.java (readConfiguration): Use
gnu.classpath.home.url.
* java/security/Security.java: Use new properties.
(loadProviders): Accept base url; use it.
* java/lang/System.java: Document gnu.classpath.vm.shortname, and
gnu.classpath.home.url.
(gnu.classpath.home.url): Define.
(gnu.classpath.vm.shortname): Likewise.
|
|
|
|
| |
host != null.
|
| |
|
|
|
|
| |
connection
|
|
|
|
| |
through to default case after escaping character.
|
|
|
|
| |
if zero or smaller.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* TODO: removed easy HTML API generation todo item, it's done now;
mention that CNI code won't be included in Classpath CVS for now
since only gcj is using it
* README: remove special mention of ORP
* NEWS: add blurb about infrastructure improvements
* HACKING: update automake, autoconf version numbers; remove
mention of gcjh for compiling JNI libraries; updated gcj/jikes
version numbers
* lib/Makefile.am: distribute glibj.zip; uninstall no-zip case;
separate resources target; avoid extra gen-classlist.sh calls;
support DESTDIR
* doc/api/Makefile.am: distribute HTML API documentation; install
documentation in pkgdatadir/api; uninstall appropriately; support
DESTDIR
* resource/gnu/java/awt/peer/gtk/Makefile.am: add uninstall-local
target; support DESTDIR
* resource/java/security/Makefile.am: add uninstall-local target;
support DESTDIR
* javax/swing/Makefile.am: BoundedRangeModel missing .java extension
* javax/transaction/xa/Makefile.am: Removed xa/ from filenames
* java/awt/dnd/Makefile.am: added missing .java files to dist
* java/net/Makefile.am: added missing .java files to dist
* java/nio/channels/Makefile.am: added missing .java files to dist
* javax/naming/Makefile.am: added missing .java files to dist
* javax/naming/directory/Makefile.am: added missing .java files to dist
* javax/naming/event/Makefile.am: new file
* javax/naming/event/.cvsignore: new file
* javax/naming/ldap/Makefile.am: new file
* javax/naming/ldap/.cvsignore: new file
* javax/naming/spi/Makefile.am: added missing .java files to dist
* javax/sql/Makefile.am: added missing .java files to dist
* javax/sql/.cvsignore: new file
* javax/swing/plaf/Makefile.am: added missing .java files to dist
* javax/swing/Makefile.am: added missing .java files to dist
* Makefile.am: ignore errors during dist-hook
* configure.in: add missing directory Makefiles to output; add
check for 'date', 'cp', and 'mkdir'
* acinclude.m4: remove check for 'find' and 'cp'
|