Tom Tromey
befd75753f
For PR libgcj/23288:
...
* java/net/URLClassLoader.java (definePackage): Correctly order
arguments to definePackage. Look up per-entry Attributes.
(getAttributeValue): New method.
From-SVN: r104320
2005-09-15 20:17:05 +00:00
Andrew Haley
13d7d8745b
URLClassLoader.java (addURLImpl): Synchronize on the loader.
...
2005-09-08 Andrew Haley <aph@redhat.com>
* java/net/URLClassLoader.java (addURLImpl): Synchronize on the
loader.
(toString): Likewise.
From-SVN: r104095
2005-09-09 13:06:24 +00:00
Thomas Fitzsimmons
9ff284256a
re PR libgcj/23761 (java.library.path doesn't affect module loading path)
...
2005-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/23761
* include/java-props.h (_Jv_Module_Load_Path): Declare variable.
* java/lang/natRuntime.cc (init): Call lt_dlsetsearchpath after
lt_dlinit.
* gnu/classpath/natSystemProperties.cc (_Jv_Module_Load_Path):
Define variable.
(_Jv_SetDLLSearchPath): Do not call lt_dlsetsearchpath. Set
_Jv_Module_Load_Path.
From-SVN: r104044
2005-09-08 21:26:25 +00:00
Tom Tromey
852993e381
re PR libgcj/23739 (JNI: IsAssignableFrom reverses arguments)
...
PR libgcj/23739:
* testsuite/libjava.jni/pr23739.c: New file.
* testsuite/libjava.jni/pr23739.java: New file.
* testsuite/libjava.jni/pr23739.out: New file.
* jni.cc (_Jv_JNI_IsAssignableFrom): Reversed arguments.
* java/lang/reflect/natMethod.cc (invoke): Updated.
* java/lang/natClass.cc (isAssignableFrom): Updated.
(isInstance): Likewise.
(_Jv_IsAssignableFrom): Reversed arguments.
(_Jv_IsInstanceOf): Updated.
(_Jv_CheckCast): Likewise.
(_Jv_CheckArrayStore): Likewise.
(_Jv_IsAssignableFromSlow): Reversed arguments.
(_Jv_InterfaceAssignableFrom): Likewise.
* link.cc (verify_type_assertions): Updated.
* prims.cc (_Jv_CheckAccess): Updated.
From-SVN: r103953
2005-09-06 16:01:31 +00:00
Roman Kennke
daa6fb4110
2005-08-23 Roman Kennke <roman@kennke.org>
...
* java/lang/Character.java
(toChars(int)): New JDK1.5 method.
(toChars(int, char[], int)): New JDK1.5 method.
(charCount): New JDK1.5 method.
(isSupplementaryCodePoint): New JDK1.5 method.
(isValidCodePoint): New JDK1.5 method.
From-SVN: r103413
2005-08-23 22:19:17 +00:00
Tom Tromey
97b51fd08e
class.c (make_class_data): Always emit JV_STATE_PRELOADING for class' initial state.
...
gcc/java:
* class.c (make_class_data): Always emit JV_STATE_PRELOADING for
class' initial state.
libjava:
* java/lang/Class.h (_Jv_IsBinaryCompatibilityABI): Declare as
friend.
* include/jvm.h (_Jv_IsBinaryCompatibilityABI): New function.
* testsuite/libjava.lang/bclink.java: New file.
* testsuite/libjava.lang/bclink.out: New file.
* link.cc (print_class_loaded): Changed ABI test to look at
various _syms fields.
From-SVN: r103225
2005-08-17 20:44:10 +00:00
Morgan Deters
25c76a15f7
re PR libgcj/23353 (clone() copies internal lock data with hash synchronization off)
...
2005-08-12 Morgan Deters <mdeters@morgandeters.com>
PR libgcj/23353:
* java/lang/natObject.cc (clone): Clear sync_info.
From-SVN: r103039
2005-08-12 16:40:32 +00:00
Tom Tromey
6c8a62bbfe
package.html, [...]: Removed.
...
* gnu/java/net/protocol/ftp/package.html,
gnu/javax/swing/text/html/package.html,
gnu/javax/swing/text/html/parser/package.html,
gnu/javax/swing/text/html/parser/models/package.html,
gnu/javax/swing/text/html/parser/support/package.html,
gnu/javax/swing/text/html/parser/support/low/package.html,
gnu/xml/aelfred2/package.html, gnu/xml/dom/package.html,
gnu/xml/pipeline/package.html, gnu/xml/transform/package.html,
gnu/xml/util/package.html, java/awt/geom/doc-files/Area-1.png,
java/awt/geom/doc-files/CubicCurve2D-1.png,
java/awt/geom/doc-files/CubicCurve2D-2.png,
java/awt/geom/doc-files/CubicCurve2D-3.png,
java/awt/geom/doc-files/CubicCurve2D-4.png,
java/awt/geom/doc-files/CubicCurve2D-5.png,
java/awt/geom/doc-files/Ellipse-1.png,
java/awt/geom/doc-files/FlatteningPathIterator-1.html,
java/awt/geom/doc-files/GeneralPath-1.png,
java/awt/geom/doc-files/QuadCurve2D-1.png,
java/awt/geom/doc-files/QuadCurve2D-2.png,
java/awt/geom/doc-files/QuadCurve2D-3.png,
java/awt/geom/doc-files/QuadCurve2D-4.png,
java/awt/geom/doc-files/QuadCurve2D-5.png,
javax/imageio/package.html, javax/imageio/event/package.html,
javax/imageio/metadata/package.html,
javax/imageio/spi/package.html, javax/imageio/stream/package.html,
javax/swing/border/doc-files/BevelBorder-1.png,
javax/swing/border/doc-files/BevelBorder-2.png,
javax/swing/border/doc-files/BevelBorder-3.png,
javax/swing/border/doc-files/EmptyBorder-1.png,
javax/swing/border/doc-files/EtchedBorder-1.png,
javax/swing/border/doc-files/EtchedBorder-2.png,
javax/swing/border/doc-files/LineBorder-1.png,
javax/swing/border/doc-files/MatteBorder-1.png,
javax/swing/border/doc-files/MatteBorder-2.png,
javax/swing/border/doc-files/MatteBorder-3.png,
javax/swing/border/doc-files/MatteBorder-4.png,
javax/swing/border/doc-files/MatteBorder-5.png,
javax/swing/border/doc-files/MatteBorder-6.png,
javax/swing/border/doc-files/SoftBevelBorder-1.png,
javax/swing/border/doc-files/SoftBevelBorder-2.png,
javax/swing/border/doc-files/SoftBevelBorder-3.png,
javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png,
javax/swing/plaf/doc-files/ComponentUI-1.dia,
javax/swing/plaf/doc-files/ComponentUI-1.png,
javax/swing/plaf/doc-files/TreeUI-1.png,
javax/xml/datatype/package.html, javax/xml/namespace/package.html,
javax/xml/parsers/package.html, javax/xml/transform/package.html,
javax/xml/transform/dom/package.html,
javax/xml/transform/sax/package.html,
javax/xml/transform/stream/package.html,
javax/xml/validation/package.html, javax/xml/xpath/package.html:
Removed.
From-SVN: r102404
2005-07-26 23:22:38 +00:00
Tom Tromey
b0fa81eea9
Major merge with Classpath.
...
Removed many duplicate files.
* HACKING: Updated.x
* classpath: Imported new directory.
* standard.omit: New file.
* Makefile.in, aclocal.m4, configure: Rebuilt.
* sources.am: New file.
* configure.ac: Run Classpath configure script. Moved code around
to support. Disable xlib AWT peers (temporarily).
* Makefile.am (SUBDIRS): Added 'classpath'
(JAVAC): Removed.
(AM_CPPFLAGS): Added more -I options.
(BOOTCLASSPATH): Simplified.
Completely redid how sources are built.
Include sources.am.
* include/Makefile.am (tool_include__HEADERS): Removed jni.h.
* include/jni.h: Removed (in Classpath).
* scripts/classes.pl: Updated to look at built classes.
* scripts/makemake.tcl: New file.
* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
-I options.
(gcj_jni_invocation_compile_c_to_binary): Likewise.
From-SVN: r102082
2005-07-16 01:27:14 +00:00
Andrew Haley
3fefd0193c
Connection.java (unquote): New method.
...
2005-07-13 Andrew Haley <aph@redhat.com>
* gnu/java/net/protocol/file/Connection.java (unquote): New
method.
(connect): Unquote filename.
gnu/java/net/protocol/jar/Connection.java (getInputStream):
Likewise.
(getJarFile): Likewise.
* java/net/URLConnection.java (getContentHandler): Guard cast with
instaceof.
* java/net/URL.java (URL): If the file part of a spec is absolute,
ignore the file part of its context.
From-SVN: r102029
2005-07-14 18:20:10 +00:00
Tom Tromey
9d5faaafe3
Class.java (getProtectionDomain): Merged javadoc from Classpath.
...
* java/lang/Class.java (getProtectionDomain): Merged javadoc from
Classpath.
From-SVN: r102025
2005-07-14 17:22:18 +00:00
Tom Tromey
6dfb90cf55
InputStreamReader.java (refill): Handle no-progress case correctly.
...
* java/io/InputStreamReader.java (refill): Handle no-progress
case correctly.
* gnu/gcj/convert/IOConverter.java: Add 'utf8' alias.
From-SVN: r101663
2005-07-06 20:10:41 +00:00
Kelley Cook
917b04f492
Update FSF address
...
From-SVN: r101453
2005-06-30 03:22:09 +00:00
Tom Tromey
3af9ac15a9
re PR libgcj/22211 ([4.0 only] Thread.interrupt sometimes causes abort if thread is already dead)
...
PR libgcj/22211:
* testsuite/libjava.lang/pr22211.java: New file.
* java/lang/natThread.cc (finish_): Synchronize when updating
alive_flag.
(_Jv_AttachCurrentThread): Likewise.
(interrupt): Only call _Jv_ThreadInterrupt if thread is alive.
* java/lang/Thread.java (isAlive): Now synchronized.
From-SVN: r101430
2005-06-29 17:36:16 +00:00
Tom Tromey
42c5169549
natClassLoader.cc (_Jv_UnregisterClass): Handle case where class' name is NULL.
...
* java/lang/natClassLoader.cc (_Jv_UnregisterClass): Handle case
where class' name is NULL.
(_Jv_FindClass): Don't wait for class state.
* java/lang/natVMClassLoader.cc (defineClass): Only unregister if
name found.
* include/java-interp.h (_Jv_DefineClass): Updated.
* defineclass.cc (_Jv_DefineClass): Added 'name_result' argument.
(struct _Jv_ClassReader): Likewise.
(found_name): New field.
(handleClassBegin): Set *found_name.
(_Jv_VerifyMethodSignature): Handle case where ptr==NULL.
(handleClassBegin): Throw error if super class not set.
(read_methods): Correctly call check_tag and prepare_pool_entry.
From-SVN: r101301
2005-06-24 22:48:33 +00:00
Tom Tromey
7666af8941
Class.java (getClasses): New method.
...
* java/lang/Class.java (getClasses): New method.
(internalGetClasses): Likewise.
(getClassLoader): Updated documentation.
(getDeclaredClasses): New overload; old overload no longer
native.
(_getConstructors): Removed.
(resourcePath): Updated.
* java/lang/natClass.cc (getClasses): Removed.
* java/lang/Class.h (getDeclaredClasses, getDeclaredConstructors):
Updated.
(_getConstructors): Removed.
From-SVN: r100948
2005-06-14 18:51:54 +00:00
Bryce McKinlay
e8050c0c80
RMIClassLoader.java (getClassLoader): Make public.
...
* java/rmi/server/RMIClassLoader.java (getClassLoader): Make public.
From Gary Benson.
From-SVN: r100785
2005-06-09 01:02:37 +01:00
Ziga Mahkovec
a6cddf6e80
MessageFormat.java (parse): When parsing strings, check for an empty pattern trailer.
...
2005-06-08 Ziga Mahkovec <ziga.mahkovec@klika.si>
* java/text/MessageFormat.java (parse): When parsing strings, check
for an empty pattern trailer.
From-SVN: r100761
2005-06-08 15:46:08 +00:00
Anthony Green
15f1298bf1
URLClassLoader.java: import gnu.gcj.Core, and gnu.java.net.protocol.core.CoreInputStream.
...
2005-06-04 Anthony Green <green@redhat.com>
* java/net/URLClassLoader.java: import gnu.gcj.Core,
and gnu.java.net.protocol.core.CoreInputStream.
(CureURLLoader): New class.
(CoreResource): New class.
(addURLImpl): Add special treatment for the "core" protocol.
* gnu/gcj/natCore.cc (find): New method.
* gnu/gcj/Core.java (find): New method.
From-SVN: r100582
2005-06-04 11:23:29 +00:00
Tom Tromey
0a01ec970e
* java/io/ObjectInputStream.java (currentLoader): Fixed typo.
...
From-SVN: r100467
2005-06-01 22:13:35 +00:00
Ziga Mahkovec
7e1603c0f0
re PR libgcj/20435 (regex pattern compiling bug)
...
2005-06-01 Ziga Mahkovec <ziga.mahkovec@klika.si>
PR libgcj/20435:
* gnu/regexp/RESyntax.java (RE_POSSESSIVE_OPS): New field.
(static): Add possessive matching to JAVA_1_4 syntax.
* gnu/regexp/RETokenRepeated.java (possessive): New field.
(makePossessive, isPossessive): New methods.
(match): Don't back off during possessive matching.
* gnu/regexp/RE.java (initalize): Accept possessive quantifier.
* java/util/regex/Pattern.java (constructor): Switch syntax from PERL5
to JAVA_1_4.
From-SVN: r100466
2005-06-01 22:11:00 +00:00
Tom Tromey
cd3352b625
re PR libgcj/21785 (ClassNotFound during deserialization)
...
PR libgcj/21785:
* java/io/natObjectInputStream.cc (currentClassLoader): Removed.
(currentLoader): New method.
* java/io/ObjectInputStream.java (resolveProxyClass): Use
currentLoader.
(currentLoader): Now native.
(currentClassLoader): Removed.
* testsuite/libjava.lang/pr21785.java: New file.
* testsuite/libjava.lang/pr21785.out: New file.
From-SVN: r100462
2005-06-01 19:58:25 +00:00
Tom Tromey
68d8b93454
re PR libgcj/21753 (String.substring sharing heuristic should be improved)
...
PR libgcj/21753:
* java/lang/natString.cc (substring): Changed sharing heuristic.
From-SVN: r100454
2005-06-01 15:52:45 +00:00
Michael Koch
ad821074cb
re PR libgcj/20273 (LinkedHashMap breaks linked list when access() is called)
...
2005-05-29 Michael Koch <konqueror@gmx.de>
PR libgcj/20273:
* java/util/LinkedHashMap.java (access): Set 'root.pred'.
From-SVN: r100347
2005-05-30 02:01:15 +00:00
Gary Benson
81043a94e9
re PR libgcj/21736 (MessageFormat("{0,time,medium}") fails)
...
2005-05-24 Gary Benson <gbenson@redhat.com>
PR libgcj/21736:
* java/text/MessageFormat.java (MessageFormatElement.setLocale):
Handle DateFormat.DEFAULT case correctly.
From-SVN: r100154
2005-05-25 15:25:38 +00:00
Tom Tromey
93f8e21b71
re PR libgcj/21703 (hang when rapidly calling String.intern())
...
PR libgcj/21703:
* java/lang/ref/natReference.cc (find_slot): Handle case where
table has no NULL entries.
* java/lang/natString.cc (_Jv_StringFindSlot): Handle case where
table has no NULL entries.
From-SVN: r100153
2005-05-25 15:23:56 +00:00
Andreas Jaeger
313344b4de
mprec.c (mult, [...]): Add parenthesis to avoid warnings.
...
* java/lang/mprec.c (mult, lshift, b2d, d2b): Add parenthesis to
avoid warnings.
From-SVN: r100057
2005-05-22 08:55:21 +02:00
Bryce McKinlay
146e2904bc
natClassLoader.cc (_Jv_NewClass): Use _Jv_RegisterInitiatingLoader to register array classes, not _Jv_RegisterClass.
...
* java/lang/natClassLoader.cc (_Jv_NewClass): Use
_Jv_RegisterInitiatingLoader to register array classes, not
_Jv_RegisterClass.
(_Jv_RegisterInitiatingLoader): Give up if called very early during
bootstrapping. Add a FIXME to handle this case better.
From-SVN: r99993
2005-05-19 23:24:26 +01:00
Tom Tromey
9d9bd40fb6
Charset.java (encode, decode): Synchronize on 'this', not the class.
...
* java/nio/charset/Charset.java (encode, decode): Synchronize on
'this', not the class.
From-SVN: r99810
2005-05-17 01:52:02 +00:00
Tom Tromey
92f0ebd126
re PR libgcj/21606 (java.net.URI fails to decode lowercase hex codes)
...
PR libgcj/21606:
* java/net/URI.java (unquote): Handle lower-case letters as well.
From-SVN: r99792
2005-05-16 20:27:48 +00:00
Tom Tromey
3b523c85c1
* java/lang/String.java (startsWith): Fixed javadoc.
...
From-SVN: r99746
2005-05-15 21:09:45 +00:00
Bryce McKinlay
c8c03f8479
re PR libgcj/21557 (Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnter hang)
...
2005-05-13 Bryce McKinlay <mckinlay@redhat.com>
PR libgcj/21557
* java/lang/natObject.cc (_Jv_MonitorEnter): Save and clear thread
interrupt status flag if _Jv_CondWait is interrupted.
From-SVN: r99687
2005-05-14 01:42:46 +01:00
Tom Tromey
cca1655eab
gcj.texi (Code Generation): Document -fbootstrap-classes.
...
gcc/java:
* gcj.texi (Code Generation): Document -fbootstrap-classes.
* decl.c (GCJ_BOOTSTRAP_LOADER_ADDITION): New macro.
(parse_version): Use it.
* lang.opt (-fbootstrap-classes): New option.
libjava:
* external/w3c_dom/Makefile.in: Rebuilt.
* external/w3c_dom/Makefile.am (libw3c_gcj_la_GCJFLAGS): Added
-fbootstrap-classes.
* external/sax/Makefile.in: Rebuilt.
* external/sax/Makefile.am (libsax_gcj_la_GCJFLAGS): Added
-fbootstrap-classes.
* java/lang/Class.h (_Jv_CopyClassesToSystemLoader): Declare as
friend.
* java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
Call _Jv_CopyClassesToSystemLoader.
* java/lang/natClassLoader.cc (system_class_list): New global.
(_Jv_RegisterClassHookDefault): Handle bootstrap and system
classes differently.
(_Jv_CopyClassesToSystemLoader): New function.
(SYSTEM_LOADER_INITIALIZED): New define.
* include/jvm.h (GCJ_BOOTSTRAP_LOADER_ADDITION): New define.
(_Jv_CheckABIVersion): Use it.
(_Jv_ClassForBootstrapLoader): New function.
* Makefile.in: Rebuilt.
* Makefile.am (AM_GCJFLAGS): Added -fbootstrap-classes.
From-SVN: r99604
2005-05-12 01:27:15 +00:00
Tom Tromey
0cb757cc06
javaprims.h: Updated.
...
* gcj/javaprims.h: Updated.
* java/lang/String.java (String(StringBuilder)): New constructor.
* java/lang/natStringBuilder.cc: New file.
* java/lang/StringBuilder.java: New file.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added StringBuilder.java.
(nat_source_files): Added natStringBuilder.cc.
From-SVN: r99535
2005-05-10 18:28:31 +00:00
David Daney
ff56fbf19f
BitSet.java (get(int, int)): Fix breakage when requested set doesn't start on a multiple of 64.
...
2005-05-09 David Daney <ddaney@avtrex.com>
* java/util/BitSet.java (get(int, int)): Fix breakage when
requested set doesn't start on a multiple of 64.
From-SVN: r99492
2005-05-10 00:48:49 +00:00
Thomas Fitzsimmons
2ed0018eb4
Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
...
2005-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am (gtk_awt_peer_sources): Add GtkVolatileImage.java.
* Makefile.in: Regenerate.
* gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java
(createCompatibleVolatileImage(int,int)): Implement.
(createCompatibleVolatileImage(int,int,ImageCapabilities)):
Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (backBuffer, caps):
New fields.
(createVolatileImage): Implement.
(createBuffers): Likewise.
(getBackBuffer): Likewise.
(flip): Likewise.
(destroyBuffers): Likewise.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java: New file.
* java/awt/Canvas.java (CanvasBltBufferStrategy): New class.
(CanvasFlipBufferStrategy): Likewise.
(createBufferStrategy(int)): New method.
(createBufferStrategy(int,BufferCapabilities)): Likewise.
* java/awt/Component.java (BltBufferStrategy): Implement and
document class.
(FlipBufferStrategy): Likewise.
* java/awt/Window.java (WindowBltBufferStrategy): New class.
(WindowFlipBufferStrategy): Likewise.
(createBufferStrategy(int)): New method.
(createBufferStrategy(int,BufferCapabilities)): Likewise.
(getBufferStrategy): Likewise.
* java/awt/BufferCapabilities.java (BufferCapabilities): Rename
front to frontCaps and back to backCaps.
From-SVN: r99336
2005-05-06 23:06:18 +00:00
Michael Koch
8e111a2b7e
2005-05-06 Michael Koch <konqueror@gmx.de>
...
* java/awt/BufferCapabilities.java
(BufferCapabilities): Merged javadoc.
From-SVN: r99304
2005-05-06 07:12:38 +00:00
Michael Koch
cb881fb176
2005-05-06 Michael Koch <konqueror@gmx.de>
...
* java/util/Locale.java
(defaultLocale): Use gnu.classpath.SystemProperties to get properties.
(getLocale): New methods. Use it everywhere where instances of Locales
are needed.
(getDisplayLanguage): Merged javadoc.
(getDisplayCountry): Likewise.
(getDisplayVariant): Likewise.
From-SVN: r99303
2005-05-06 06:52:44 +00:00
H.J. Lu
1df5d87d8c
BufferCapabilities.java (BufferCapabilities): Fix the typo.
...
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* java/awt/BufferCapabilities.java (BufferCapabilities): Fix
the typo.
From-SVN: r99261
2005-05-04 21:27:06 -07:00
Thomas Fitzsimmons
ff6d54b3cd
BufferStrategy.java: Document.
...
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/image/BufferStrategy.java: Document.
From-SVN: r99250
2005-05-05 01:22:12 +00:00
Thomas Fitzsimmons
29572b4dae
BufferCapabilities.java: Document.
...
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/BufferCapabilities.java: Document.
From-SVN: r99234
2005-05-04 22:13:45 +00:00
Tom Tromey
5b3ceafea5
FileLock.java (toString): Entirely avoid String "+".
...
* java/nio/channels/FileLock.java (toString): Entirely avoid
String "+".
2005-05-04 Andrew Overholt <overholt@redhat.com>
* java/nio/channels/FileLock.java (toString): Re-implement using
StringBuffer.
From-SVN: r99230
2005-05-04 21:09:36 +00:00
Thomas Fitzsimmons
d1ca2cfe44
ImageCapabilities.java: Document.
...
2005-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/ImageCapabilities.java: Document.
* java/awt/image/VolatileImage.java: Unindent copyright header.
From-SVN: r99224
2005-05-04 18:25:37 +00:00
Thomas Fitzsimmons
78da4d2e84
VolatileImage.java: Document.
...
2005-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/image/VolatileImage.java: Document.
From-SVN: r99208
2005-05-04 03:18:49 +00:00
Andrew Overholt
f525d7a75f
re PR libgcj/21372 (FileChannel.tryLock() return value incorrect)
...
2005-05-03 Andrew Overholt <overholt@redhat.com>
PR libgcj/21372:
* gnu/java/nio/channels/FileChannelImpl.java: Return null if lock
could not be acquired.
* java/nio/channels/FileLock.java (toString): Re-implement to be
in line with other implementations.
From-SVN: r99188
2005-05-03 22:38:17 +00:00
Tom Tromey
21fae9376c
VMSecurityManager.java (currentClassLoader): Use 'systemClasssLoader' directly.
...
* java/lang/VMSecurityManager.java (currentClassLoader): Use
'systemClasssLoader' directly.
From-SVN: r99185
2005-05-03 22:15:01 +00:00
Tom Tromey
9d4440a547
VMSecurityManager.java (currentClassLoader): Don't call VMClassLoader.getSystemClassLoader.
...
* java/lang/VMSecurityManager.java (currentClassLoader): Don't
call VMClassLoader.getSystemClassLoader.
From-SVN: r99177
2005-05-03 19:33:13 +00:00
Michael Koch
bf5d810ff1
2005-04-29 Michael Koch <konqueror@gmx.de>
...
* java/net/NetworkInterface.java
(static): Removed.
(NetworkInterface(String,InetAddress)): Made package-private.
(NetworkInterface(String,InetAddress[])): New constructor.
(getRealNetworkInterfaces): Removed.
(getByName): Use VMNetworkInterface.getInterfaces().
(getByInetAddress): Likewise.
(getNetworkInterfaces): Likewise.
* java/net/VMNetworkInterface.java,
java/net/natVMNetworkInterfaceNoNet.cc,
java/net/natVMNetworkInterfacePosix.c,c
java/net/natVMNetworkInterfaceWin32.cc: New files.
* java/net/natNetworkInterfaceNoNet.cc,
java/net/natNetworkInterfacePosix.cc,
java/net/natNetworkInterfaceWin32.cc: Removed.
* configure.ac
* Makefile.am
* configure, Makefile.in: Regenerated.
From-SVN: r99021
2005-04-29 22:10:09 +00:00
Andrew Haley
cfbb263896
Class.h (_Jv_ResolvePoolEntry): Declare as friend.
...
2005-04-29 Andrew Haley <aph@redhat.com>
* java/lang/Class.h (_Jv_ResolvePoolEntry): Declare as friend.
From-SVN: r99016
2005-04-29 20:02:47 +00:00
Dalibor Topic
b61ae8b261
2005-04-29 Dalibor Topic <robilad@kaffe.org>
...
* java/nio/channels/FileChannelImpl.java
(FileChannelImpl(String, int)): Removed.
(FileChannelImpl(File, int)): Added. Check if opened file is a
directory.
* java/io/FileInputStream.java(FileInputStream): Fixed javadocs.
Call FileChannelImpl(File, int).
* java/io/FileOutputStream.java (FileInputStream): Call
FileChannelImpl(File, int).
* java/io/RandomAccessFile.java (RandomAccessFile):
Call FileChannelImpl(File, int). Switched constructors around.
From-SVN: r99011
2005-04-29 18:47:42 +00:00