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
Michael Koch
542f0c7291
2005-04-29 Michael Koch <konqueror@gmx.de>
...
* java/nio/charset/Charset.java
(provider): Reformatted.
From-SVN: r98978
2005-04-29 06:54:47 +00:00
Mark Wielaard
4b8853b021
ResourceBundle.java (getObject): Clarify MissingResourceException detailed message.
...
2005-04-29 Mark Wielaard <mark@klomp.org>
* java/util/ResourceBundle.java (getObject): Clarify
MissingResourceException detailed message.
(tryBundle(String,ClassLoader)): Likewise.
From-SVN: r98976
2005-04-29 06:13:11 +00:00
Robert Schuster
7789e4818a
2005-04-29 Robert Schuster <thebohemian@gmx.net>
...
* java/beans/FeatureDescriptor.java:
(getShortDescription): Implemented fallback mechanism and fixed
documentation (fixes bug #12637 ).
(getDisplayName): Dito.
2005-04-29 Robert Schuster <thebohemian@gmx.net>
* java/beans/Introspector.java: Fixed bug #12624 , BeanDescriptors
will now be set correctly.
(flushCaches): Now flushes all cached intermediate data.
From-SVN: r98975
2005-04-29 06:11:27 +00:00
Michael Koch
e5d149869a
2005-04-28 Michael Koch <konqueror@gmx.de>
...
* java/net/InetAddress.java
(aton): Fixed javadoc.
(lookup): Likewise.
From-SVN: r98941
2005-04-28 21:02:40 +00:00
Chris Burdess
32cf6a3bfe
Connection.java: Return correct content length for directory listing.
...
2005-04-27 Chris Burdess <dog@gnu.org>
* gnu/java/net/protocol/file/Connection.java: Return correct content
length for directory listing.
* java/net/URLClassLoader.java: Correction for URLClassLoader, bug
#11285 : return valid URLs for directories.i
From-SVN: r98884
2005-04-27 21:03:00 +00:00
Thomas Fitzsimmons
c7a5c62381
[multiple changes]
...
2005-04-27 Thomas Fitzsimmons <fitzsim@redhat.com>
* Makefile.am (ordinary_java_source_files): Add
gnu/java/net/protocol/https/Handler.java.
* Makefile.in: Regenerate.
* java/net/URL.java: Remove org.metastatic.jessie from default
protocol search path.
2005-04-27 Chris Burdess <dog@gnu.org>
* gnu/java/net/protocol/https/Handler.java: New file.
From-SVN: r98879
2005-04-27 20:10:07 +00:00
Sven de Marothy
465ee71e97
2005-04-27 Sven de Marothy <sven@physto.se>
...
* java/util/TimeZone.java,
(getDefaultDisplayName): Fix previous fix.
2005-04-27 Sven de Marothy <sven@physto.se>
* java/util/TimeZone.java,
(getDefaultDisplayName): Don't print zero offsets.
From-SVN: r98874
2005-04-27 18:47:40 +00:00
Roman Kennke
ba8e51e4e3
2005-04-27 Roman Kennke <roman@kennke.org>
...
* javax/swing/plaf/basic/BasicScrollBarUI
(getThumbBounds): Do not make thumb smaller than
minimumThumbSize.
* javax/swing/plaf/metal/MetalLookAndFeel
(initComponentDefaults): Added color defaults for ScrollBar.
* javax/swing/plaf/metal/MetalScrollBarUI
(paintThumb): Added.
(getMinimumThumbSize): Added.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalLookAndFeel
(initComponentDefaults): Added some default colors.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(configureScrollBarColors: Changed key 'ScrollBar.thumbLightShadow'
to 'ScrollBar.thumbShadow'. The formes does not exist.
(paintThumb): Use BasicGraphicsUtils for painting the thumb.
2005-04-27 Roman Kennke <roman@kennke.org>
* java/awt/MediaTracker.java: Added 2005 to copyright statement.
* javax/swing/BoxLayout.java: Likewise.
* javax/swing/UIManager.java: Likewise.
* javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
* javax/swing/plaf/basic/BasicGraphicsUtils.java: Likewise.
* javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
* javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise.
* javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise.
* javax/swing/text/Document.java: Likewise.
* javax/swing/text/GapContent.java: Likewise.
* javax/swing/text/SimpleAttributeSet.java: Likewise.
* javax/swing/tree/DefaultTreeSelectionModel.java: Likewise.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicToggleButtonUI.java:
(getPropertyPrefix): Added.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicButtonUI.java
(getPropertyPrefix): Added.
(installDefaults): Use getPropertyPrefix instead of hard-coded
prefix.
2005-04-27 Roman Kennke <roman@kennke.org>
* javax/swing/JToggleButton.java
(JToggleButton): Removed horizontalAlignment setting, this
was wrong. Added setting of an actionCommand, ToggleButtons
have "" as default actionCommand.
From-SVN: r98867
2005-04-27 18:01:09 +00:00
Michael Koch
5984f98956
[multiple changes]
...
2005-04-27 Michael Koch <konqueror@gmx.de>
* java/nio/charset/Charset.java (providers2): Renamed from 'providers'
to work around CNI limitation.
2005-04-27 Sven de Marothy <sven@physto.se>
* java/nio/charset/Charset.java:
(defaultCharset()): New method.
Status updated to 1.5
2005-04-27 Sven de Marothy <sven@physto.se>
* java/nio/charset/Charset.java: Cached encoders shouldn't be static.
2005-04-27 Sven de Marothy <sven@physto.se>
* java/nio/charset/Charset.java: Reset cached de/encoders.
2005-04-27 Robert Schuster <thebohemian@gmx.net>
* java/nio/charset/Charset.java (forName): Throws
IllegalArgumentException when argument is null
and added documentation.
2005-04-27 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/nio/charset/Charset.java (providers):
New method to make an array of CharsetProviders defined in
META-INF/services/java.nio.charset.spi.CharsetProvider.
(charsetForName, availableCharsets): Use the
new method providers().
From-SVN: r98816
2005-04-27 07:30:36 +00:00
Michael Koch
9d8dadd8e0
InetAddress.java: Made all hexadecimal numbers lowercase.
...
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java: Made all hexadecimal numbers lowercase.
Fixed typos in javadocs.
(isSiteLocalAddress): Fixed handling of byte values.
(isMCLinkLocal): Likewise.
* java/net/Inet4Address.java
(isMulticastAddress): Call super method.
(isLoopbackAddress): Likewise.
(isAnyLocalAddress): Likewise.
(isLinkLocalAddress): Likewise.
(isSiteLocalAddress): Likewise.
(isMCGlobal): Likewise.
(isMCNodeLocal): Likewise.
(isMCLinkLocal): Likewise.
(isMCSiteLocal): Likewise.
(isMCOrgLocal): Likewise.
(getHostAddress): Likewise.
From-SVN: r98795
2005-04-26 22:07:39 +00:00
Sven de Marothy
52b26143c9
2005-04-26 Sven de Marothy <sven@physto.se>
...
* java/net/InetAddress.java
(toString): Don't print empty hostnames.
From-SVN: r98793
2005-04-26 21:55:30 +00:00
Michael Koch
583db39167
InetAddress.java: Fixed typos in javadocs.
...
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/net/InetAddress.java:
Fixed typos in javadocs.
From-SVN: r98791
2005-04-26 21:44:26 +00:00
Tom Tromey
2705487a7e
ParserDelegator.java (callBack, gnu): Now package-private.
...
* javax/swing/text/html/parser/ParserDelegator.java (callBack,
gnu): Now package-private.
* javax/swing/text/html/parser/DocumentParser.java (parser,
callBack, gnu): Now package-private.
* javax/swing/text/StringContent.java (content, setOffset,
checkLocation): Now package-private.
* javax/swing/text/JTextComponent.java (doc): Now
package-private.
* javax/swing/plaf/basic/BasicToolBarUI.java (owner,
lastGoodOrientation, origParent, borders, cachedBounds,
cachedOrientation, DragWindow): Now package-private.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java (incrButton,
decrButton, viewport, panel, currentScrollLocation, layoutManager,
tabAreaRect, contentRect, createIncreaseButton,
createDecreaseButton, findPointForIndex): Now package-private.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(currentDividerLocation, moveDividerTo): Now package-private.
* javax/swing/plaf/basic/BasicSliderUI.java (findClosestTick): Now
package-private.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(calculatePreferredSize, valueForYPosition, valueForXPosition):
Now package-private.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(topWindowListener): Now package-private.
* javax/swing/plaf/basic/BasicOptionPaneUI.java (iconSize,
OK_STRING, YES_STRING, NO_STRING, CANCEL_STRING): Now constants.
(messageAreaContainer, buttonContainer, resetSelectedValue): Now
package-private.
* javax/swing/plaf/basic/BasicListUI.java (damageLayout): Now
package-private.
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java (title):
Now package-private.
* javax/swing/plaf/basic/BasicDesktopIconUI.java (button): Now
package-private.
* javax/swing/plaf/basic/BasicComboBoxUI.java (largestItemSize,
borderInsets): Now package-private.
(arrowButtonWidth): Likewise. Now a constant.
* javax/swing/plaf/basic/BasicColorChooserUI.java (chooser, pane,
makeTabs, updatePreviewPanel): Now package-private.
* javax/swing/plaf/basic/BasicArrowButton.java (shadow,
darkShadow, highlight): Now package-private.
* javax/swing/colorchooser/DefaultSwatchChooserPanel.java
(addColorToQueue): Now package-private.
* javax/swing/colorchooser/DefaultRGBChooserPanel.java
(spinnerChange, sliderChange, updateChange, R, G, B, RSpinner,
GSpinner, BSpinner): Now package-private.
* javax/swing/colorchooser/DefaultHSBChooserPanel.java
(gradientImage, trackImage, slider, hRadio, sRadio, bRadio,
hSpinner, sSpinner, bSpinner, gradientPoint, internalChange,
spinnerTrigger, locked, handlingMouse, updateImage, updateSlider,
updateTrack): Now package-private.
* javax/swing/TransferHandler.java (clipboard): Now
package-private.
* javax/swing/ToolTipManager.java (showTip, hideTip): Now
package-private.
* javax/swing/Timer.java (drainEvents, queueEvent): Now
package-private.
* javax/swing/RepaintManager.java (globalManager): Now
package-private.
* javax/swing/JFormattedTextField.java (editValid): Now
package-private.
* javax/swing/JColorChooser.java (makeModal): Now
package-private.
* java/awt/geom/GeneralPath.java (rule, types, xpoints, ypoints,
index, path): Now package-private.
* java/awt/geom/Area.java (solids, holes, cubicCubicIntersect,
lineQuadIntersect, lineCubicIntersect, linesIntersect,
pointEquals): Now package-private.
* java/awt/geom/Arc2D.java (type): Now package-private.
* java/awt/Window.java (windowFocusOwner): Now package-private.
* java/awt/TextComponent.java (editable, selectionStart,
selectionEnd, text, getIndexAtPoint, getCharacterBounds): Now
package-private.
* java/awt/MenuItem.java (actionCommand, enabled, label): Now
package-private.
* java/awt/MenuComponent.java (focusListener): Now
package-private.
* java/awt/Frame.java (state): Now package-private.
* java/awt/Choice.java (pItems): Now package-private.
* java/awt/Checkbox.java (state): Now package-private.
* java/awt/Button.java (actionCommand, label): Now
package-private.
* gnu/javax/swing/text/html/parser/support/Parser.java
(attributes, _handleEndTag_remaining, _handleStartTag): Now
package-private.
* gnu/java/beans/decoder/PersistenceParser.java (javaHandler): Now
package-private.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (paint, stroke, fg, bg,
clip, transform, font, comp): Now package-private.
From-SVN: r98786
2005-04-26 18:57:40 +00:00
Tom Tromey
2500ada2ff
Robot.java (waitForIdle): Call invokeAndWait in a static way.
...
* java/awt/Robot.java (waitForIdle): Call invokeAndWait in a
static way.
From-SVN: r98785
2005-04-26 18:28:49 +00:00
Mark Wielaard
c579626684
URL.java (URL(URL,String,URLStreamHandler)): Add spec to MalformedURLException.
...
2005-04-26 Mark Wielaard <mark@klomp.org>
* java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
to MalformedURLException.
From-SVN: r98767
2005-04-26 07:49:16 +00:00
Michael Koch
bb07973ce5
AccessControlContext.java: Reformated.
...
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/security/AccessControlContext.java:
Reformated.
(protectedDomains): Renamed from 'protectionDomain'.
* java/security/AccessController.java:
Reformatted.
From-SVN: r98766
2005-04-26 07:16:48 +00:00
Jeroen Frijters
a79f940af0
Security.java, [...]: Modified to use SystemProperties.
...
2005-04-26 Jeroen Frijters <jeroen@frijters.net>
* java/security/Security.java,
java/security/cert/X509CRLSelector.java,
java/security/cert/X509CertSelector.java:
Modified to use SystemProperties.
From-SVN: r98764
2005-04-26 05:22:12 +00:00
Michael Koch
57fc483297
2005-04-26 Michael Koch <konqueror@gmx.de>
...
* java/lang/System.java
(setSecurityManager): Fixed comment.
(getSecurityManager): Removed obsolete comment.
From-SVN: r98763
2005-04-26 05:09:35 +00:00
Tom Tromey
3e591bd21b
* java/awt/AWTKeyStroke.java (vktable): Now package-private.
...
From-SVN: r98752
2005-04-26 00:22:19 +00:00
Michael Koch
84e0bcb8c5
[multiple changes]
...
2005-04-25 Jeroen Frijters <jeroen@frijters.net>
* java/awt/GraphicsEnvironment.java
(localGraphicsEnvironment): New field.
(getLocalGraphicsEnvironment): Added support for java.awt.graphicsenv
property.
(isHeadless): Added support for java.awt.headless property.
(isHeadlessInstance): Call headless().
2005-04-25 Roman Kennke <roman@kennke.org>
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java
(getDisplayMode): Added. Returns the current display mode.
(isFullScreenSupported): Added.
* java/awt/GraphicsDevice.java
(setFullScreenWindow): Implemented a primitive fullscreen mode.
This resizes and relocates the fullscreen window so that it uses
the whole screen. This is not a fully accelerated fullscreen
exclusive mode.
From-SVN: r98740
2005-04-25 20:58:13 +00:00
Michael Koch
4b30c6bda0
Runtime.java, [...]: Replaced java.lang.Runtime.securityManager by java.lang.SecurityManager.current...
...
2005-04-25 Michael Koch <konqueror@gmx.de>
* java/lang/Runtime.java,
java/lang/SecurityManager.java,
java/lang/System.java,
java/lang/ThreadGroup.java:
Replaced java.lang.Runtime.securityManager by
java.lang.SecurityManager.current (as used in GNU classpath).
From-SVN: r98738
2005-04-25 20:35:17 +00:00
David Gilbert
23a58ffe2b
2005-04-25 David Gilbert <david.gilbert@object-refinery.com>
...
* java/awt/Transparency.java
(getTransparency): fixed API docs.
From-SVN: r98735
2005-04-25 19:51:00 +00:00
Michael Koch
ee141b8822
[multiple changes]
...
2005-04-25 Archie Cobbs <archie@dellroad.org>
* java/lang/Throwable.java: simplify initializing cause in constructor
2005-04-25 Michael Koch <konqueror@gmx.de>
* gnu/classpath/SystemProperties.java: New file.
* gnu/classpath/natSystemProperties.cc: New file.
* java/lang/Runtime.java
(defaultProperties): Removed.
(static): Likewise.
(): Made thrown exceptions more verbose.
(insertSystemProperties): Removed.
* java/lang/System.java
(static): Likewise.
(properties): Likewise.
(setSecurityManager): Reordered modifiers.
(getenv): Improved javadoc.
(): Likewise.
(isWordsBigEndian): Removed.
* java/lang/natRuntime.cc
(_Jv_SetDLLSearchPath): Likewise.
(file_encoding): Likewise.
(default_file_encoding): Likewise.
(getpwuid_adaptor): Likewise.
(insertSystemProperties): Likewise.
* java/lang/natSystem.cc
(isWordsBigEndian): Likewise.
* Makefile.am
(ordinary_java_source_files):
Added gnu/classpath/SystemProperties.java.
(nat_source_files): Added gnu/classpath/natSystemProperties.cc.
* Makefile.in: Regenerated.
From-SVN: r98734
2005-04-25 19:48:35 +00:00
Jeroen Frijters
528e5d8bce
FileInputStream.java (FileInputStream(File)), java/io/FileOutputStream.java (FileOutputStream(File)): Removed unnecessary File.isDirectory() check.
...
2005-04-23 Jeroen Frijters <jeroen@frijters.net>
* java/io/FileInputStream.java (FileInputStream(File)),
java/io/FileOutputStream.java (FileOutputStream(File)):
Removed unnecessary File.isDirectory() check.
From-SVN: r98607
2005-04-23 11:20:14 +00:00
Anthony Green
f00fac9d2f
jni.cc (natrehash): Don't bother clearing memory again.
...
2005-04-22 Anthony Green <green@redhat.com>
* jni.cc (natrehash): Don't bother clearing memory again.
* interpret.cc (do_allocate_static_fields): Ditto.
* java/lang/natString.cc (rehash): Ditto.
From-SVN: r98583
2005-04-22 19:02:41 +00:00
Sven de Marothy
c58f195fd2
LogManager.java: Reformatted.
...
2005-04-22 Sven de Marothy <sven@physto.se>
* java/util/logging/LogManager.java: Reformatted.
(readConfiguration): If a logger for a key is not found, create one.
From-SVN: r98543
2005-04-22 05:48:06 +00:00
Andrew John Hughes
6a15d30b22
Naming.java: Added class documentation.
...
2005-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/rmi/Naming.java:
Added class documentation.
(lookup(String)): Call parseURL and getName.
(bind(String,java.rmi.Remote)): Likewise.
(unbind(String)): Likewise.
(rebind(String, java.rmi.Remote)): Likewise.
(list(String)): Call parseURL.
(parseURL(String)): New method to handle parsing and defaults.
(getName(java.net.URL)): New method to handle finding the service name.
From-SVN: r98542
2005-04-22 05:45:02 +00:00
Tom Tromey
36a0d3d264
* java/lang/natClass.cc (initializeClass): Link class.
...
From-SVN: r98540
2005-04-22 02:33:31 +00:00
Tom Tromey
8fd5bcbe95
AssertionError.java: Typo fix.
...
2005-04-21 Tom Tromey <tromey@redhat.com>
* java/lang/AssertionError.java: Typo fix.
From-SVN: r98523
2005-04-21 20:41:32 +00:00