[llvm-commits] CVS: gcc-3.4/libjava/ChangeLog Makefile.am Makefile.in
John Criswell
criswell at cs.uiuc.edu
Thu Feb 5 10:08:52 PST 2004
Changes in directory gcc-3.4/libjava:
ChangeLog updated: 1.2 -> 1.3
Makefile.am updated: 1.2 -> 1.3
Makefile.in updated: 1.2 -> 1.3
---
Log message:
Commit of merge from September 24, 2003 of mainline GCC. This merge now
works reasonably on Linux/x86 and probably works on Solaris/Sparc.
---
Diffs of the changes: (+730 -41)
Index: gcc-3.4/libjava/ChangeLog
diff -u gcc-3.4/libjava/ChangeLog:1.2 gcc-3.4/libjava/ChangeLog:1.3
--- gcc-3.4/libjava/ChangeLog:1.2 Fri Jan 9 10:54:33 2004
+++ gcc-3.4/libjava/ChangeLog Thu Feb 5 10:05:48 2004
@@ -1,3 +1,590 @@
+2003-09-23 Nathanael Nerode <neroden at gcc.gnu.org>
+
+ * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
+
+ * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
+ markers.
+
+2003-09-22 Anthony Green <green at redhat.com>
+
+ * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
+ * configure: Rebuilt.
+
+2003-09-21 Ralph Loader <suckfish at ihug.co.nz>
+
+ PR java/12350:
+ * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
+
+2003-09-22 Michael Koch <konqueror at gmx.de>
+
+ * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
+ compiler warning but produces a different one now.
+
+2003-09-22 Michael Koch <konqueror at gmx.de>
+
+ * java/net/InetAddress.java:
+ Moves around some code, reformats and adds documentation.
+ No functional changes.
+
+2003-09-22 Michael Koch <konqueror at gmx.de>
+
+ * java/net/JarURLConnection.java
+ (JarURLConnection): Modifed code to match classpath more, fixed comment.
+ (getCertificates): Made it more error prone.
+ (getMainAttributes): Likewise.
+ (getAttributes): Implemented.
+ (getManifest): Reformatted code.
+
+2003-09-20 Tom Tromey <tromey at redhat.com>
+
+ * java/awt/Component.java: Indentation cleanup from Classpath.
+
+2003-09-20 Dalibor Topic <robilad at kaffe.org>
+
+ * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
+ checking to follow 1.4.2 spec.
+
+2003-08-11 Ingo Proetel <proetel at aicas.com>
+
+ * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
+ is compatible in case client and server are running in the same VM
+ (remerged from Classpath on 2003-09-20)
+
+2003-09-19 David Daney <ddaney at avtrex.com>
+
+ * java/lang/ref/Reference.java (clear): Set referent to null and
+ synchronize.
+
+2003-09-19 Michael Koch <konqueror at gmx.de>
+
+ * gnu/java/nio/NIODatagramSocket.java,
+ gnu/java/nio/NIOSocket.java: New files.
+ * Makefile.am (ordinary_java_source_files):
+ Added gnu/java/nio/NIODatagramSocket.java and
+ gnu/java/nio/NIOSocket.java.
+ * Makefile.in: Regenerated.
+
+2003-09-19 Thomas Fitzsimmons <fitzsim at redhat.com>
+
+ * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
+ top-level GTK window.
+ (getArgs): Add "title" property.
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
+ "allow_shrink" and "allow_grow" properties.
+ * java/awt/Dialog.java: Initialize resizable to true and change
+ comments accordingly. Initialize visible to false in
+ constructors.
+ * java/awt/Frame.java (dispose): Remove method.
+ * java/awt/Window.java (ownedWindows): New field.
+ (Window(Window,GraphicsConfiguration)): Add a weak reference to
+ owner's ownedWindows vector.
+ (finalize): Remove method.
+ (hide): Hide owned windows.
+ (dispose): Dispose of owned windows.
+ (getOwnedWindows): Implement.
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
+ unused GtkArg code.
+ (set(String,boolean)): Clamp gboolean parameter to g_object_set
+ to TRUE or FALSE.
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
+ (create): Set window's size requisition.
+ (connectHooks): Fix indentation.
+ (setResizable): Remove function.
+ (static setBounds): Likewise.
+ (setBounds): Replace call to setBounds with GTK size requisition
+ and resize calls.
+
+2003-09-19 Mohan Embar <gnustuff at thisiscool.com>
+
+ * win32-threads.cc: (ensure_interrupt_event_initialized) New
+ function for lazy initialization of an auto-reset event.
+ (_Jv_CondWait) Added thread interrupt support.
+ (_Jv_ThreadInitData) Added initialization of interrupt support
+ members.
+ (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
+ (_Jv_ThreadStart) Removed unused code.
+ (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
+ to an external caller.
+ (_Jv_ThreadInterrupt) Implemented.
+ * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
+ event for interrupt support as well as a mutex which regulates
+ access to this.
+ (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
+ event to an external caller.
+ * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
+ process.
+ (waitFor) Added interrupt support.
+
+2003-09-19 Michael Koch <konqueror at gmx.de>
+
+ * java/net/DatagramSocket.java (getLocalAddress):
+ Renamed result variable to localAddr.
+ * java/net/MulticastSocket.java:
+ No need to import gnu.java.net.PlainDatagramSocketImpl.
+
+2003-09-18 Sascha Brawer <brawer at dandelis.ch>
+
+ * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
+ Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
+
+2003-09-18 Tom Tromey <tromey at redhat.com>
+
+ * javax/naming/InitialContext.java: Reindented.
+
+2003-09-18 Dalibor Topic <robilad at kaffe.org>,
+ Helmer Kraemer <hkraemer at freenet.de>
+
+ * javax/naming/spi/NamingManager.java (getURLContext,
+ getObjectInstance, getStateToBind): Always use current thread's
+ context class loader when calling Class.forName.
+
+2003-09-18 Michael Koch <konqueror at gmx.de>
+
+ * java/util/Timer.java (finalize): Added "throws Throwable".
+
+2003-09-18 Michael Koch <konqueror at gmx.de>
+
+ * java/net/DatagramSocket.java
+ (ch): Removed.
+ (receive): Use getChannel() instead of ch.
+ (send): Likewise.
+ (getChannel): Return null.
+ * java/net/ServerSocket.java
+ (ch): Removed.
+ (setChannel): Removed.
+ (implAccept): Use getChannel() instead of ch.
+ (close): Likewise.
+ (getChannel): Return null.
+ * java/net/Socket.java
+ (ch): Removed.
+ (connect): Use getChannel() instead of ch.
+ (setChannel): Removed.
+ (getChannel): Return null.
+
+2003-09-18 Mark Wielaard <mark at klomp.org>
+
+ Reported by Guilhem Lavaux and Julian Dolby
+ * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
+ field "serialPersistentFields", not "getSerialPersistentFields".
+
+2003-09-18 Ingo Proetel <proetel at aicas.com>
+
+ * java/util/TimeZone.java: Initialize lazily.
+ * java/util/Locale.java (readManifest): Fix check for country.
+ * java/util/GregorianCalendar.java: Make use of ResourceBundle better
+ traceable
+ * java/util/Calendar.java: Make use of ResourceBundle better
+ traceable.
+
+2003-09-18 Jeroen Frijters <jeroen at frijters.net>
+
+ * java/sql/Timestamp.java
+ (valueOf): Fixed confusion of java.sql.Date and java.util.Date
+
+2003-09-18 David P Grove <groved at us.ibm.com>
+
+ * java/io/LineNumberReader (read): Don't reset pos & limit when
+ markPos is 0.
+
+2003-09-18 Dalibor Topic <robilad at kaffe.org>
+
+ * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
+ constant.
+ (computeArguments): use computeTypicalArguments.
+
+ * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
+ Compile_jikes.java and RMICException.java.
+ * gnu/java/rmi/rmic/Compile_kjc.java: New file.
+ * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
+ * gnu/java/rmi/rmic/RMICException.java: Likewise.
+
+ * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
+
+ * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
+ (computeTypicalArguments): New method.
+ (compile): Print compiler output to System.out. Collect compiler
+ error output and use it in exception message.
+
+ * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
+ (destination): Initialize to null.
+ (run): Replace file separator with '.' when processing class.
+ (processClass): Replace '.' with file separator when compiling
+ classes.
+ (findClass): Use SystemClassLoader to load class.
+ (generateStub): Use full class name for generated stub, that puts
+ it in right path. Replace '.' with file separator when generating
+ stub file name. Write just the stub class name without package
+ information as class name, and constructor name. Write only
+ interface names for interfaces extending java.rmi.Remote as
+ implemented.
+ (generateSkel): Use full class name for generated skel, that puts
+ it in right path. Replace '.' with file separator when generating
+ stub file name. Write just the stub class name without package
+ information as class name.
+
+2003-09-18 Michael Koch <konqueror at gmx.de>
+
+ * Makefile.am (rmi_java_source_files):
+ Added gnu/java/rmi/rmic/Compile_kjc.java,
+ gnu/java/rmi/rmic/Compile_jikes.java and
+ gnu/java/rmi/rmic/RMICException.java
+ * Makefile.in: Regenerated.
+
+2003-09-17 Graydon Hoare <graydon at redhat.com>
+
+ * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
+ gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
+ jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
+ jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
+ New files.
+
+2003-09-16 Graydon Hoare <graydon at redhat.com>
+
+ * java/awt/BufferedImage.java (setData): Support non-component
+ sample models.
+ (getData): Same.
+
+2003-09-10 Graydon Hoare <graydon at redhat.com>
+
+ * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
+ * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
+
+2003-09-17 Mohan Embar <gnustuff at thisiscool.com>
+
+ * configure.in: Standardized help text case of
+ --enable-hash-synchronization
+ New configure switch --enable-libgcj-multifile and corresponding
+ automake conditional ONESTEP.
+ * configure: Rebuilt.
+ * Makefile.am: Use automake conditional ONESTEP to determine
+ whether classfiles should be compiled individually or all
+ at once.
+ * Makefile.in: Rebuilt.
+
+2003-09-16 Thomas Fitzsimmons <fitzsim at redhat.com>
+
+ * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
+ Remove method declaration.
+ (create()): Call native create.
+ (create(int)): New method.
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
+ (create): Add window_id parameter. Call gtk_plug_new with
+ window_id parameter.
+ (construct): Remove method implementation.
+
+2003-09-16 Mohan Embar <gnustuff at thisiscool.com>
+
+ * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
+ (mostlyclean-local): New target patterned after clean-local
+ which recursively deletes all libtool objects using 'libtool rm'.
+ (clean-local): Slightly modified comment to alleviate monotony.
+ (distclean-local): New target patterned after clean-local
+ which recursively deletes all .d files.
+ * Makefile.in: Rebuilt.
+
+2003-09-11 Tom Tromey <tromey at redhat.com>
+
+ * java/net/URLStreamHandler.java (parseURL): If original file
+ ends with "/", so must canonical result.
+ * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
+ with nul-termination and finding previous "/".
+
+2003-09-11 Michael Koch <konqueror at gmx.de>
+
+ * acconfig.h: Removed most items.
+ * configure.in: Added descriptions to AC_DEFINE macros that where in
+ acconfig.h before.
+ * include/config.h.in: Regenerated.
+
+2003-09-11 Sascha Brawer <brawer at dandelis.ch>
+
+ * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
+ if one is installed. Improve Javadoc.
+ (getSystemEventQueueImpl): Improve Javadoc.
+
+2003-09-11 Tom Tromey <tromey at redhat.com>
+
+ * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
+ file does not exist.
+
+2003-09-10 Anthony Green <green at redhat.com>
+
+ * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
+ Specify full name when referencing ::java::net::InetAddress.
+ * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
+ Fix argument type.
+
+2003-09-10 Michael Koch <konqueror at gmx.de>
+
+ * acconfig.h (__NO_MATH_INLINES): Removed.
+ * configure.in: Removed check for g++ math inlining bug from 2000.
+ * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
+ libgcj_cxxflags.
+ * configure: Regenerated.
+
+2003-09-10 David Daney <ddaney at avtrex.com>
+
+ * java/util/Arrays.java (equals(all variants)): Quit using
+ NullPointerException catching to detect null valued parameters.
+
+2003-09-10 Michael Koch <konqueror at gmx.de>
+
+ * java/net/DatagramSocket.java,
+ java/net/MulticastSocket.java,
+ java/net/ServerSocket.java,
+ java/net/Socket.java:
+ Use gnu.java.net.Plain*SocketImpl instead of
+ java.net.PlainSocketImpl.
+ * java/net/PlainDatagramSocketImpl.java,
+ java/net/PlainSocketImpl.java,
+ java/net/SocketInputStream.java,
+ java/net/SocketOutputStream.java,
+ java/net/natPlainDatagramSocketImplNoNet.cc,
+ java/net/natPlainDatagramSocketImplPosix.cc,
+ java/net/natPlainDatagramSocketImplWin32.cc,
+ java/net/natPlainSocketImplNoNet.cc,
+ java/net/natPlainSocketImplPosix.cc,
+ java/net/natPlainSocketImplWin32.cc:
+ Removed.
+ * gnu/java/net/PlainDatagramSocketImpl.java,
+ gnu/java/net/PlainSocketImpl.java,
+ gnu/java/net/SocketInputStream.java,
+ gnu/java/net/SocketOutputStream.java,
+ gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
+ gnu/java/net/natPlainDatagramSocketImplPosix.cc,
+ gnu/java/net/natPlainDatagramSocketImplWin32.cc,
+ gnu/java/net/natPlainSocketImplNoNet.cc,
+ gnu/java/net/natPlainSocketImplPosix.cc,
+ gnu/java/net/natPlainSocketImplWin32.cc:
+ New files (moved from java/net).
+ * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
+ instead of java/net/natPlain*SocketImpl.cc.
+ * configure: Regenerated.
+ * Makefile.am: Moved files from java/net to gnu/java/net.
+ * Makefile.in: Regenerated.
+
+2003-09-09 Alan Modra <amodra at bigpond.net.au>
+
+ * configure: Regenerate.
+
+2003-09-04 Tom Tromey <tromey at redhat.com>
+
+ * configure.host: Removed erroneous comment.
+
+ * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
+ lvalue cast; use correct rvalue cast.
+
+2003-09-02 Thomas Fitzsimmons <fitzsim at redhat.com>
+
+ * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
+ and height arguments to GtkWindowPeer.create method call.
+ * gnu/java/awt/peer/gtk/GtkWindowPeer.java
+ (create(int,int,int)): New method.
+ (create(int)): Add call to new create method.
+ (create()): Add width and height arguments to create method
+ call.
+ (GtkWindowPeer): Remove call to setBounds.
+ * java/awt/Frame.java (Frame(String)): Initialize visible field
+ to false.
+ (Frame(GraphicsConfiguration)): Likewise.
+ (Frame(String,GraphicsConfiguration)): Likewise.
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
+ Add width and height parameters. Call
+ gtk_window_set_default_size.
+ (connectHooks): Remove unused name variable.
+ (static setBounds): Call gtk_window_resize not
+ gtk_widget_set_usize.
+ (setBounds): Remove unused nchildren variable.
+
+2003-08-31 Ingo Proetel <proetel at aicas.com>
+
+ * java/util/logging/Logger.java: provide class and method information
+ * java/util/logging/LogManager.java: create handlers
+ * java/util/logging/SimpleFormatter.java: print souceClassName and
+ sourceMethodName
+
+2003-08-28 Mohan Embar <gnustuff at thisiscool.com>
+
+ * win32.cc: fixed tab, indentation and whitespace
+ inconsistencies
+ removed jvm.h include
+ added includes java/lang/UnsupportedOperationException.h,
+ java/io/IOException.h, java/net/SocketException.h
+ (WSAEventWrapper): class implementation
+ (_Jv_WinStrError): implemented both overloads
+ (_Jv_ThrowIOException): implemented both overloads
+ (_Jv_ThrowSocketException): implemented both overloads
+ (_Jv_select): implemented
+ * include/win32.h: fixed tab, indentation and whitespace
+ inconsistencies
+ wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
+ added jvm.h include
+ (WSAEventWrapper): added class declaration
+ (_Jv_WinStrError): added both overload declarations
+ (_Jv_ThrowIOException): added both overload declarations
+ (_Jv_ThrowSocketException): added both overload declarations
+ removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
+ (_Jv_select): added declaration
+ (_Jv_socket): removed
+ (_Jv_connect): removed
+ (_Jv_close): removed
+ (_Jv_bind): removed
+ (_Jv_accept): removed
+ (_Jv_listen): removed
+ (_Jv_write): removed
+ (_Jv_read): removed
+ * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ replaced <windows.h> #include with <platform.h>
+ removed jvm.h include
+ (testCanUseGetHandleInfo): new function which tests whether Win32
+ GetHandleInformation() call can be used with console buffer handles
+ (only supported on >=WinNT 5.0)
+ (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
+ (valid): rewrote implementation using GetHandleInformation()
+ (sync): changed exception throwing to use error string and exception
+ helper methods declared in include/win32.h
+ (open): likewise
+ (write): likewise
+ (setLength): likewise
+ (close): likewise
+ (seek): likewise
+ (getFilePointer): likewise
+ (read): likewise
+ * java/io/natFileWin32.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ replaced <windows.h> #include with <platform.h>
+ removed jvm.h include
+ (_access): use JV_TEMP_UTF_STRING
+ (_stat): likewise
+ (performMkDir): use JV_TEMP_UTF_STRING
+ (performRenameTo): likewise
+ (performDelete): likewise
+ (performCreate): likewise
+ (performSetReadOnly): likewise
+ (performSetLastModified): likewise
+ * java/lang/natWin32Process.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ replaced <windows.h> #include with <platform.h>
+ removed includes gcj/cni.h, jvm.h
+ (new_string): removed
+ (startProcess): use JV_TEMP_UTF_STRING,
+ changed exception throwing to use error string and exception
+ helper methods declared in include/win32.h
+ * java/net/natInetAddressWin32.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ replaced <windows.h> #include with <platform.h>
+ removed jvm.h include
+ removed DISABLE_JAVA_NET conditional code
+ removed POSIX conditional code not relevant to Win32
+ (aton): use JV_TEMP_UTF_STRING
+ removed POSIX conditional code not relevant to Win32
+ (lookup): likewise
+ (getLocalHostName): likewise
+ * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ removed unnecessary windows.h, winsock.h and gcj/cni.h includes
+ removed DISABLE_JAVA_NET conditional code
+ removed POSIX conditional code not relevant to Win32
+ (winsock2GetRealNetworkInterfaces): new function to compute network
+ interfaces via Winsock2 API
+ (determineGetRealNetworkInterfacesFN): new function for returning
+ a function pointer to the function used to compute network interfaces.
+ (getRealNetworkInterfaces): implemented
+ * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ removed gcj/cni.h include
+ removed DISABLE_JAVA_NET conditional code
+ removed POSIX conditional code not relevant to Win32
+ changed net POSIXisms to Win32isms
+ replaced _Jv socket-related calls with their real Win32 equivalents
+ changed exception throwing to use error string and exception
+ helper methods declared in include/win32.h
+ (peekData): implemented timeout support
+ (receive): likewise
+ * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
+ whitespace inconsistencies
+ removed gcj/cni.h and gcj/javaprims.h includes
+ removed DISABLE_JAVA_NET conditional code
+ removed POSIX conditional code not relevant to Win32
+ changed net POSIXisms to Win32isms
+ replaced _Jv socket-related calls with their real Win32
+ equivalents
+ changed exception throwing to use error string and exception
+ helper methods declared in include/win32.h
+ (throwConnectException): helper function for connect()
+ (connect): implemented timeout support
+ (accept): likewise
+ (doRead): new helper function common to both read() method overloads,
+ includes timeout support
+ (read): implemented both overloads in terms of doRead()
+ (available): implemented using ioctlsocket()
+
+2003-08-28 Mohan Embar <gnustuff at thisiscool.com>
+
+ * java/net/natInetAddressWin32.cc,
+ java/net/natNetworkInterfaceWin32.cc,
+ java/net/natPlainDatagramSocketImplWin32.cc,
+ java/net/natPlainSocketImplWin32.cc:
+ Readded code enclosed in DISABLE_JAVA_NET defines
+ in preparation for MinGW cleanup / networking
+ patch
+
+2003-08-28 Mohan Embar <gnustuff at thisiscool.com>
+
+ * Makefile.am: Fixed problems with parallel makes.
+ (all_java_class_files): Readded definition.
+ (all_java_class_files): New target which depends on
+ libgcj- at gcc_version@.jar
+ * Makefile.in: Rebuilt
+
+2003-08-28 Tom Tromey <tromey at redhat.com>
+
+ * Makefile.in: Rebuilt.
+ * Makefile.am (ordinary_java_source_files): Added new files.
+ * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
+ friend.
+ * java/net/URLClassLoader.java (findClass): Don't use
+ findURLResource. Use loader's getClass method.
+ (URLLoader.getClass): New method.
+ (addURL): Handle `gcjlib' URLs.
+ (SoURLLoader): New class.
+ (SoResource): Likewise.
+ * gnu/gcj/protocol/gcjlib/Connection.java: New file.
+ * gnu/gcj/protocol/gcjlib/Handler.java: New file.
+ * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
+ (_Jv_RegisterCoreHook): Declare.
+ (_Jv_FindCore): Declare.
+ * gnu/gcj/runtime/SharedLibHelper.java: New file.
+ * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
+ typedef.
+ (core_hook): New function.
+ (struct SharedLibDummy) [saved_core]: New field.
+ (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
+ (register_hook): Set protection domain and class loader on new
+ class.
+ (finalize): Free core chain.
+ * gnu/gcj/Core.java (Core): New constructor.
+ * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
+ SharedLibHelper.
+ * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
+ (_Jv_create_core): New function.
+ (create): Use it.
+ (default_register_resource): New function.
+ (_Jv_RegisterCoreHook): New global.
+ (_Jv_RegisterResource): Use it.
+ (core_chain_struct): Removed.
+ (_Jv_FindCore): New function.
+ (_Jv_FreeCoreChain): New function.
+
+2003-08-29 Michael Koch <konqueror at gmx.de>
+
+ * java/net/natInetAddressWin32.cc,
+ java/net/natNetworkInterfaceWin32.cc,
+ java/net/natPlainDatagramSocketImplWin32.cc,
+ java/net/natPlainSocketImplWin32.cc:
+ Removed code enclosed in DISABLE_JAVA_NET defines.
+
2003-08-26 Mohan Embar <gnustuff at thisiscool.com>
* Makefile.am: (write_entries_to_file) New parameterized
Index: gcc-3.4/libjava/Makefile.am
diff -u gcc-3.4/libjava/Makefile.am:1.2 gcc-3.4/libjava/Makefile.am:1.3
--- gcc-3.4/libjava/Makefile.am:1.2 Fri Jan 9 10:54:34 2004
+++ gcc-3.4/libjava/Makefile.am Thu Feb 5 10:05:48 2004
@@ -337,6 +337,12 @@
$(gtk_awt_peer_sources) \
$(x_java_source_files)
+all_java_class_files = $(all_java_source_files:.java=.class)
+
+if ONESTEP
+
+# Compile all classfiles in one go.
+
libgcj- at gcc_version@.jar: $(all_java_source_files)
- at rm -f libgcj- at gcc_version@.jar
@echo Compiling Java sourcefiles...
@@ -347,13 +353,50 @@
sed -e '/\/\./d' -e '/\/xlib/d' | \
$(ZIP) cfM0E@ $@
-MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files) $(x_javao_files) $(x_nat_files) $(x_nat_headers)
+# This next rule seems backward, but reflects the fact
+# that 1) all classfiles are compiled in one go when the
+# libgcj jarfile is built and 2) anything which depends
+# on a particular .class file must wait until the jarfile
+# is built.
+$(all_java_class_files): libgcj- at gcc_version@.jar
+
+else # !ONESTEP
+
+# Compile each classfile individually.
+
+.java.class:
+ $(JAVAC) $(JCFLAGS) -classpath '' -bootclasspath $(here):$(srcdir) -d $(here) $<
+
+libgcj- at gcc_version@.jar: $(all_java_class_files)
+ - at rm -f libgcj- at gcc_version@.jar
+ @echo Compiling Java sourcefiles...
+ @: $(call write_entries_to_file,$?,libgcj.sourcelist)
+ $(JAVAC) $(JCFLAGS) -classpath '' -bootclasspath $(here):$(srcdir) -d $(here) @libgcj.sourcelist
+## Note that we explicitly want to include directory information.
+ find java gnu javax org -type d -o -type f -name '*.class' | \
+ sed -e '/\/\./d' -e '/\/xlib/d' | \
+ $(ZIP) cfM0E@ $@
+
+endif
+
+# Note: The libtool objects are removed by mostlyclean-local
+# because of command-line-length issues.
+MOSTLYCLEANFILES = $(nat_headers) $(x_nat_headers)
+
CLEANFILES = libgcj- at gcc_version@.jar
+mostlyclean-local:
+## Use libtool rm to remove each libtool object
+ find . -name '*.lo' -print | xargs $(LIBTOOL) rm -f
+
clean-local:
-## We just remove every .class file that was created.
+## Remove every .class file that was created.
find . -name '*.class' -print | xargs rm -f
+distclean-local:
+## Remove every .d file that was created.
+ find . -name '*.d' -print | xargs rm -f
+
# Just remove the objects from C++ sources, for testing the C++ compiler.
clean-nat:
rm -f $(nat_files) $(x_nat_files)
@@ -1540,9 +1583,12 @@
gnu/java/rmi/registry/RegistryImpl_Skel.java \
gnu/java/rmi/registry/RegistryImpl_Stub.java \
gnu/java/rmi/rmic/Compile_gcj.java \
+gnu/java/rmi/rmic/Compile_jikes.java \
+gnu/java/rmi/rmic/Compile_kjc.java \
gnu/java/rmi/rmic/Compiler.java \
gnu/java/rmi/rmic/CompilerProcess.java \
gnu/java/rmi/rmic/RMIC.java \
+gnu/java/rmi/rmic/RMICException.java \
gnu/java/rmi/rmic/TabbedWriter.java \
gnu/java/rmi/server/ConnectionRunnerPool.java \
gnu/java/rmi/server/ProtocolConstants.java \
@@ -1965,12 +2011,15 @@
gnu/gcj/protocol/http/Handler.java \
gnu/gcj/protocol/jar/Connection.java \
gnu/gcj/protocol/jar/Handler.java \
+gnu/gcj/protocol/gcjlib/Connection.java \
+gnu/gcj/protocol/gcjlib/Handler.java \
gnu/gcj/runtime/FileDeleter.java \
gnu/gcj/runtime/FinalizerThread.java \
gnu/gcj/runtime/FirstThread.java \
gnu/gcj/runtime/JNIWeakRef.java \
gnu/gcj/runtime/MethodRef.java \
gnu/gcj/runtime/NameFinder.java \
+gnu/gcj/runtime/SharedLibHelper.java \
gnu/gcj/runtime/SharedLibLoader.java \
gnu/gcj/runtime/StackTrace.java \
gnu/gcj/runtime/StringBuffer.java \
@@ -2124,8 +2173,12 @@
gnu/java/locale/LocaleInformation_zh_SG.java \
gnu/java/locale/LocaleInformation_zh_TW.java \
gnu/java/math/MPN.java \
+gnu/java/net/PlainDatagramSocketImpl.java \
+gnu/java/net/PlainSocketImpl.java \
gnu/java/nio/DatagramChannelImpl.java \
gnu/java/nio/FileLockImpl.java \
+gnu/java/nio/NIODatagramSocket.java \
+gnu/java/nio/NIOSocket.java \
gnu/java/nio/PipeImpl.java \
gnu/java/nio/SelectionKeyImpl.java \
gnu/java/nio/SelectorImpl.java \
@@ -2220,8 +2273,6 @@
java/net/NetworkInterface.java \
java/net/NoRouteToHostException.java \
java/net/PasswordAuthentication.java \
-java/net/PlainDatagramSocketImpl.java \
-java/net/PlainSocketImpl.java \
java/net/PortUnreachableException.java \
java/net/ProtocolException.java \
java/net/ServerSocket.java \
@@ -2592,6 +2643,8 @@
gnu/gcj/runtime/natStringBuffer.cc \
gnu/gcj/runtime/natVMClassLoader.cc \
gnu/java/awt/natEmbeddedWindow.cc \
+gnu/java/net/natPlainDatagramSocketImpl.cc \
+gnu/java/net/natPlainSocketImpl.cc \
gnu/java/nio/natFileLockImpl.cc \
gnu/java/nio/natSelectorImpl.cc \
java/io/natFile.cc \
@@ -2620,8 +2673,6 @@
java/lang/reflect/natProxy.cc \
java/net/natNetworkInterface.cc \
java/net/natInetAddress.cc \
-java/net/natPlainDatagramSocketImpl.cc \
-java/net/natPlainSocketImpl.cc \
java/nio/natDirectByteBufferImpl.cc \
java/nio/channels/natFileChannelImpl.cc \
java/text/natCollator.cc \
Index: gcc-3.4/libjava/Makefile.in
diff -u gcc-3.4/libjava/Makefile.in:1.2 gcc-3.4/libjava/Makefile.in:1.3
--- gcc-3.4/libjava/Makefile.in:1.2 Fri Jan 9 10:54:34 2004
+++ gcc-3.4/libjava/Makefile.in Thu Feb 5 10:05:48 2004
@@ -427,7 +427,12 @@
$(x_java_source_files)
-MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files) $(x_javao_files) $(x_nat_files) $(x_nat_headers)
+all_java_class_files = $(all_java_source_files:.java=.class)
+
+# Note: The libtool objects are removed by mostlyclean-local
+# because of command-line-length issues.
+MOSTLYCLEANFILES = $(nat_headers) $(x_nat_headers)
+
CLEANFILES = libgcj- at gcc_version@.jar
SUFFIXES = .class .java .h
@@ -1310,9 +1315,12 @@
gnu/java/rmi/registry/RegistryImpl_Skel.java \
gnu/java/rmi/registry/RegistryImpl_Stub.java \
gnu/java/rmi/rmic/Compile_gcj.java \
+gnu/java/rmi/rmic/Compile_jikes.java \
+gnu/java/rmi/rmic/Compile_kjc.java \
gnu/java/rmi/rmic/Compiler.java \
gnu/java/rmi/rmic/CompilerProcess.java \
gnu/java/rmi/rmic/RMIC.java \
+gnu/java/rmi/rmic/RMICException.java \
gnu/java/rmi/rmic/TabbedWriter.java \
gnu/java/rmi/server/ConnectionRunnerPool.java \
gnu/java/rmi/server/ProtocolConstants.java \
@@ -1727,12 +1735,15 @@
gnu/gcj/protocol/http/Handler.java \
gnu/gcj/protocol/jar/Connection.java \
gnu/gcj/protocol/jar/Handler.java \
+gnu/gcj/protocol/gcjlib/Connection.java \
+gnu/gcj/protocol/gcjlib/Handler.java \
gnu/gcj/runtime/FileDeleter.java \
gnu/gcj/runtime/FinalizerThread.java \
gnu/gcj/runtime/FirstThread.java \
gnu/gcj/runtime/JNIWeakRef.java \
gnu/gcj/runtime/MethodRef.java \
gnu/gcj/runtime/NameFinder.java \
+gnu/gcj/runtime/SharedLibHelper.java \
gnu/gcj/runtime/SharedLibLoader.java \
gnu/gcj/runtime/StackTrace.java \
gnu/gcj/runtime/StringBuffer.java \
@@ -1886,8 +1897,12 @@
gnu/java/locale/LocaleInformation_zh_SG.java \
gnu/java/locale/LocaleInformation_zh_TW.java \
gnu/java/math/MPN.java \
+gnu/java/net/PlainDatagramSocketImpl.java \
+gnu/java/net/PlainSocketImpl.java \
gnu/java/nio/DatagramChannelImpl.java \
gnu/java/nio/FileLockImpl.java \
+gnu/java/nio/NIODatagramSocket.java \
+gnu/java/nio/NIOSocket.java \
gnu/java/nio/PipeImpl.java \
gnu/java/nio/SelectionKeyImpl.java \
gnu/java/nio/SelectorImpl.java \
@@ -1982,8 +1997,6 @@
java/net/NetworkInterface.java \
java/net/NoRouteToHostException.java \
java/net/PasswordAuthentication.java \
-java/net/PlainDatagramSocketImpl.java \
-java/net/PlainSocketImpl.java \
java/net/PortUnreachableException.java \
java/net/ProtocolException.java \
java/net/ServerSocket.java \
@@ -2353,6 +2366,8 @@
gnu/gcj/runtime/natStringBuffer.cc \
gnu/gcj/runtime/natVMClassLoader.cc \
gnu/java/awt/natEmbeddedWindow.cc \
+gnu/java/net/natPlainDatagramSocketImpl.cc \
+gnu/java/net/natPlainSocketImpl.cc \
gnu/java/nio/natFileLockImpl.cc \
gnu/java/nio/natSelectorImpl.cc \
java/io/natFile.cc \
@@ -2381,8 +2396,6 @@
java/lang/reflect/natProxy.cc \
java/net/natNetworkInterface.cc \
java/net/natInetAddress.cc \
-java/net/natPlainDatagramSocketImpl.cc \
-java/net/natPlainSocketImpl.cc \
java/nio/natDirectByteBufferImpl.cc \
java/nio/channels/natFileChannelImpl.cc \
java/text/natCollator.cc \
@@ -2530,20 +2543,21 @@
gnu/gcj/runtime/natNameFinder.lo gnu/gcj/runtime/natSharedLibLoader.lo \
gnu/gcj/runtime/natStackTrace.lo gnu/gcj/runtime/natStringBuffer.lo \
gnu/gcj/runtime/natVMClassLoader.lo gnu/java/awt/natEmbeddedWindow.lo \
-gnu/java/nio/natFileLockImpl.lo gnu/java/nio/natSelectorImpl.lo \
-java/io/natFile.lo java/io/natFileDescriptor.lo \
-java/io/natObjectInputStream.lo java/io/natVMObjectStreamClass.lo \
-java/lang/natCharacter.lo java/lang/natClass.lo \
-java/lang/natClassLoader.lo java/lang/natConcreteProcess.lo \
-java/lang/natDouble.lo java/lang/natFloat.lo java/lang/natMath.lo \
-java/lang/natObject.lo java/lang/natRuntime.lo java/lang/natString.lo \
+gnu/java/net/natPlainDatagramSocketImpl.lo \
+gnu/java/net/natPlainSocketImpl.lo gnu/java/nio/natFileLockImpl.lo \
+gnu/java/nio/natSelectorImpl.lo java/io/natFile.lo \
+java/io/natFileDescriptor.lo java/io/natObjectInputStream.lo \
+java/io/natVMObjectStreamClass.lo java/lang/natCharacter.lo \
+java/lang/natClass.lo java/lang/natClassLoader.lo \
+java/lang/natConcreteProcess.lo java/lang/natDouble.lo \
+java/lang/natFloat.lo java/lang/natMath.lo java/lang/natObject.lo \
+java/lang/natRuntime.lo java/lang/natString.lo \
java/lang/natStringBuffer.lo java/lang/natSystem.lo \
java/lang/natThread.lo java/lang/natVMSecurityManager.lo \
java/lang/ref/natReference.lo java/lang/reflect/natArray.lo \
java/lang/reflect/natConstructor.lo java/lang/reflect/natField.lo \
java/lang/reflect/natMethod.lo java/lang/reflect/natProxy.lo \
java/net/natNetworkInterface.lo java/net/natInetAddress.lo \
-java/net/natPlainDatagramSocketImpl.lo java/net/natPlainSocketImpl.lo \
java/nio/natDirectByteBufferImpl.lo \
java/nio/channels/natFileChannelImpl.lo java/text/natCollator.lo \
java/util/natResourceBundle.lo java/util/natTimeZone.lo \
@@ -2696,13 +2710,14 @@
DATA = $(jar_DATA) $(pkgconfig_DATA) $(toolexecmainlib_DATA)
DIST_COMMON = README COPYING ChangeLog Makefile.am Makefile.in NEWS \
-THANKS acinclude.m4 aclocal.m4 configure configure.in \
-libgcj-test.spec.in libgcj.pc.in libgcj.spec.in
+THANKS acinclude.m4 aclocal.m4 config.guess config.sub configure \
+configure.in install-sh libgcj-test.spec.in libgcj.pc.in libgcj.spec.in \
+ltmain.sh missing mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-TAR = gtar
+TAR = tar
GZIP_ENV = --best
DIST_SUBDIRS = @DIRLTDL@ testsuite gcj include @DIRLTDL@ gcj include
DEP_FILES = .deps/$(srcdir)/$(CONVERT_DIR)/gen-from-JIS.P \
@@ -2752,6 +2767,8 @@
.deps/gnu/gcj/protocol/core/natCoreInputStream.P \
.deps/gnu/gcj/protocol/file/Connection.P \
.deps/gnu/gcj/protocol/file/Handler.P \
+.deps/gnu/gcj/protocol/gcjlib/Connection.P \
+.deps/gnu/gcj/protocol/gcjlib/Handler.P \
.deps/gnu/gcj/protocol/http/Connection.P \
.deps/gnu/gcj/protocol/http/Handler.P \
.deps/gnu/gcj/protocol/jar/Connection.P \
@@ -2760,6 +2777,7 @@
.deps/gnu/gcj/runtime/FinalizerThread.P \
.deps/gnu/gcj/runtime/FirstThread.P .deps/gnu/gcj/runtime/JNIWeakRef.P \
.deps/gnu/gcj/runtime/MethodRef.P .deps/gnu/gcj/runtime/NameFinder.P \
+.deps/gnu/gcj/runtime/SharedLibHelper.P \
.deps/gnu/gcj/runtime/SharedLibLoader.P \
.deps/gnu/gcj/runtime/StackTrace.P .deps/gnu/gcj/runtime/StringBuffer.P \
.deps/gnu/gcj/runtime/VMClassLoader.P \
@@ -3000,9 +3018,15 @@
.deps/gnu/java/locale/LocaleInformation_zh_HK.P \
.deps/gnu/java/locale/LocaleInformation_zh_SG.P \
.deps/gnu/java/locale/LocaleInformation_zh_TW.P \
-.deps/gnu/java/math/MPN.P .deps/gnu/java/nio/DatagramChannelImpl.P \
-.deps/gnu/java/nio/FileLockImpl.P .deps/gnu/java/nio/PipeImpl.P \
-.deps/gnu/java/nio/SelectionKeyImpl.P .deps/gnu/java/nio/SelectorImpl.P \
+.deps/gnu/java/math/MPN.P .deps/gnu/java/net/PlainDatagramSocketImpl.P \
+.deps/gnu/java/net/PlainSocketImpl.P \
+.deps/gnu/java/net/natPlainDatagramSocketImpl.P \
+.deps/gnu/java/net/natPlainSocketImpl.P \
+.deps/gnu/java/nio/DatagramChannelImpl.P \
+.deps/gnu/java/nio/FileLockImpl.P \
+.deps/gnu/java/nio/NIODatagramSocket.P .deps/gnu/java/nio/NIOSocket.P \
+.deps/gnu/java/nio/PipeImpl.P .deps/gnu/java/nio/SelectionKeyImpl.P \
+.deps/gnu/java/nio/SelectorImpl.P \
.deps/gnu/java/nio/SelectorProviderImpl.P \
.deps/gnu/java/nio/ServerSocketChannelImpl.P \
.deps/gnu/java/nio/SocketChannelImpl.P \
@@ -3024,9 +3048,12 @@
.deps/gnu/java/rmi/registry/RegistryImpl_Skel.P \
.deps/gnu/java/rmi/registry/RegistryImpl_Stub.P \
.deps/gnu/java/rmi/rmic/Compile_gcj.P \
+.deps/gnu/java/rmi/rmic/Compile_jikes.P \
+.deps/gnu/java/rmi/rmic/Compile_kjc.P \
.deps/gnu/java/rmi/rmic/Compiler.P \
.deps/gnu/java/rmi/rmic/CompilerProcess.P \
-.deps/gnu/java/rmi/rmic/RMIC.P .deps/gnu/java/rmi/rmic/TabbedWriter.P \
+.deps/gnu/java/rmi/rmic/RMIC.P .deps/gnu/java/rmi/rmic/RMICException.P \
+.deps/gnu/java/rmi/rmic/TabbedWriter.P \
.deps/gnu/java/rmi/server/ConnectionRunnerPool.P \
.deps/gnu/java/rmi/server/ProtocolConstants.P \
.deps/gnu/java/rmi/server/RMIDefaultSocketFactory.P \
@@ -3500,8 +3527,6 @@
.deps/java/net/NetPermission.P .deps/java/net/NetworkInterface.P \
.deps/java/net/NoRouteToHostException.P \
.deps/java/net/PasswordAuthentication.P \
-.deps/java/net/PlainDatagramSocketImpl.P \
-.deps/java/net/PlainSocketImpl.P \
.deps/java/net/PortUnreachableException.P \
.deps/java/net/ProtocolException.P .deps/java/net/ServerSocket.P \
.deps/java/net/Socket.P .deps/java/net/SocketAddress.P \
@@ -3517,9 +3542,7 @@
.deps/java/net/UnknownHostException.P \
.deps/java/net/UnknownServiceException.P \
.deps/java/net/natInetAddress.P .deps/java/net/natNetworkInterface.P \
-.deps/java/net/natPlainDatagramSocketImpl.P \
-.deps/java/net/natPlainSocketImpl.P .deps/java/nio/Buffer.P \
-.deps/java/nio/BufferOverflowException.P \
+.deps/java/nio/Buffer.P .deps/java/nio/BufferOverflowException.P \
.deps/java/nio/BufferUnderflowException.P .deps/java/nio/ByteBuffer.P \
.deps/java/nio/ByteBufferImpl.P .deps/java/nio/ByteOrder.P \
.deps/java/nio/CharBuffer.P .deps/java/nio/CharBufferImpl.P \
@@ -4793,7 +4816,8 @@
mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
mostlyclean-libtool mostlyclean-binPROGRAMS \
mostlyclean-noinstPROGRAMS mostlyclean-tags \
- mostlyclean-depend mostlyclean-generic
+ mostlyclean-depend mostlyclean-generic \
+ mostlyclean-local
mostlyclean: mostlyclean-recursive
@@ -4806,7 +4830,8 @@
distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
distclean-libtool distclean-binPROGRAMS \
distclean-noinstPROGRAMS distclean-tags \
- distclean-depend distclean-generic clean-am
+ distclean-depend distclean-generic clean-am \
+ distclean-local
-rm -f libtool
distclean: distclean-recursive
@@ -4858,17 +4883,43 @@
echo "$(GCJH) -jni -d jniinclude -classpath '' -bootclasspath $(top_builddir) $$input"; \
$(GCJH) -jni -d jniinclude -classpath '' -bootclasspath $(top_builddir) $$input
-libgcj- at gcc_version@.jar: $(all_java_source_files)
- - at rm -f libgcj- at gcc_version@.jar
- @echo Compiling Java sourcefiles...
- @: $(call write_entries_to_file,$?,libgcj.sourcelist)
- $(JAVAC) $(JCFLAGS) -classpath '' -bootclasspath $(here):$(srcdir) -d $(here) @libgcj.sourcelist
- find java gnu javax org -type d -o -type f -name '*.class' | \
- sed -e '/\/\./d' -e '/\/xlib/d' | \
- $(ZIP) cfM0E@ $@
+# Compile all classfiles in one go.
+
+ at ONESTEP_TRUE@libgcj- at gcc_version@.jar: $(all_java_source_files)
+ at ONESTEP_TRUE@ - at rm -f libgcj- at gcc_version@.jar
+ at ONESTEP_TRUE@ @echo Compiling Java sourcefiles...
+ at ONESTEP_TRUE@ @: $(call write_entries_to_file,$?,libgcj.sourcelist)
+ at ONESTEP_TRUE@ $(JAVAC) $(JCFLAGS) -classpath '' -bootclasspath $(here):$(srcdir) -d $(here) @libgcj.sourcelist
+ at ONESTEP_TRUE@ find java gnu javax org -type d -o -type f -name '*.class' | \
+ at ONESTEP_TRUE@ sed -e '/\/\./d' -e '/\/xlib/d' | \
+ at ONESTEP_TRUE@ $(ZIP) cfM0E@ $@
+
+# This next rule seems backward, but reflects the fact
+# that 1) all classfiles are compiled in one go when the
+# libgcj jarfile is built and 2) anything which depends
+# on a particular .class file must wait until the jarfile
+# is built.
+ at ONESTEP_TRUE@$(all_java_class_files): libgcj- at gcc_version@.jar
+
+# Compile each classfile individually.
+
+ at ONESTEP_FALSE@.java.class:
+ at ONESTEP_FALSE@ $(JAVAC) $(JCFLAGS) -classpath '' -bootclasspath $(here):$(srcdir) -d $(here) $<
+
+ at ONESTEP_FALSE@libgcj- at gcc_version@.jar: $(all_java_class_files)
+ at ONESTEP_FALSE@ - at rm -f libgcj- at gcc_version@.jar
+ at ONESTEP_FALSE@ find java gnu javax org -type d -o -type f -name '*.class' | \
+ at ONESTEP_FALSE@ sed -e '/\/\./d' -e '/\/xlib/d' | \
+ at ONESTEP_FALSE@ $(ZIP) cfM0E@ $@
+
+mostlyclean-local:
+ find . -name '*.lo' -print | xargs $(LIBTOOL) rm -f
clean-local:
find . -name '*.class' -print | xargs rm -f
+
+distclean-local:
+ find . -name '*.d' -print | xargs rm -f
# Just remove the objects from C++ sources, for testing the C++ compiler.
clean-nat:
More information about the llvm-commits
mailing list