| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
GenerateBreakIteratorData tool
2012-10-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/55140
* NEWS: List fix.
* java/lang/String.java:
(codePointBefore(int)): Fix index check to match spec.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
| |
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/41689
* javax/security/sasl/Sasl.java:
(CREDENTIALS): Add missing field.
* NEWS: Updated.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
| |
2012-10-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Updated with latest bug fixes.
* THANKYOU: Add bug authors.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
| |
2012-10-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* configure.ac: Set to 0.99.1pre, as
0.99.1 will now be next release.
* NEWS: Updated with last bug fix
and 0.99.1
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-09-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/42134
* java/text/Bidi.java:
(Bidi(AttributedCharacterIterator)): Remove shadow
variable text which hides the instance variable
of the same name. Remove unnecessary use of this.
* NEWS: Updated.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
| |
2012-03-16 Andrew John Hughes <ahughes@redhat.com>
* NEWS: Add key along the same lines
as IcedTea.
Signed-off-by: Andrew John Hughes <gnu_andrew@member.fsf.org>
|
|
|
|
|
|
|
|
|
| |
2012-03-07 Andrew John Hughes <ahughes@redhat.com>
* NEWS:
Add section for 1.0 release.
* configure.ac:
Bump to 1.0pre.
|
|
|
|
|
|
| |
2012-02-15 Andrew John Hughes <ahughes@redhat.com>
* NEWS: Updated prior to release.
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS:
Add stub for 0.99.
* configure.ac:
Bump to 0.99.
* doc/www.gnu.org/announce/20090205.wml,
* doc/www.gnu.org/downloads/downloads.wml,
* doc/www.gnu.org/newsitems.txt:
Update website.
|
|
|
|
|
|
| |
2009-02-05 Andrew John Hughes <ahughes@redhat.com>
* NEWS: Add VM updates.
|
|
|
|
|
|
|
|
| |
2009-02-05 Andrew John Hughes <ahughes@redhat.com>
* NEWS: Updated.
* configure.ac:
Bump to 0.98 proper.
|
|
|
|
|
|
|
|
|
| |
2008-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/www.gnu.org/announce/20080606.wml,
* doc/www.gnu.org/newsitems.txt:
Add 0.97.2 annoncement.
* NEWS: Add 0.97.1 and 0.97.2 updates.
|
|
|
|
| |
* NEWS: Added building of gjdoc into tools.
|
|
|
|
|
| |
* NEWS:
Mention GMP and CPStringBuilder.
|
|
|
|
|
| |
* NEWS: Add 0.98.
* configure.ac: Set version to 0.98-pre.
|
|
|
|
|
| |
* NEWS: Set date for 0.97.
* configure.ac: Set version to 0.97
|
|
|
|
|
|
| |
* vm/reference/java/lang/reflect/Constructor.java,
* vm/reference/java/lang/reflect/Method.java:
(getParameterAnnotations()): Added.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR classpath/34578:
* NEWS: Mention javah and javac build changes.
* configure.ac: Call AC_PROG_JAVAC and
CLASSPATH_JAVAC_MEM_CHECK instead of CLASSPATH_FIND_JAVAC.
* examples/Makefile.am: Simplify compiler choice
to just use JAVAC.
* lib/Makefile.am: Likewise, but with JAVAC_MEM_OPT too.
* m4/ac_prog_javac.m4: New file.
* m4/ac_prog_javac_works.m4: Likewise.
* m4/acinclude.m4:
(CLASSPATH_FIND_JAVAC): Removed.
(CLASSPATH_WITH_GCJ): Removed.
(CLASSPATH_CHECK_GCJ): Removed.
(CLASSPATH_WITH_JIKES): Removed.
(CLASSPATH_CHECK_JIKES): Removed.
(CLASSPATH_WITH_KJC): Removed.
(CLASSPATH_CHECK_KJC): Removed.
(CLASSPATH_WITH_ECJ): Removed.
(CLASSPATH_CHECK_ECJ): Removed.
(CLASSPATH_WITH_JAVAC): Removed.
(CLASSPATH_CHECK_JAVAC): Removed.
(CLASSPATH_JAVAC_MEM_CHECK): Added.
* tools/Makefile.am: Simplify compiler choice
to just javac.
|
|
|
|
|
| |
* NEWS: Documented removal of floatToIntBits and doubleToLongBits from
VM interface.
|
|
|
|
|
|
|
|
|
| |
* NEWS: Kickoff updates for 0.97.
* configure.ac: Set version to 0.97-pre.
* doc/www.gnu.org/newsitems.txt: Add 0.96.1.
* doc/www.gnu.org/downloads/downloads.wml: Likewise.
* doc/www.gnu.org/announce/20071015.wml: Add missing URLs.
* doc/www.gnu.org/announce/20071016.wml: New file.
|
|
|
|
| |
* configure.ac: Set version to 0.96.1
|
|
|
|
|
| |
* NEWS: Kickoff updates for 0.97.
* configure.ac: Set version to 0.97-pre.
|
|
|
|
|
| |
* NEWS: Add date of 0.96 release.
* configure.ac: Set version to 0.96.
|
|
|
|
| |
* NEWS: Added entry for Escher peers.
|
|
|
|
| |
* NEWS: Updated for 0.96
|
|
|
|
|
|
|
| |
* NEWS: Update with info on VM changes.
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
(getHeapMemoryUsage()): New default implementation.
(getNonHeapMemoryUsage()): Likewise.
|
|
|
|
|
|
|
|
|
| |
* java/lang/Float.java
(toString(float)): Call VMFloat instead of VMDouble.
(parseFloat): Call VMFloat. Fixed comment.
* vm/reference/java/lang/VMFloat.java
(toString, parseFloat): New methods.
NEWS: added note about these changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jakub Jelinek <jakub@redhat.com>
PR libgcj/17002
PR classpath/28550
* java/util/Date.java (parse): Properly parse 09:01:02 as
hours/minutes/seconds, not as hours/minutes/year.
* java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
{start,end}TimeMode constructor by calling shorter constructor,
set {start,end}TimeMode fields after it returns.
(setStartRule): Don't adjust startTime into WALL_TIME. Set
startTimeMode to WALL_TIME.
(endStartRule): Similarly.
(getOffset): Handle properly millis + dstOffset overflowing into the
next day. Adjust startTime resp. endTime based on startTimeMode
resp. endTimeMode.
* java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
static fields.
(timezones): Remove synchronized keyword. Set zoneinfo_dir.
If non-null, set up aliases0 and don't put anything into
timezones0.
(defaultZone): Call getTimeZone instead of timezones().get.
(getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
getTimeZoneInternal instead of timezones().get.
(parseTime): Parse correctly hour:minute.
(getTimeZoneInternal): New private method.
(getTimeZone): Do the custom ID checking first, canonicalize
ID for custom IDs as required by documentation. Call
getTimeZoneInternal to handle the rest.
(getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
(getAvailableIDs(File,String,ArrayList)): New private method.
(getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
* vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
To read /etc/localtime, use ZoneInfo.readTZFile instead of
VMTimeZone.readtzFile. Get better timezone name for
/etc/localtime, either if it is a symlink or through
/etc/sysconfig/clock.
(readSysconfigClockFile): New static method.
(readtzFile): Removed.
* gnu/java/util/ZoneInfo.java: New file.
* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
* NEWS: Documented TimeZone interface changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Mention 1.6 support for java.lang.management
* configure.ac: Check for getloadavg.
* examples/gnu/classpath/examples/management/TestOS.java:
Print system load average.
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
(getSystemLoadAverage()): Implemented.
* include/Makefile.am: Add new header.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h:
Regenerated.
* include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h:
Generated.
* java/lang/management/OperatingSystemMXBean.java:
(getSystemLoadAverage()): Implemented.
* native/jni/java-lang/Makefile.am: Add new native code.
* native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c:
New file.
* vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java:
Likewise.
|
|
|
|
|
| |
* NEWS:
Add information on threading bean VM update.
|
|
|
|
| |
* Merge of generics-branch to HEAD (woohoo!)
|
| |
|
|
|
|
| |
* NEWS: Add release date.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* INSTALL: Don't mention --with-asm.
* tools/external/README: New file.
* tools/toolwrapper.c (main): Don't use ASM_JAR.
* tools/gjavah.in: Don't use PATH_TO_ASM.
* tools/grmic.in: Likewise.
* tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
'asm'.
(javah, rmic): Removed variables.
(bin_PROGRAMS): Updated.
(gappletviewer_CFLAGS): Don't define ASM_JAR.
(gjarsigner_CFLAGS): Likewise.
(gkeytool_CFLAGS): Likewise.
(gjar_CFLAGS): Likewise.
(gnative2ascii_CFLAGS): Likewise.
(gserialver_CFLAGS): Likewise.
(grmiregistry_CFLAGS): Likewise.
(gtnameserv_CFLAGS): Likewise.
(gorbd_CFLAGS): Likewise.
(grmid_CFLAGS): Likewise.
(gjavah_CFLAGS): Likewise.
(grmic_CFLAGS): Likewise.
(bin_SCRIPTS): Updated.
(TOOLS_JAVA_FILES): Updated.
($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
* configure.ac: Removed --with-asm. Always build gjavah.
|
|
|
|
| |
* NEWS: Add entry about improved HTML support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/net/PlainDatagramSocketImpl.java:
(connect): Use VMChannel instance for connect call.
(getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
(setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
(setOption): Handle multicast options.
(getOption): Handle multicast options.
* gnu/java/net/PlainSocketImpl.java:
(getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
(setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
(setOption): Filter unappropriate options.
(getOption): Filter unappropriate options.
(connect): Use given SocketAddress.
(close): Reset address and port.
(getInetAddress):
* include/Makefile.am: Removed all occurences of
gnu_java_net_VMPlainDatagramSocketImpl.h.
* include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
* native/jni/java-net/Makefile.am: Removed
gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
Removed.
as SocketException, declare to throw SocketException.
* native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
for SocketException and ConnectException.
(Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
of IOException.
(Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
of IOException.
(Java_gnu_java_nio_VMChannel_accept): Rewritten.
(JCL_thread_interrupted): New function.
(initIDs): Added initialisation for isThreadInterrupted method id.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
CPNET_IP_TTL to java_sockopt enum.
(Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
case, handle SO_LINGER case properly.
(Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
case, handle SO_LINGER case properly.
(Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
function.
(Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
function.
(Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
function.
(Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
IPV6_LEAVE_GROUP.
* vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
* vm/reference/gnu/java/nio/VMChannel.java:
(connect(int, byte[], int, int)): Declare to throw SocketException.
(connect6): Declare to throw SocketException.
(connect(InetSocketAddress, int)): Catch IOException and rethrow
(isThreadInterrupted): New method.
* vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
field.
(setTimeToLive): New method.
(getTimeToLive): New method.
(setMulticastInterface(int, InetAddress)): New method.
(setMulticastInterface(int, int, Inet4Address): New method.
(setMulticastInterface6(int, int, Inet6Address): New method.
(setOptions): Handle SO_LINGER case.
(getOptions): Add missing SO_REUSEADDR case.
* java/net/Socket.java:
(Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
when exception was thrown out of connect().
(setSoLinger): Replaced instantiations with valueOf calls, replaced
Boolean.FALSE with Integer.valueOf(-1).
* native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
* native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
* NEWS: Documented VM interface changes.
|
|
|
|
| |
* NEWS: mention epoll selector along with the kqueue one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: updated.
* configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
(AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
kqueue, and kevent.
(HAVE_INET6): define if IPv6 is supported.
* gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
(native_fd): removed.
(impl): new field.
(<init>): throw IOException; initialize fields.
(finalize): removed.
(getNativeFD): removed.
(bind): use `PlainSocketImpl.bind.'
(create): use `PlainSocketImpl.initSocket.'
(disconnect): use `PlainSocketImpl.disconnect.'
(getLocalPort): new method.
(send): use `VMChannel.send.'
(receive): use `VMChannel.receive.'
(setOption): use `PlainSocketImpl.setOption.'
(getOption): use `PlainSocketImpl.getOption.'
(close): use `VMChannel.State.close.'
(join): use `PlainSocketImpl.join.'
(leave): use `PlainSocketImpl.leave.'
(joinGroup, leaveGroup): implemented.
* gnu/java/net/PlainSocketImpl.java: make non-final.
(native_fd): removed.
(impl): new field.
(channel): new field.
(<init>): initialize `impl.'
(finalize, getNativeFD): removed.
(setOption): use `PlainSocketImpl.setOption.'
(getOption): use `PlainSocketImpl.getOption.'
(shutdownInput): use `PlainSocketImpl.shutdownInput.'
(shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
(create): create `channel,' initialize `impl's native state.
(connect): use `connect(SocketAddress, int).'
(connect): use `SocketChannelImpl.connect;' initialize `address'
and `port.'
(bind): use `VMPlainSocketImpl.bind.'
(listen): use `VMPlainSocketImpl.listen.'
(accept): use `SocketChannelImpl.accept.'
(available): use `VMChannel.available.'
(close): use `PlainSocketImpl.close.'
(sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
(getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
getPort): new methods.
(SocketInputStream.read): use `VMChannel.read.'
(SocketInputStream.read): use `SocketChannel.read.'
(SocketOutputStream.write): use `VMChannel.write.'
(SocketOutputStream.write): use `SocketChannel.write.'
* gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
(channel): new field.
(<init>): initialize `channel.'
(implCloseSelectableChannel): use `VMChannel.close.'
(implConfigureBlocking): use `VMChannel.setBlocking.'
(connect): use `VMChannel.connect.'
(disconnect): use `VMChannel.disconnect.'
(isConnected): use `VMChannel.getPeerAddress.'
(write): use `VMChannel.write.'
(write): use `VMChannel.writeGathering.'
(read): use `VMChannel.read.'
(read): use `VMChannel.readScattering.'
(receive): use `VMChannel.receive.'
(send): use `VMChannel.send.'
(getVMChannel): new method.
* gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
access native FD through VMChannel.State.
* gnu/java/nio/FileChannelImpl.java: moved from
gnu/java/nio/channels/FileChannelImpl.java.
* gnu/java/nio/FileLockImpl.java: fix imports.
* gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
* gnu/java/nio/KqueueSelectorImpl.java: new file.
* gnu/java/nio/NIOSocket.java (impl): removed.
(channel): new field.
(<init>): init superclass with a `NIOSocketImpl;' init `channel.'
(getPlainSocketImpl, setChannel): removed.
(isConnected): new method.
* gnu/java/nio/NIOSocketImpl.java: new file.
* gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
`VMChannelOwner.'
(SourceChannelImpl.native_fd): removed.
(SourceChannelImpl.<init>): init with a `VMChannel.'
(SourceChannelImpl.getNativeFD): removed.
(SourceChannelImpl.getVMChannel): new method.
(SourceChannelImpl.implCloseSelectableChannel): implement.
(SinkChannelImpl): implement `VMChannelOwner.'
(SinkChannelImpl.native_fd): removed.
(SinkChannelImpl.<init>): init with a `VMChannel.'
(SinkChannelImpl.implCloseSelectableChannel): implement.
(SinkChannelImpl.getNativeFD): removed.
(SinkChannelImpl.getVMChannel): new method.
* gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
deprecated.
* gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
(openSelector): return kqueue selector if available.
* gnu/java/nio/ServerSocketChannelImpl.java: implement
`VMChannelOwner.'
(channel): new field.
(<init>): init `channel.'
(finalizer): check if the `VMChannel.State' is valid.
(implCloseSelectableChannel): use `VMChannel.close.'
(implConfigureBlocking): use `VMChannel.setBlocking.'
(accept): use `VMChannel.accept.'
(getVMChannel): new method.
* gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
access native FD through `VMChannel.State.'
* gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
(impl): removed.
(channel, connected, connectAddress): new field.
(<init>): new constructors.
(getPlainSocketImpl): removed.
(implCloseSelectableChannel): use `VMChannel.close.'
(implConfigureBlocking): use `VMChannel.setBlocking.'
(connect): use `connect(SocketAddress,int).'
(connect): use `VMChannel.connect.'
(finishConnect): don't use a selector.
(isConnected): use `VMChannel.getPeerAddress.'
(read): use `VMChannel.read.'
(read): use `VMChannel.readScattering.'
(write): use `VMChannel.write.'
(write): use `VMChannel.writeGathering.'
(getVMChannel): new method.
* gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
native FD from `VMChannel.State.'
* gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
get native FD from `VMChannel.State.'
* gnu/java/nio/VMChannelOwner.java: new file.
* gnu/java/nio/channels/FileChannelImpl.java: removed.
* include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
`gnu_java_nio_channels_FileChannelImpl.h.'
* include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
* include/gnu_java_nio_FileChannelImpl.h: new file.
* include/gnu_java_nio_KqueueSelectorImpl.h: new file.
* include/gnu_java_nio_VMChannel.h: regenerated.
* include/gnu_java_nio_VMPipe.h: regenerated.
* include/java_net_VMNetworkInterface.h: regenerated.
* java/io/FileDescriptor.java: fix imports.
* java/io/FileInputStream.java (<init>): handle exceptions.
(read): wrap the destination arary.
* java/io/FileOutputStream.java (<init>): handle exceptions.
(write): wrap the source array.
* java/io/RandomAccessFile.java (<init>): handle exceptions.
* java/net/DatagramSocket.java (<init>): handle exceptions.
(receive): handle length/port setting.
(connect): bind to any address/port if the argument is null.
* java/net/NetworkInterface.java (name, inetAddress): removed.
(netif): new field.
(<init>): make private.
(getName): return `netif.name.'
(getInetAddresses): access `netif.addresses.'
(getDisplayName): return `netif.name.'
(getByName, getByAddress): handle changes to `VMNetworkInterface.'
(condense): removed.
(getNetworkInterfaces): handle changes to `VMNetworkInterface.'
(equals): compare `netif' fields.
(hashCode): get hash codes from `netif.'
(toString): use a StringBuffer.
* java/net/ServerSocket.java (close): don't set `impl' to null.
(isClosed): use `VMChannel.State.isClosed.'
* java/net/Socket.java (getLocalAddress): don't use `getOption' if
the `SocketImpl' is a `PlainSocketImpl.'
(close): just close the `impl.'
(toString): use `super.toString' in the value we return.
(isConnected): just access `impl,' not `getImpl.'
(isBound): use `PlainSocketImpl' methods if we can.
(isClosed): look at `VMChannel.State.'
* native/jni/classpath/jcl.c (JNI_OnLoad): new function.
(JCL_NewRawDataObject): don't initialize cached fields here; throw
an exception if they were not.
(JCL_GetRawData): throw an exception if cached fields weren't
created.
* native/jni/java-lang/java_lang_VMProcess.c: handle
FileChannelImpl move.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
(IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
THROW_NO_NETWORK): new macros.
(Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
(Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
(java_sockopt): new enum.
(Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
function.
(Java_gnu_java_net_VMPlainSocketImpl_join): new function.
(Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_read): removed.
(Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
(Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
(Java_gnu_java_net_VMPlainSocketImpl_write): removed.
(Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
(Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
(getif_address): new function.
(getif_index): new function.
* native/jni/java-net/java_net_VMNetworkInterface.c
(java_net_VMNetworkInterface_init,
java_net_VMNetworkInterface_addAddress): new file-scope globals.
(Java_java_net_VMNetworkInterface_initIds): new function.
(struct netif_entry): new struct.
(free_netif_list): new function.
(Java_java_net_VMNetworkInterface_getInterfaces): removed.
(Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
* native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
gnu_java_nio_channels_FileChannelImpl.c, add
gnu_java_nio_KqueueSelectorImpl.c.
* native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
ALIGN_DOWN): new macros.
(JCL_init_buffer): get the address through GetDirectBufferAddress
if possible.
(Java_gnu_java_nio_VMChannel_stdin_1fd,
Java_gnu_java_nio_VMChannel_stdout_1fd,
Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
(Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
value.
(Java_gnu_java_nio_VMChannel_read): renamed...
(Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
this; handle interrupted IO; add HAVE_READ check.
(Java_gnu_java_nio_VMChannel_write): renamed...
(Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
this; handle zero-length write; add HAVE_WRITE check.
(Java_gnu_java_nio_VMChannel_receive): new function.
(Java_gnu_java_nio_VMChannel_send): new function.
(Java_gnu_java_nio_VMChannel_send6): new function.
(Java_gnu_java_nio_VMChannel_read__I): new function.
(Java_gnu_java_nio_VMChannel_write__II): new function.
(Java_gnu_java_nio_VMChannel_socket): new function.
(Java_gnu_java_nio_VMChannel_connect): new function.
(Java_gnu_java_nio_VMChannel_connect6): new function.
(Java_gnu_java_nio_VMChannel_getsockname): new function.
(Java_gnu_java_nio_VMChannel_getpeername): new function.
(Java_gnu_java_nio_VMChannel_accept): new function.
(Java_gnu_java_nio_VMChannel_disconnect): new function.
(Java_gnu_java_nio_VMChannel_close): new function.
(Java_gnu_java_nio_VMChannel_available): new function.
(FileChannel_mode): new enum.
(Java_gnu_java_nio_VMChannel_open): new function.
(Java_gnu_java_nio_VMChannel_position): new function.
(Java_gnu_java_nio_VMChannel_seek): new function.
(Java_gnu_java_nio_VMChannel_truncate): new funciton.
(Java_gnu_java_nio_VMChannel_lock): new function.
(Java_gnu_java_nio_VMChannel_unlock): new function.
(Java_gnu_java_nio_VMChannel_size): new function.
(Java_gnu_java_nio_VMChannel_map): new function.
(Java_gnu_java_nio_VMChannel_flush): new function.
* native/jni/java-nio/gnu_java_nio_VMPipe.c
(Java_gnu_java_nio_VMPipe_init): removed.
(Java_gnu_java_nio_VMPipe_pipe0): new function.
* native/jni/java-nio/javanio.c: new file.
* native/jni/java-nio/javanio.h: new file.
* native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
systems without `gethostbyname_r.'
* vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
field.
(<init>, <init>): new constructors.
(setOption, getOption): make instance methods; defer to native
implementation.
(connect): removed.
(bind): make an instance method; defer to native methods.
(accept): removed.
(available): removed.
(listen): make an instance method; defer to native method.
(read): removed.
(join, leave): new methods.
(write): removed.
(joinGroup, leaveGroup): new methods.
(shutdownInput, shutdownOutput): make instance methods.
(sendUrgentData): removed.
(State): new class.
* vm/reference/gnu/java/nio/VMChannel.java: make final.
(fd): removed.
(nfd): new field.
(<init>): new, public constructors.
(getVMChannel): methods removed.
(getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
stderr_fd): new methods.
(setBlocking): make an instance method.
(available): new method.
(read): get native fd from `nfd.'
(read): new single-byte read method.
(readScattering): get native fd from `nfd.'
(receive): new method.
(write, writeGathering): get native fd from `nfd.'
(send): new method.
(write): new single-byte write method.
(initSocket): new method.
(connect): new method.
(disconnect): new method.
(getLocalAddress): new method.
(getPeerAddress): new method.
(accept): new method.
(openFile): new method.
(position): new method.
(seek): new method.
(truncate): new method.
(lock): new method.
(unlock): new method.
(size): new method.
(map): new method.
(flush): new method.
(close): new method.
(State): new class.
(Kind): new class.
* vm/reference/gnu/java/nio/VMPipe.java (init): removed.
(pipe, pipe0): new method.
* vm/reference/java/net/VMNetworkInterface.java (name, addresses):
new fields.
(<clinit>): call `initIds.'
(initIds): new method.
(getInterfaces): removed.
(getVMInterfaces): new method.
(addAddress): new method.
* vm/reference/java/nio/channels/VMChannels.java: fix imports.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/net/InetAddress.java
(inaddr_any): Removed.
(ANY_IF, LOCALHOST): Create using getByAddress.
(<init>): Updated javadoc.
(getHostName): Cache hostname even if the lookup failed.
(getByAddress): Create Inet4Address objects when passed
IPv4-mapped IPv6 addresses.
(aton): Removed.
(getAllByName): Create address objects using getByAddress.
Do not perform security checks unless actually required.
Do not strip whitespace from the hostname.
(getInaddrAny): Removed.
(getLocalHost): Return the loopback address if getByName
throws a SecurityException.
(readResolve): Updated javadoc.
* vm/reference/java/net/VMInetAddress.java (aton): Declared.
* include/java_net_VMInetAddress.h
(Java_java_net_VMInetAddress_aton): Likewise.
* native/jni/java-net/java_net_VMInetAddress.c
(Java_java_net_VMInetAddress_aton): New method.
* native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
* native/jni/native-lib/cpnet.c (cpnet_aton): New method.
* configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
* java/net/Inet4Address.java (writeReplace): Updated javadoc.
* NEWS: Added note about updated VM interface.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/CORBA/CollocatedOrbs.java,
gnu/CORBA/SafeForDirectCalls.java: New files.
* gnu/CORBA/NamingService/Binding_iterator_impl.java:
Implement gnu.CORBA.SafeForDirectCalls.
* gnu/CORBA/NamingService/Ext.java: Likewise.
* gnu/CORBA/NamingService/TransientContext.java: Likewise.
* gnu/CORBA/OrbFunctional.java (createIor):Cache the address
of the local host. (ior_to_object): Return the local object
where possible. (run): Register/unregister this ORB.
* gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
* gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
* gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
(constructors): Initialize noRetain. (_invoke): Drop servant
if noRetain is true. (getHandler): Always seach for the new servant
if noRetain is true.
* gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
* NEWS: Added note about the new feature.
|
|
|
|
| |
* NEWS: Added note about updated VM interface.
|
| |
|
|
|
|
|
|
| |
PR 26972
* NEWS: As suggested by Paul Jennier, added not about the fix of
the InitialContext.
|
|
|
|
| |
* NEWS: Added entry about the context factories for JNDI.
|
|
|
|
|
| |
* NEWS: Added note about the X peers.
* INSTALL: Added install notes about the X peers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .classpath: Updated.
* tools/.cvsignore: Added gjavah.
* tools/Makefile.am ($(TOOLS_ZIP)): Only build javah if ASM is
available.
(GLIBJ_CLASSPATH): Add asm jar.
(javah): New macro.
(bin_PROGRAMS, bin_SCRIPTS): Added $(javah).
(gjavah_SOURCES, gjavah_CFLAGS, gjavah_LDFLAGS): new macros.
* tools/gjavah.in: New file.
* configure.ac: Added --with-asm option.
* tools/gnu/classpath/tools/javah/ClassWrapper.java: New file.
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/CniPrintStream.java: Likewise.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/FieldHelper.java: Likewise.
* tools/gnu/classpath/tools/javah/JniHelper.java: Likewise.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/Keywords.java: Likewise.
* tools/gnu/classpath/tools/javah/Main.java: Likewise.
* tools/gnu/classpath/tools/javah/MethodHelper.java: Likewise.
* tools/gnu/classpath/tools/javah/PackageWrapper.java: Likewise.
* tools/gnu/classpath/tools/javah/PathOptionGroup.java: Likewise.
* tools/gnu/classpath/tools/javah/Printer.java: Likewise.
* tools/gnu/classpath/tools/javah/Text.java: Likewise.
|
|
|
|
|
| |
* doc/vmintegration.texinfo: Likewise.
* include/jvmti.h: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestGarbageCollector.java,
* examples/gnu/classpath/examples/management/TestMemoryManager.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* java/lang/management/GarbageCollectorMXBean.java:
New files.
* java/lang/management/ManagementFactory.java:
(getGarbageCollectorMXBeans()): Implemented.
(getMemoryManagerMXBeans()): Likewise.
* vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
New files.
* vm/reference/java/lang/management/VMManagementFactory.java:
(getMemoryManagerNames()): Added.
(getGarbageCollectorNames()): Added.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestMemoryPool.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
New files.
* java/lang/management/ManagementFactory.java:
(getMemoryPoolMXBeans()): Implemented.
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
* vm/reference/java/lang/management/VMManagementFactory.java:
New files.
|