1. 23 Sep, 2005 1 commit
    • Imported Classpath 0.18. · 1ea63ef8
      	* sources.am, Makefile.in: Updated.
      	* Makefile.am (nat_source_files): Removed natProxy.cc.
      	* java/lang/reflect/natProxy.cc: Removed.
      	* gnu/classpath/jdwp/VMFrame.java,
      	gnu/classpath/jdwp/VMIdManager.java,
      	gnu/classpath/jdwp/VMVirtualMachine.java,
      	java/lang/reflect/VMProxy.java: New files.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* scripts/makemake.tcl (verbose): Add gnu/java/awt/peer/qt to BC
      	list.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/java/net/DefaultContentHandlerFactory.java (getContent):
      	Remove ClasspathToolkit references.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* gnu/awt/xlib/XCanvasPeer.java: Add new peer methods.
      	* gnu/awt/xlib/XFramePeer.java: Likewise.
      	* gnu/awt/xlib/XGraphicsConfiguration.java: Likewise.
      
      2005-09-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
      
      	* Makefile.am (libgcjawt_la_SOURCES): Remove jawt.c.  Add
      	classpath/native/jawt/jawt.c.
      	* Makefile.in: Regenerate.
      	* jawt.c: Remove file.
      	* include/Makefile.am (tool_include__HEADERS): Remove jawt.h and
      	jawt_md.h.  Add ../classpath/include/jawt.h and
      	../classpath/include/jawt_md.h.
      	* include/Makefile.in: Regenerate.
      	* include/jawt.h: Regenerate.
      	* include/jawt_md.h: Regenerate.
      
      From-SVN: r104586
      Tom Tromey committed
  2. 16 Jul, 2005 1 commit
  3. 30 Jun, 2005 1 commit
  4. 18 Oct, 2004 1 commit
  5. 20 Apr, 2004 1 commit
    • Authenticator.java, [...]: Fixed javadocs, coding style and argument names all over. · f6d49f66
      2004-04-20  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/Authenticator.java,
      	java/net/BindException.java,
      	java/net/ConnectException.java,
      	java/net/ContentHandler.java,
      	java/net/ContentHandlerFactory.java,
      	java/net/DatagramPacket.java,
      	java/net/DatagramSocket.java,
      	java/net/DatagramSocketImpl.java,
      	java/net/DatagramSocketImplFactory.java,
      	java/net/FileNameMap.java,
      	java/net/HttpURLConnection.java,
      	java/net/Inet4Address.java,
      	java/net/Inet6Address.java,
      	java/net/InetAddress.java,
      	java/net/InetSocketAddress.java,
      	java/net/JarURLConnection.java,
      	java/net/MalformedURLException.java,
      	java/net/MulticastSocket.java,
      	java/net/NetPermission.java,
      	java/net/NetworkInterface.java,
      	java/net/NoRouteToHostException.java,
      	java/net/PasswordAuthentication.java,
      	java/net/PortUnreachableException.java,
      	java/net/ProtocolException.java,
      	java/net/ServerSocket.java,
      	java/net/Socket.java,
      	java/net/SocketAddress.java,
      	java/net/SocketException.java,
      	java/net/SocketImpl.java,
      	java/net/SocketImplFactory.java,
      	java/net/SocketOptions.java,
      	java/net/SocketPermission.java,
      	java/net/SocketTimeoutException.java,
      	java/net/URI.java,
      	java/net/URISyntaxException.java,
      	java/net/URL.java,
      	java/net/URLClassLoader.java,
      	java/net/URLConnection.java,
      	java/net/URLDecoder.java,
      	java/net/URLEncoder.java,
      	java/net/URLStreamHandler.java,
      	java/net/URLStreamHandlerFactory.java,
      	java/net/UnknownHostException.java,
      	java/net/UnknownServiceException.java:
      	Fixed javadocs, coding style and argument names all over.
      
      From-SVN: r80900
      Michael Koch committed
  6. 20 Dec, 2003 1 commit
    • 2003-12-20 Michael Koch <konqueror@gmx.de> · 4e24f937
      	* gnu/java/net/protocol/jar/Connection.java
      	(connectionCache): New field.
      	(connect): New method.
      	(getInputStream): New method.
      	(hdrHash): New field.
      	(hdrVec): New field.
      	(gotHeaders): New field.
      	(getHeaderField): New method.
      	(getHeaderFields): New method.
      	(getHeaderFieldKey): New method.
      	(getKey): New method.
      	(getField): New method.
      	(getHeaders): New method.
      	* java/net/JarURLConnection.java
      	(connectionCache): Removed.
      	(connect): Removed.
      	(getInputStream): Removed.
      	(hdrHash): Removed.
      	(hdrVec): Removed.
      	(gotHeaders): Removed.
      	(getHeaderField): Removed.
      	(getHeaderFields): Removed.
      	(getHeaderFieldKey): Removed.
      	(getKey): Removed.
      	(getField): Removed.
      	(getHeaders): Removed.
      
      From-SVN: r74895
      Michael Koch committed
  7. 13 Oct, 2003 1 commit
    • 2003-10-13 Michael Koch <konqueror@gmx.de> · 94f41586
      	* java/net/JarURLConnection.java
      	(jarFileURL): Added dcoumentation.
      	(jarFileURLConnection): Reformated documentation.
      	(entryName): Renamed from "element", documentation rewritten.
      	(connectionCache): Renamed from "conn_cache", documentation
      	reformated.
      	(JarURLConnection): Check URL protocol.
      	(getEntryName): Use entryName.
      	(connect): Use connectionCache.
      	(getInputStream): Use entryName, fixed comment.
      	(getJarEntry): Use entryName.
      	(getHeaders): Use entryName.
      	* java/net/URLConnection.java
      	(addRequestProperty): Fixed documentation.
      	(setDefaultRequestProptery): Added comment that it does nothing since
      	JDK 1.3.
      	(getDefaultRequestProperty): Likewise.
      
      From-SVN: r72420
      Michael Koch committed
  8. 22 Sep, 2003 1 commit
  9. 09 May, 2003 1 commit
    • 2003-05-09 Michael Koch <konqueror@gmx.de> · 44db872c
      	* java/net/JarURLConnection.java
      	(getJarEntry): Merged documentation from classpath.
      	(getJarFile): Likewise.
      	(getMainAttributes): Likewise.
      	(getAttributes): Likewise.
      	(getManifest): Likewise.
      	(getCertificates): Reformatted.
      	* java/net/URLConnection.java:
      	Little classpath merge.
      
      From-SVN: r66625
      Michael Koch committed
  10. 02 May, 2003 2 commits
    • 2003-05-02 Michael Koch <konqueror@gmx.de> · e23c953a
      	* java/net/JarURLConnection.java
      	(JarURLConnection): Class documentation merged with classpath.
      	(getJarFileURL): Moved and documentation merged with classpath.
      	(getEntryName): Likewise.
      	(JarURLConnection): Documentation merged with classpath.
      	(getJarEntry): Likewise.
      	(getJarFile): Likewise.
      	* java/net/PlainDatagramSocketImpl.java:
      	Class documentation moved.
      	* java/net/URLConnection.java
      	(fileNameMap): Moved and documentation merged with classpath.
      	(factory): Likewise.
      	(defaultAllowUserInteraction): Likewis.
      	(defaultUseCaches): Likewise.
      	(allowUserInteraction): Likewise.
      	(connected): Likewise.
      	(url): Likewise.
      	(connect): Documentation merged with classpath.
      	(getURL): Likewise.
      	(getContentLength): Likewise.
      	(getContentType): Likewise.
      	(getContentEncoding): Likewise.
      	(getExpiration): Likewise.
      	(getDate): Likewise.
      	(getLastModified): Likewise.
      	(getHeaderField): Likewise.
      	(getContent): Likewise.
      	(getPermission): Likewise.
      	(getInputStream): Likewise.
      	(getOutputStream): Likewise.
      	(toString): Likewise.
      	(getDoInput): Likewise.
      	(getDoOutput): Likewise.
      	(setAllowUserInteraction): Likewise.
      	(getAllowUserInteraction): Likewise.
      	(setDefaultAllowUserInteraction): Likewise.
      	(getDefaultAllowUserInteraction): Likewise.
      	(setUseCaches): Likewise.
      	(getUseCaches): Likewise.
      	(setIfModifiedSince): Likewise.
      	(getIfModifiedSince): Likewise.
      	(setDefaultRequestProperty): Likewise.
      	(getDefaultRequestProperty): Likewise.
      	(setContentHandlerFactory): Likewise.
      	(setFileNameMap): Likewise.
      
      From-SVN: r66379
      Michael Koch committed
    • InetAddress.java: Merged class documentation with classpath. · 143f596a
      2003-05-02  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/InetAddress.java:
      	Merged class documentation with classpath.
      	* java/net/JarURLConnection.java:
      	Explicitely import all used classes.
      	* java/net/URL.java:
      	Reformatting.
      	* java/net/ServerSocket.java,
      	java/net/Socket.java:
      	New versions from classpath.
      
      From-SVN: r66376
      Michael Koch committed
  11. 20 Mar, 2003 1 commit
  12. 09 Dec, 2002 1 commit
    • Connection.java (getJarFile): download and cache remote jar files. · e825ca7f
      	* gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
      	cache remote jar files.
      	* gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
      	add File.separator to URL when it is a directory.
      	* java/lang/ClassLoader.java: Add Classpath javadoc.
      	(parent): final.
      	(getParent): Add (disabled) security check.
      	(findLibrary): New default method.
      	* java/net/JarURLConnection.java (getManifest): Implement.
      	(getInputStream): Only create InputStream when entry exists.
      	(getHeaders): Only use jarFileURLConnection or JarEntry to set length
      	when they exist.
      	* java/net/URLClassLoader.java: New/Rewritten version from Classpath.
      
      From-SVN: r59949
      Mark Wielaard committed
  13. 25 Sep, 2002 2 commits
    • 2002-09-25 Michael Koch <konqueror@gmx.de> · fc44b85d
      	* java/net/DatagramSocket.java
      	(DatagramSocket): Initialize new instance variables.
      	(close): Reset new instance variables.
      	(getLocalAddress): Remove unneeded SecurityManager usage.
      	(getLocalPort): Check if socket is already bound.
      	(isConnected): New method.
      	(getInetAddress): Implemented.
      	(getPort): Better Implementation, documentation fixed.
      	(getRemoteSocketAddress): New method.
      	* java/net/JarURLConnection.java
      	(element): Typo fixed.
      	(getMainAttributes): New method.
      	(getAttributes): New method (stub only).
      	(getManifest): New method (stub only).
      	* java/net/NetPermission.java: Added serialVersionsUID.
      	* java/net/Socket.java
      	(connect): Check blocking mode of associated channel,
      	documentation added.
      	(getLocalSocketAddress): Better implementation.
      	(getRemoteSocketAddress): Implemented.
      	(isBound): New method.
      	(setSendBufferSize): Documentation added.
      	* java/net/SocketAddress.java: Added serialVersionsUID.
      	* java/net/SocketPermission.java: Added serialVersionsUID.
      	* java/net/URL.java
      	(URL): Wrap for shorter lines, initialize new instance variables,
      	documentation added.
      	(equals): Check new instance variables too.
      	(getContent): Documentation added.
      	(getPath): Documentation added.
      	(getAuthority): New method.
      	(getHost): Documentation added.
      	(getPort): Documentation added.
      	(getDefaultPort): New method.
      	(getProtocol): Documentation added.
      	(getUserInfo): Documentation added.
      	(set): Initialize new instance variables, documentation added.
      	* java/net/URLStreamHandler.java
      	(setURL): New method.
      	* java/net/natPlainDatagramSocketImpl.cc
      	(connect): Fix exception name.
      	(disconnect): Fix exception name.
      
      From-SVN: r57501
      Michael Koch committed
    • 2002-09-25 Michael Koch <konqueror@gmx.de> · df79dc1a
      	* java/net/DatagramSocket.java
      	(DatagramSocket): Exception documentation added.
      	(bind): Exception documentation added, addded SecurityManager check,
      	added SocketAddress type check.
      	(getSoTimeout): Check impl.
      	(receive): Fix SecurityManager check, check impl, documentation added.
      	(send): Check channel mode, documentation added.
      	(connect): New method.
      	(disconnect): Implemented.
      	(getLocalSocketAddress): New method.
      	(getReceiveBufferSize): Check impl.
      	(setReuseAddress): Check impl.
      	(getReuseAddress): Check impl.
      	(setBroadcast): Check impl.
      	(getBroadcast): Check impl.
      	(setTrafficClass): Check impl, Documentation cleared.
      	(getTrafficClass): Check impl.
      	(getSendBufferSize): Check impl.
      	(setReceiveBufferSize): Check impl, documentation added.
      	(setSendBufferSize): Documentation added.
      	(setDatagramSocketImplFactory): New method.
      	* java/net/HttpURLConnection.java
      	(HTTP_INTERNAL_ERROR): The correct code is 500.
      	(HTTP_NOT_IMPLEMENTED): Added new constant.
      	(setFollowRedirects): Documentation added.
      	(getInstanceFollowRedirects): New method.
      	(setInstanceFollowRedirects): New method.
      	(setRequestMethod): Documentation added.
      	(getResponseCode): Documentation added.
      	(getResponseMessage): Documentation added.
      	* java/net/JarURLConnection.java
      	(JarURLConnection): protected since JDK 1.4.
      	(getJarEntry): java.io.IOException to IOException, documentation added.
      	(getJarFile): Documentation added.
      	* java/net/ServerSocket.java
      	(ServerSocket): Private to public, exception added.
      	(ServerSocket): java.io.IOException to IOException, documentation added.
      	(bind): Check socket address type, documentation added.
      	(bind): java.io.IOException to IOException, documentation added.
      	(accept): Documentation added.
      	(implAccept): Check ch is not non-blocking, documentation added.
      	(setSoTimeout): Documentation fixed.
      	(setReceiveBufferSize): Documentation added.
      	* java/net/Socket.java
      	(Socket): Documentation added.
      	(bind): Documentation added.
      	(connect): Check socket address type, documentation added.
      	(getRemoteSocketAddress): New method.
      
      From-SVN: r57494
      Michael Koch committed
  14. 13 Sep, 2002 1 commit
    • DatagramPacket.java (DatagramPacket): Added linebreak for 80 chars per line. · 69aeba4e
      2002-09-13  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/DatagramPacket.java (DatagramPacket):
      	Added linebreak for 80 chars per line.
      	* java/net/JarURLConection.java
      	(getInputStream, getJarEntry): Likewise.
      	* java/net/SocketPermission.java
      	(SocketPermission class docu, implies): Likewise.
      	* java/net/URLClassLoader.java (findResources): Likewise.
      	* java/net/URLConnection.java: Reindendet remark for 80 chars per line
      
      From-SVN: r57105
      Michael Koch committed
  15. 30 Aug, 2002 1 commit
    • JarURLConnection.java (getCertificates): New method from Classpath. · 4c322bff
      	* java/net/JarURLConnection.java (getCertificates): New method
      	from Classpath.
      	* java/net/URLClassLoader.java (URLClassLoader): Extends
      	SecureClassLoader.
      	(definePackage): New method from Classpath.
      	(getPermissions): Likewise.
      	(newInstance): Likewise.
      	(findClass): Construct CodeSource for new class (from Classpath).
      	* java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
      	methods.
      	* java/net/URL.java (getUserInfo): New method.
      	(set(String,String,int,String,String,String,String,String)): New
      	method.
      	* java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
      	(shutdownInput, shutdownOutput): Declare.
      	* java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
      	Define.
      	* java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
      	(getOption): Likewise.
      	(shutdownInput): New method.
      	(shutdownOutput): Likewise.
      	* java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
      	keepalive.
      	(getOption): Likewise.
      	* java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
      	* java/net/Socket.java (setKeepAlive): New method.
      	(getKeepAlive): Likewise.
      	(shutdownInput, shutdownOutput): New methods.
      
      From-SVN: r56685
      Tom Tromey committed
  16. 27 Aug, 2002 1 commit
    • BindException.java, [...]: add/update of some @since/@deprecated · 49c3c980
      2002-08-27  Michael Koch <konqueror@gmx.de>
      
      	* java/net/BindException.java,
      	java/net/JarURLConnection.java,
      	java/net/FileNameMap.java,
      	java/net/HttpURLConnection.java,
      	java/net/InetSocketAddress.java,
      	java/net/DatagramPacket.java,
      	java/net/DatagramSocket.java,
      	java/net/DatagramSocketImpl.java,
      	java/net/MulticastSocket.java,
      	java/net/PasswordAuthentication.java,
      	java/net/ServerSocket.java,
      	java/net/Socket.java,
      	java/net/URLClassLoader.java,
      	java/net/URLConnection.java: add/update of some @since/@deprecated
      
      From-SVN: r56608
      Michael Koch committed
  17. 23 Aug, 2002 1 commit
  18. 20 Aug, 2000 1 commit
    • URLClassLoader.java: Find the JarEntry via the JarFile. · f2e541ce
      Sun Aug 20 09:51:48 2000  Anthony Green  <green@redhat.com>
      
              * java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
      
              * java/net/JarURLConnection.java: getEntry doesn't take any
              arguments.  Return null if element is null.
      
              * java/util/zip/ZipFile.java (getInputStream): Read the compressed
              size from the archive, not the inflated size.
      
              * java/util/jar/JarFile.java (getEntry): Don't recurse.  Call
              java.util.zip.ZipFile.getEntry.
      
              * gij.cc (help): Change sourceware reference to
              sources.redhat.com.
      
      From-SVN: r35821
      Anthony Green committed
  19. 07 Mar, 2000 1 commit
  20. 19 Jan, 2000 1 commit
  21. 18 Aug, 1999 1 commit
    • natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. · eb4534a6
      	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
      	from _Jv_InternClassStrings.
      
      	* prims.cc (_Jv_RunMain): New function.
      	(JvRunMain): Remove gij-support.
      
      	* gij.cc (main): Use _Jv_RunMain.
      
      	* java/util/zip/ZipFile.java: Call readDirectory in constructor.
      
      	* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
      	argument in temp variable.
      	(continue1): For all op_x2y insns, use temp variable for
      	intermediate value.  Also remove some comments.
      
      	* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
      	(forName): Don't call _Jv_InitClass.
      
      	* java/lang/Class.java (getResource,getResourceAsStream): Implement.
      
      	* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.
      
      	* java/util/jar/JarInputStream.java: New file.
      
      	* java/util/jar/JarEntry.java: New file.
      
      	* java/util/jar/JarFile.java: New file.
      
      	* java/net/URLClassLoader.java: New file.
      
      	* java/net/JarURLConnection.java: New file.
      
      	* gnu/gcj/protocol/jar/Handler.java: New file.
      
      	* gnu/gcj/protocol/jar/Connection.java: New file.
      
      	* java/security/SecureClassLoader.java: New file.
      
      	* java/lang/ClassLoader.java (parent): New variable.
      	(ClassLoader (ClassLoader)): new constructor.
      	(findClass): New method.
      	(loadClass): Add default 1.2 implementation.
      	(getSystemResourceAsBytes, getResourceAsBytes): Removed.
      	(readfully): Removed.
      
      	* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
      	(findSystemClass): New method.
      	(VMClassLoader): Constructor rewritten.
      	(init): New method.
      	All other methods removed.
      
      	* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
      	to gnu::gcj::runtime::VMClassLoader.
      	(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry.  Also handle
      	class entries.
      	(VMClassLoader::findSystemClass): renamed from findBootClass.
      
      	* Makefile.am: Add new files.
      	(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.
      
      	* Makefile.in: Rebuilt.
      
      From-SVN: r28748
      Kresten Krab Thorup committed