From e0441a5bfb29083a532307ba2b1fd6d6d13944ba Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Sat, 28 Jun 2008 13:29:13 +0000 Subject: Import GNU Classpath (classpath-0_97_2-release). libjava/ 2008-06-28 Matthias Klose Import GNU Classpath (classpath-0_97_2-release). * Regenerate class and header files. * Regenerate auto* files. * gcj/javaprims.h: Define jobjectRefType. * jni.cc (_Jv_JNI_GetObjectRefType): New (stub only). (_Jv_JNIFunctions): Initialize GetObjectRefType. * gnu/classpath/jdwp/VMVirtualMachine.java, java/security/VMSecureRandom.java: Merge from classpath. * HACKING: Fix typo. * ChangeLog-2007: New file. * configure.ac: Set JAVAC, pass --disable-regen-headers to classpath. libjava/classpath/ 2008-06-28 Matthias Klose * m4/ac_prog_javac.m4: Disable check for JAVAC, when not configured with --enable-java-maintainer-mode. * aclocal.m4, configure: Regenerate. * native/jni/gstreamer-peer/Makefile.am: Do not link with libclasspathnative. * native/jni/gstreamer-peer/Makefile.in: Regenerate. * tools/Makefile.am, lib/Makefile.am: Use JAVAC for setting JCOMPILER, drop flags not understood by gcj. From-SVN: r137223 --- libjava/ChangeLog | 2674 +---- libjava/ChangeLog-2007 | 2658 +++++ libjava/Makefile.in | 100 +- libjava/aclocal.m4 | 2 +- libjava/classpath/AUTHORS | 2 + libjava/classpath/ChangeLog | 4519 ++------ libjava/classpath/ChangeLog-2007 | 4810 ++++++++ libjava/classpath/ChangeLog.gcj | 93 + libjava/classpath/INSTALL | 53 +- libjava/classpath/Makefile.am | 4 +- libjava/classpath/Makefile.in | 28 +- libjava/classpath/NEWS | 54 +- libjava/classpath/THANKYOU | 1 + libjava/classpath/aclocal.m4 | 2 + libjava/classpath/config.guess | 60 +- libjava/classpath/config.sub | 80 +- libjava/classpath/configure | 2430 +--- libjava/classpath/configure.ac | 50 +- libjava/classpath/depcomp | 93 +- libjava/classpath/doc/Makefile.in | 23 +- libjava/classpath/doc/api/Makefile.am | 2 +- libjava/classpath/doc/api/Makefile.in | 25 +- libjava/classpath/doc/cp-hacking.texinfo | 113 +- libjava/classpath/doc/cp-vmintegration.texinfo | 12 +- libjava/classpath/doc/texinfo.tex | 2424 +++- libjava/classpath/examples/Makefile.am | 23 +- libjava/classpath/examples/Makefile.in | 39 +- .../communication/StructureToPassHelper.java | 1 - .../communication/StructureToReturnHelper.java | 1 - .../communication/TreeNodeHelper.java | 1 - .../communication/WeThrowThisExceptionHelper.java | 1 - .../classpath/examples/awt/AnimationApplet.java | 1 - .../classpath/examples/java2d/J2dBenchmark.java | 2 +- .../classpath/examples/management/TestBeans.java | 29 +- .../examples/management/TestClassLoading.java | 36 + .../examples/management/TestMemoryPool.java | 2 - .../examples/sound/AudioPlayerSample.java | 222 + .../examples/swing/DocumentFilterDemo.java | 1 - .../gnu/classpath/examples/swing/TableDemo.java | 7 - libjava/classpath/external/Makefile.in | 23 +- libjava/classpath/external/jsr166/Makefile.in | 23 +- .../classpath/external/relaxngDatatype/Makefile.in | 23 +- libjava/classpath/external/sax/Makefile.in | 23 +- libjava/classpath/external/w3c_dom/Makefile.in | 23 +- libjava/classpath/gnu/CORBA/BigDecimalHelper.java | 4 - .../classpath/gnu/CORBA/ByteArrayComparator.java | 1 - .../classpath/gnu/CORBA/CDR/AbstractCdrInput.java | 10 +- .../classpath/gnu/CORBA/CDR/AbstractCdrOutput.java | 4 +- libjava/classpath/gnu/CORBA/CDR/HeadlessInput.java | 8 +- .../gnu/CORBA/CDR/LittleEndianInputStream.java | 1 - libjava/classpath/gnu/CORBA/CDR/Vio.java | 2 +- libjava/classpath/gnu/CORBA/CDR/gnuRuntime.java | 2 +- libjava/classpath/gnu/CORBA/CollocatedOrbs.java | 4 - libjava/classpath/gnu/CORBA/Connected_objects.java | 4 +- .../classpath/gnu/CORBA/DynAn/DivideableAny.java | 2 - libjava/classpath/gnu/CORBA/DynAn/gnuDynArray.java | 1 - libjava/classpath/gnu/CORBA/DynAn/gnuDynUnion.java | 2 - .../classpath/gnu/CORBA/EmptyExceptionHolder.java | 2 - libjava/classpath/gnu/CORBA/GIOP/CancelHeader.java | 6 +- .../gnu/CORBA/GIOP/CodeSetServiceContext.java | 2 - .../classpath/gnu/CORBA/GIOP/MessageHeader.java | 4 +- .../gnu/CORBA/GIOP/v1_0/CancelHeader.java | 6 +- libjava/classpath/gnu/CORBA/IOR.java | 2 +- .../gnu/CORBA/Interceptor/IORInterceptors.java | 1 - .../gnu/CORBA/Interceptor/Registrator.java | 2 +- libjava/classpath/gnu/CORBA/IorDelegate.java | 6 +- .../gnu/CORBA/NamingService/NameParser.java | 1 - .../gnu/CORBA/NamingService/NameTransformer.java | 2 +- libjava/classpath/gnu/CORBA/ObjectCreator.java | 2 +- libjava/classpath/gnu/CORBA/OrbFocused.java | 2 +- libjava/classpath/gnu/CORBA/OrbFunctional.java | 4 +- libjava/classpath/gnu/CORBA/OrbRestricted.java | 1 - libjava/classpath/gnu/CORBA/Poa/AOM.java | 2 +- libjava/classpath/gnu/CORBA/Poa/gnuPOA.java | 6 +- libjava/classpath/gnu/CORBA/Poa/gnuPOAManager.java | 7 +- .../classpath/gnu/CORBA/Poa/gnuServantObject.java | 2 +- .../classpath/gnu/CORBA/ServiceRequestAdapter.java | 1 - libjava/classpath/gnu/CORBA/gnuContextList.java | 2 - libjava/classpath/gnu/CORBA/gnuExceptionList.java | 2 - libjava/classpath/gnu/CORBA/gnuRequest.java | 2 - .../gnu/CORBA/typecodes/FixedTypeCode.java | 2 +- .../gnu/CORBA/typecodes/RecursiveTypeCode.java | 2 +- .../classpath/gnu/classpath/ServiceFactory.java | 46 +- .../classpath/ServiceProviderLoadingAction.java | 16 +- .../gnu/classpath/jdwp/event/ExceptionEvent.java | 4 +- .../classpath/jdwp/event/filters/StepFilter.java | 1 - .../jdwp/processor/ObjectReferenceCommandSet.java | 1 - .../jdwp/processor/ReferenceTypeCommandSet.java | 1 - .../toolkit/DefaultDaemonThreadFactory.java | 59 + libjava/classpath/gnu/java/awt/AWTUtilities.java | 2 +- .../classpath/gnu/java/awt/ClasspathToolkit.java | 1 - libjava/classpath/gnu/java/awt/EmbeddedWindow.java | 1 - .../gnu/java/awt/font/GNUGlyphVector.java | 40 +- .../gnu/java/awt/font/OpenTypeFontPeer.java | 563 + .../classpath/gnu/java/awt/image/AsyncImage.java | 300 + .../gnu/java/awt/image/ImageConverter.java | 528 + .../gnu/java/awt/java2d/AbstractGraphics2D.java | 165 +- .../gnu/java/awt/java2d/PixelCoverage.java | 132 + .../gnu/java/awt/java2d/ScanlineConverter.java | 29 +- .../gnu/java/awt/java2d/ScanlineCoverage.java | 2 +- .../gnu/java/awt/java2d/ShapeWrapper.java | 119 + .../gnu/java/awt/java2d/TextCacheKey.java | 153 + .../gnu/java/awt/peer/KDEDesktopPeer.java | 2 - .../gnu/java/awt/peer/gtk/CairoGraphics2D.java | 20 +- .../gnu/java/awt/peer/gtk/CairoSurface.java | 5 +- .../gnu/java/awt/peer/gtk/ComponentGraphics.java | 4 +- .../gnu/java/awt/peer/gtk/GdkFontPeer.java | 6 +- .../java/awt/peer/gtk/GdkGraphicsEnvironment.java | 6 +- .../gnu/java/awt/peer/gtk/GdkPixbufDecoder.java | 6 +- .../java/awt/peer/gtk/GdkScreenGraphicsDevice.java | 7 +- .../gnu/java/awt/peer/gtk/GtkComponentPeer.java | 7 +- .../gnu/java/awt/peer/gtk/GtkFramePeer.java | 4 +- .../gnu/java/awt/peer/gtk/GtkMainThread.java | 4 +- .../gnu/java/awt/peer/gtk/GtkToolkit.java | 7 +- .../gnu/java/awt/peer/gtk/GtkWindowPeer.java | 5 +- .../java/awt/peer/gtk/VolatileImageGraphics.java | 4 +- .../classpath/gnu/java/awt/peer/qt/QtMenuPeer.java | 2 +- .../gnu/java/awt/peer/swing/SwingCheckboxPeer.java | 5 - .../gnu/java/awt/peer/swing/SwingMenuBarPeer.java | 2 +- .../gnu/java/awt/peer/swing/SwingTextAreaPeer.java | 1 - .../java/awt/peer/swing/SwingTextFieldPeer.java | 3 +- .../gnu/java/awt/peer/x/ImageConverter.java | 113 - .../classpath/gnu/java/awt/peer/x/XEventPump.java | 17 +- .../classpath/gnu/java/awt/peer/x/XFontPeer.java | 768 ++ .../classpath/gnu/java/awt/peer/x/XFontPeer2.java | 468 - .../classpath/gnu/java/awt/peer/x/XFramePeer.java | 4 +- .../classpath/gnu/java/awt/peer/x/XGraphics2D.java | 234 +- .../java/awt/peer/x/XGraphicsConfiguration.java | 38 + .../gnu/java/awt/peer/x/XGraphicsEnvironment.java | 9 +- .../classpath/gnu/java/awt/peer/x/XToolkit.java | 69 +- .../classpath/gnu/java/awt/peer/x/XWindowPeer.java | 114 +- .../gnu/java/awt/peer/x/ZPixmapDataBuffer.java | 5 + .../gnu/java/awt/print/PostScriptGraphics2D.java | 1 - .../gnu/java/awt/print/SpooledDocument.java | 1 - libjava/classpath/gnu/java/io/PlatformHelper.java | 2 - libjava/classpath/gnu/java/lang/MainThread.java | 2 +- .../gnu/java/lang/management/BeanImpl.java | 93 +- .../gnu/java/lang/reflect/TypeSignature.java | 4 +- .../classpath/gnu/java/locale/LocaleHelper.java | 2 - .../gnu/java/net/protocol/http/Request.java | 1 - .../gnu/java/nio/DatagramChannelImpl.java | 2 - .../classpath/gnu/java/nio/FileChannelImpl.java | 2 +- .../gnu/java/nio/KqueueSelectionKeyImpl.java | 2 - libjava/classpath/gnu/java/nio/NIOSocket.java | 1 - .../gnu/java/nio/ServerSocketChannelImpl.java | 1 - .../classpath/gnu/java/nio/SocketChannelImpl.java | 12 - .../java/nio/SocketChannelSelectionKeyImpl.java | 2 +- .../gnu/java/nio/charset/ByteCharset.java | 167 +- .../gnu/java/nio/charset/ByteDecodeLoopHelper.java | 162 + .../gnu/java/nio/charset/ByteEncodeLoopHelper.java | 163 + libjava/classpath/gnu/java/nio/charset/Cp424.java | 73 +- libjava/classpath/gnu/java/nio/charset/Cp437.java | 6 +- libjava/classpath/gnu/java/nio/charset/Cp737.java | 6 +- libjava/classpath/gnu/java/nio/charset/Cp775.java | 6 +- libjava/classpath/gnu/java/nio/charset/Cp850.java | 6 +- libjava/classpath/gnu/java/nio/charset/Cp852.java | 6 +- libjava/classpath/gnu/java/nio/charset/Cp855.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp857.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp860.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp861.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp862.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp863.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp864.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp865.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp866.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp869.java | 7 +- libjava/classpath/gnu/java/nio/charset/Cp874.java | 6 +- .../gnu/java/nio/charset/EncodingHelper.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_1.java | 63 +- .../gnu/java/nio/charset/ISO_8859_13.java | 5 +- .../gnu/java/nio/charset/ISO_8859_15.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_2.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_3.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_4.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_5.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_6.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_7.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_8.java | 5 +- .../classpath/gnu/java/nio/charset/ISO_8859_9.java | 5 +- libjava/classpath/gnu/java/nio/charset/KOI_8.java | 5 +- libjava/classpath/gnu/java/nio/charset/MS874.java | 6 +- .../gnu/java/nio/charset/MacCentralEurope.java | 6 +- .../gnu/java/nio/charset/MacCroatian.java | 6 +- .../gnu/java/nio/charset/MacCyrillic.java | 6 +- .../classpath/gnu/java/nio/charset/MacDingbat.java | 6 +- .../classpath/gnu/java/nio/charset/MacGreek.java | 6 +- .../classpath/gnu/java/nio/charset/MacIceland.java | 6 +- .../classpath/gnu/java/nio/charset/MacRoman.java | 6 +- .../classpath/gnu/java/nio/charset/MacRomania.java | 6 +- .../classpath/gnu/java/nio/charset/MacSymbol.java | 6 +- .../classpath/gnu/java/nio/charset/MacThai.java | 6 +- .../classpath/gnu/java/nio/charset/MacTurkish.java | 6 +- .../classpath/gnu/java/nio/charset/Provider.java | 18 +- .../classpath/gnu/java/nio/charset/US_ASCII.java | 68 +- .../gnu/java/nio/charset/Windows1250.java | 5 +- .../gnu/java/nio/charset/Windows1251.java | 5 +- .../gnu/java/nio/charset/Windows1252.java | 5 +- .../gnu/java/nio/charset/Windows1253.java | 5 +- .../gnu/java/nio/charset/Windows1254.java | 5 +- .../gnu/java/nio/charset/Windows1255.java | 5 +- .../gnu/java/nio/charset/Windows1256.java | 5 +- .../gnu/java/nio/charset/Windows1257.java | 5 +- .../gnu/java/nio/charset/Windows1258.java | 5 +- .../gnu/java/rmi/server/ConnectionRunnerPool.java | 4 +- .../gnu/java/rmi/server/RMIClassLoaderImpl.java | 6 - .../gnu/java/rmi/server/RMIObjectInputStream.java | 1 - libjava/classpath/gnu/java/security/Engine.java | 2 +- .../gnu/java/security/key/dss/FIPS186.java | 2 +- .../gnu/java/text/AttributedFormatBuffer.java | 2 +- libjava/classpath/gnu/java/util/LRUCache.java | 77 + libjava/classpath/gnu/java/util/regex/RE.java | 1 - .../classpath/gnu/java/util/regex/REException.java | 6 + libjava/classpath/gnu/java/util/regex/REToken.java | 2 +- .../gnu/java/util/regex/RETokenNamedProperty.java | 50 + .../gnu/javax/crypto/jce/DiffieHellmanImpl.java | 3 +- .../classpath/gnu/javax/crypto/key/dh/RFC2631.java | 2 +- .../gnu/javax/imageio/bmp/DecodeBF16.java | 2 - .../gnu/javax/imageio/bmp/EncodeRGB32.java | 1 - .../classpath/gnu/javax/imageio/gif/GIFFile.java | 2 +- .../gnu/javax/imageio/jpeg/JPEGComponent.java | 2 +- .../gnu/javax/imageio/jpeg/JPEGDecoder.java | 13 +- .../gnu/javax/imageio/jpeg/JPEGException.java | 7 - .../gnu/javax/imageio/jpeg/JPEGFrame.java | 2 +- .../javax/imageio/jpeg/JPEGImageInputStream.java | 7 - .../classpath/gnu/javax/imageio/png/PNGChunk.java | 1 - .../gnu/javax/imageio/png/PNGDecoder.java | 2 +- .../gnu/javax/imageio/png/PNGEncoder.java | 2 - .../classpath/gnu/javax/imageio/png/PNGFile.java | 1 - .../classpath/gnu/javax/imageio/png/PNGGamma.java | 4 - libjava/classpath/gnu/javax/management/Server.java | 21 +- .../classpath/gnu/javax/management/Translator.java | 78 +- .../gnu/javax/naming/giop/ContextContinuation.java | 18 +- .../naming/jndi/url/rmi/ContextContinuation.java | 8 +- .../gnu/javax/net/ssl/SSLRecordHandler.java | 1 - .../gnu/javax/net/ssl/StaticTrustAnchors.java | 2 - .../ssl/provider/CertificateRequestBuilder.java | 2 - .../javax/net/ssl/provider/ClientHandshake.java | 3 - .../net/ssl/provider/ClientPSKParameters.java | 4 - .../net/ssl/provider/ClientRSA_PSKParameters.java | 4 - .../gnu/javax/net/ssl/provider/ContentType.java | 4 - .../net/ssl/provider/EncryptedPreMasterSecret.java | 3 - .../gnu/javax/net/ssl/provider/Handshake.java | 15 - .../net/ssl/provider/InputSecurityParameters.java | 2 - .../net/ssl/provider/OutputSecurityParameters.java | 3 - .../javax/net/ssl/provider/ProtocolVersion.java | 1 - .../gnu/javax/net/ssl/provider/Random.java | 4 - .../net/ssl/provider/SRPTrustManagerFactory.java | 2 - .../net/ssl/provider/ServerDHE_PSKParameters.java | 3 - .../javax/net/ssl/provider/ServerHandshake.java | 6 +- .../gnu/javax/net/ssl/provider/SessionImpl.java | 6 - .../gnu/javax/net/ssl/provider/Signature.java | 15 - .../net/ssl/provider/SimpleSessionContext.java | 2 - .../gnu/javax/net/ssl/provider/TLSHMac.java | 1 - .../javax/net/ssl/provider/TrustedAuthorities.java | 1 - .../net/ssl/provider/UnresolvedExtensionValue.java | 2 - .../net/ssl/provider/X509KeyManagerFactory.java | 4 - .../classpath/gnu/javax/print/PrinterDialog.java | 8 +- .../gnu/javax/security/auth/Password.java | 4 +- .../gnu/javax/sound/AudioSecurityManager.java | 71 + .../sound/midi/dssi/DSSIMidiDeviceProvider.java | 2 - .../gnu/javax/sound/midi/file/MidiFileWriter.java | 2 - .../gnu/javax/sound/sampled/AU/AUReader.java | 1 - .../sound/sampled/gstreamer/GStreamerMixer.java | 30 +- .../sampled/gstreamer/io/GstAudioFileReader.java | 56 +- .../gstreamer/io/GstAudioFileReaderNativePeer.java | 56 +- .../sound/sampled/gstreamer/io/GstInputStream.java | 119 + .../sound/sampled/gstreamer/lines/GstDataLine.java | 42 +- .../sampled/gstreamer/lines/GstNativeDataLine.java | 31 +- .../sound/sampled/gstreamer/lines/GstPipeline.java | 366 +- .../sampled/gstreamer/lines/GstSourceDataLine.java | 65 +- .../gnu/javax/swing/text/html/css/FontSize.java | 6 +- .../gnu/javax/swing/text/html/css/Selector.java | 2 - .../javax/swing/text/html/parser/models/node.java | 2 +- .../swing/text/html/parser/support/Parser.java | 30 +- .../html/parser/support/low/ReaderTokenizer.java | 5 +- .../html/parser/support/parameterDefaulter.java | 2 +- .../text/html/parser/support/textPreProcessor.java | 2 +- libjava/classpath/gnu/xml/aelfred2/XmlParser.java | 13 +- .../gnu/xml/dom/html2/DomHTMLButtonElement.java | 1 - .../gnu/xml/dom/html2/DomHTMLCollection.java | 1 - .../classpath/gnu/xml/dom/html2/DomHTMLParser.java | 2 - .../gnu/xml/libxmlj/dom/GnomeXPathResult.java | 2 +- .../classpath/gnu/xml/pipeline/DomConsumer.java | 2 +- .../classpath/gnu/xml/pipeline/EventFilter.java | 4 +- .../classpath/gnu/xml/stream/AttributeImpl.java | 6 +- .../classpath/gnu/xml/stream/EndDocumentImpl.java | 1 - libjava/classpath/gnu/xml/stream/SAXParser.java | 3 +- .../classpath/gnu/xml/stream/XIncludeFilter.java | 3 +- .../gnu/xml/stream/XMLEventAllocatorImpl.java | 2 +- .../gnu/xml/stream/XMLEventFactoryImpl.java | 6 +- libjava/classpath/gnu/xml/stream/XMLEventImpl.java | 1 - libjava/classpath/gnu/xml/stream/XMLParser.java | 19 +- .../gnu/xml/transform/StreamSerializer.java | 1 - .../classpath/gnu/xml/transform/Stylesheet.java | 1 - libjava/classpath/gnu/xml/util/Resolver.java | 2 +- .../xml/validation/datatype/Base64BinaryType.java | 2 - .../gnu/xml/validation/datatype/BooleanType.java | 1 - .../gnu/xml/validation/datatype/DecimalType.java | 2 - .../gnu/xml/validation/datatype/DoubleType.java | 1 - .../gnu/xml/validation/datatype/FloatType.java | 1 - .../gnu/xml/validation/datatype/HexBinaryType.java | 2 - .../gnu/xml/validation/datatype/NotationType.java | 2 - .../gnu/xml/validation/datatype/SimpleType.java | 1 - .../gnu/xml/validation/datatype/StringType.java | 4 - .../gnu/xml/validation/datatype/Type.java | 2 - .../gnu/xml/validation/datatype/TypeBuilder.java | 1 - .../xml/validation/relaxng/FullSyntaxBuilder.java | 1 - .../xmlschema/XMLSchemaAttributeTypeInfo.java | 1 - .../xml/validation/xmlschema/XMLSchemaBuilder.java | 4 - .../xmlschema/XMLSchemaElementTypeInfo.java | 1 - libjava/classpath/gnu/xml/xpath/XPathParser.java | 1 - libjava/classpath/include/Makefile.am | 517 +- libjava/classpath/include/Makefile.in | 540 +- libjava/classpath/include/config.h.in | 24 +- ...ava_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h | 4 +- .../gnu_java_awt_peer_gtk_CairoGraphics2D.h | 5 +- .../include/gnu_java_awt_peer_gtk_CairoSurface.h | 4 +- .../gnu_java_awt_peer_gtk_ComponentGraphics.h | 6 +- .../gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h | 4 +- .../gnu_java_awt_peer_gtk_FreetypeGlyphVector.h | 8 +- .../include/gnu_java_awt_peer_gtk_GdkFontPeer.h | 5 +- .../gnu_java_awt_peer_gtk_GdkPixbufDecoder.h | 4 +- .../include/gnu_java_awt_peer_gtk_GdkRobotPeer.h | 4 +- ...gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkButtonPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h | 4 +- ...gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkCheckboxPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkChoicePeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkClipboard.h | 4 +- .../gnu_java_awt_peer_gtk_GtkComponentPeer.h | 6 +- .../gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkFileDialogPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkFramePeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkGenericPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkImage.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkLabelPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkListPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkMenuItemPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkMenuPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkPanelPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkScrollPanePeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkScrollbarPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkSelection.h | 4 +- .../gnu_java_awt_peer_gtk_GtkTextAreaPeer.h | 4 +- .../gnu_java_awt_peer_gtk_GtkTextFieldPeer.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkToolkit.h | 4 +- .../gnu_java_awt_peer_gtk_GtkVolatileImage.h | 4 +- .../include/gnu_java_awt_peer_gtk_GtkWindowPeer.h | 5 +- .../include/gnu_java_awt_peer_qt_MainQtThread.h | 4 +- .../include/gnu_java_awt_peer_qt_QMatrix.h | 4 +- .../include/gnu_java_awt_peer_qt_QPainterPath.h | 4 +- .../classpath/include/gnu_java_awt_peer_qt_QPen.h | 4 +- .../include/gnu_java_awt_peer_qt_QtAudioClip.h | 4 +- .../include/gnu_java_awt_peer_qt_QtButtonPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtCanvasPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtCheckboxPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtChoicePeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtComponentPeer.h | 5 +- .../include/gnu_java_awt_peer_qt_QtDialogPeer.h | 4 +- .../gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h | 4 +- .../gnu_java_awt_peer_qt_QtFileDialogPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtFontMetrics.h | 4 +- .../include/gnu_java_awt_peer_qt_QtFontPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtFramePeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtGraphics.h | 4 +- .../include/gnu_java_awt_peer_qt_QtImage.h | 4 +- .../include/gnu_java_awt_peer_qt_QtLabelPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtListPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtMenuBarPeer.h | 4 +- .../gnu_java_awt_peer_qt_QtMenuComponentPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtMenuItemPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtMenuPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtPanelPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtScreenDevice.h | 4 +- .../gnu_java_awt_peer_qt_QtScrollPanePeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtScrollbarPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtTextAreaPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtTextFieldPeer.h | 4 +- .../include/gnu_java_awt_peer_qt_QtToolkit.h | 4 +- .../include/gnu_java_awt_peer_qt_QtVolatileImage.h | 4 +- .../include/gnu_java_awt_peer_qt_QtWindowPeer.h | 4 +- ...a_lang_management_VMOperatingSystemMXBeanImpl.h | 4 +- .../include/gnu_java_net_VMPlainSocketImpl.h | 5 +- .../include/gnu_java_net_local_LocalSocketImpl.h | 4 +- .../include/gnu_java_nio_EpollSelectorImpl.h | 5 +- .../include/gnu_java_nio_FileChannelImpl.h | 5 +- .../include/gnu_java_nio_KqueueSelectorImpl.h | 5 +- libjava/classpath/include/gnu_java_nio_VMChannel.h | 4 +- libjava/classpath/include/gnu_java_nio_VMPipe.h | 4 +- .../classpath/include/gnu_java_nio_VMSelector.h | 4 +- .../gnu_java_nio_charset_iconv_IconvDecoder.h | 4 +- .../gnu_java_nio_charset_iconv_IconvEncoder.h | 4 +- .../gnu_java_util_prefs_gconf_GConfNativePeer.h | 4 +- ..._javax_sound_midi_alsa_AlsaMidiDeviceProvider.h | 4 +- ...javax_sound_midi_alsa_AlsaMidiSequencerDevice.h | 4 +- .../gnu_javax_sound_midi_alsa_AlsaPortDevice.h | 4 +- ..._javax_sound_midi_dssi_DSSIMidiDeviceProvider.h | 4 +- .../gnu_javax_sound_midi_dssi_DSSISynthesizer.h | 4 +- ...led_gstreamer_io_GstAudioFileReaderNativePeer.h | 5 +- ...vax_sound_sampled_gstreamer_io_GstInputStream.h | 20 + ...und_sampled_gstreamer_lines_GstNativeDataLine.h | 20 + ...vax_sound_sampled_gstreamer_lines_GstPipeline.h | 33 + .../include/gnu_xml_libxmlj_dom_GnomeAttr.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeDocument.h | 4 +- .../gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h | 4 +- .../gnu_xml_libxmlj_dom_GnomeDocumentType.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeElement.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeEntity.h | 4 +- .../gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeNode.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeNodeList.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeNotation.h | 4 +- ...nu_xml_libxmlj_dom_GnomeProcessingInstruction.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h | 4 +- .../gnu_xml_libxmlj_dom_GnomeXPathExpression.h | 4 +- .../gnu_xml_libxmlj_dom_GnomeXPathNodeList.h | 4 +- .../include/gnu_xml_libxmlj_dom_GnomeXPathResult.h | 4 +- .../include/gnu_xml_libxmlj_sax_GnomeLocator.h | 4 +- .../include/gnu_xml_libxmlj_sax_GnomeXMLReader.h | 4 +- .../gnu_xml_libxmlj_transform_GnomeTransformer.h | 4 +- ...xml_libxmlj_transform_GnomeTransformerFactory.h | 4 +- libjava/classpath/include/java_io_VMFile.h | 8 +- .../include/java_io_VMObjectInputStream.h | 4 +- .../include/java_io_VMObjectStreamClass.h | 4 +- libjava/classpath/include/java_lang_VMDouble.h | 5 +- libjava/classpath/include/java_lang_VMFloat.h | 5 +- libjava/classpath/include/java_lang_VMMath.h | 4 +- libjava/classpath/include/java_lang_VMProcess.h | 5 +- libjava/classpath/include/java_lang_VMSystem.h | 4 +- .../classpath/include/java_lang_reflect_VMArray.h | 4 +- libjava/classpath/include/java_net_VMInetAddress.h | 4 +- .../include/java_net_VMNetworkInterface.h | 4 +- .../classpath/include/java_net_VMURLConnection.h | 5 +- .../include/java_nio_MappedByteBufferImpl.h | 4 +- .../include/java_nio_VMDirectByteBuffer.h | 4 +- libjava/classpath/include/java_util_VMTimeZone.h | 4 +- libjava/classpath/include/jni.h | 26 + libjava/classpath/install-sh | 514 +- libjava/classpath/java/awt/AWTKeyStroke.java | 6 +- libjava/classpath/java/awt/Container.java | 6 +- .../java/awt/DefaultKeyboardFocusManager.java | 2 +- libjava/classpath/java/awt/Desktop.java | 4 +- libjava/classpath/java/awt/Font.java | 21 +- libjava/classpath/java/awt/GridBagLayout.java | 29 +- .../classpath/java/awt/LightweightDispatcher.java | 3 +- libjava/classpath/java/awt/MenuShortcut.java | 2 - libjava/classpath/java/awt/color/ICC_Profile.java | 13 +- .../java/awt/dnd/DragGestureRecognizer.java | 2 +- libjava/classpath/java/awt/event/MouseEvent.java | 33 +- .../classpath/java/awt/font/LineBreakMeasurer.java | 2 - libjava/classpath/java/awt/font/TextMeasurer.java | 1 - libjava/classpath/java/awt/geom/Arc2D.java | 2 +- libjava/classpath/java/awt/geom/CubicCurve2D.java | 8 +- libjava/classpath/java/awt/geom/QuadCurve2D.java | 8 +- libjava/classpath/java/awt/im/InputContext.java | 5 +- .../java/awt/image/AffineTransformOp.java | 2 +- .../java/awt/image/AreaAveragingScaleFilter.java | 4 +- .../classpath/java/awt/image/BufferedImage.java | 2 - .../awt/image/PixelInterleavedSampleModel.java | 29 +- .../classpath/java/awt/image/RGBImageFilter.java | 2 +- libjava/classpath/java/awt/image/Raster.java | 2 +- libjava/classpath/java/beans/Beans.java | 2 +- .../java/beans/DefaultPersistenceDelegate.java | 4 +- libjava/classpath/java/beans/Encoder.java | 2 +- libjava/classpath/java/beans/EventHandler.java | 14 +- .../java/beans/PropertyChangeSupport.java | 4 +- .../java/beans/VetoableChangeSupport.java | 4 +- libjava/classpath/java/beans/XMLDecoder.java | 2 +- .../beancontext/BeanContextServicesSupport.java | 9 +- .../java/beans/beancontext/BeanContextSupport.java | 4 +- libjava/classpath/java/io/BufferedReader.java | 10 +- libjava/classpath/java/io/CharArrayWriter.java | 4 +- libjava/classpath/java/io/DataInputStream.java | 54 +- libjava/classpath/java/io/DataOutputStream.java | 84 +- libjava/classpath/java/io/File.java | 67 + libjava/classpath/java/io/FileOutputStream.java | 2 +- libjava/classpath/java/io/ObjectInputStream.java | 15 +- libjava/classpath/java/io/ObjectOutputStream.java | 22 +- libjava/classpath/java/io/ObjectStreamClass.java | 6 +- libjava/classpath/java/io/OutputStreamWriter.java | 114 +- libjava/classpath/java/io/PipedInputStream.java | 38 +- libjava/classpath/java/io/PrintStream.java | 15 +- libjava/classpath/java/lang/Class.java | 8 +- libjava/classpath/java/lang/Double.java | 36 +- libjava/classpath/java/lang/Float.java | 36 +- libjava/classpath/java/lang/Integer.java | 13 +- libjava/classpath/java/lang/Long.java | 2 +- libjava/classpath/java/lang/StackTraceElement.java | 2 +- libjava/classpath/java/lang/String.java | 200 +- libjava/classpath/java/lang/System.java | 2 +- libjava/classpath/java/lang/Throwable.java | 4 +- .../classpath/java/lang/management/ThreadInfo.java | 128 - libjava/classpath/java/lang/reflect/Array.java | 14 +- libjava/classpath/java/lang/reflect/Proxy.java | 14 +- libjava/classpath/java/math/BigInteger.java | 4 +- libjava/classpath/java/net/DatagramSocket.java | 8 +- libjava/classpath/java/net/ResolverCache.java | 6 +- libjava/classpath/java/net/ServerSocket.java | 4 +- libjava/classpath/java/net/Socket.java | 8 +- libjava/classpath/java/net/URI.java | 21 +- libjava/classpath/java/net/URLClassLoader.java | 4 +- libjava/classpath/java/net/URLEncoder.java | 2 +- libjava/classpath/java/nio/charset/Charset.java | 2 +- .../classpath/java/nio/charset/CoderResult.java | 2 +- .../classpath/java/security/SecureClassLoader.java | 7 +- libjava/classpath/java/security/Security.java | 2 +- .../java/security/cert/CertificateFactory.java | 1 - .../java/security/spec/RSAKeyGenParameterSpec.java | 4 +- libjava/classpath/java/text/ChoiceFormat.java | 8 +- .../java/text/CollationElementIterator.java | 21 +- libjava/classpath/java/text/DecimalFormat.java | 18 +- libjava/classpath/java/text/MessageFormat.java | 4 +- libjava/classpath/java/text/RuleBasedCollator.java | 11 +- libjava/classpath/java/text/SimpleDateFormat.java | 16 +- libjava/classpath/java/util/AbstractMap.java | 2 +- libjava/classpath/java/util/Calendar.java | 8 +- libjava/classpath/java/util/Collections.java | 4 +- libjava/classpath/java/util/Date.java | 2 +- libjava/classpath/java/util/Formatter.java | 4 +- libjava/classpath/java/util/Hashtable.java | 10 +- libjava/classpath/java/util/LinkedHashSet.java | 4 +- libjava/classpath/java/util/Locale.java | 20 +- .../java/util/concurrent/CopyOnWriteArrayList.java | 1015 +- libjava/classpath/java/util/jar/Manifest.java | 2 +- libjava/classpath/java/util/logging/Logger.java | 1624 ++- libjava/classpath/java/util/zip/ZipEntry.java | 2 +- .../javax/accessibility/AccessibleAction.java | 16 + .../accessibility/AccessibleAttributeSequence.java | 22 +- .../accessibility/AccessibleEditableText.java | 2 +- .../javax/accessibility/AccessibleRelationSet.java | 4 +- .../javax/accessibility/AccessibleRole.java | 13 + .../accessibility/AccessibleTextSequence.java | 17 +- libjava/classpath/javax/imageio/ImageReader.java | 18 +- .../javax/imageio/ImageTypeSpecifier.java | 6 +- libjava/classpath/javax/imageio/ImageWriter.java | 4 +- .../imageio/metadata/IIOMetadataFormatImpl.java | 5 - .../javax/imageio/metadata/IIOMetadataNode.java | 2 +- .../javax/imageio/spi/ServiceRegistry.java | 8 +- .../javax/imageio/stream/ImageInputStream.java | 2 +- .../stream/MemoryCacheImageInputStream.java | 2 - .../javax/management/MBeanPermission.java | 2 +- .../management/NotificationBroadcasterSupport.java | 4 +- libjava/classpath/javax/management/ObjectName.java | 1 - .../classpath/javax/management/StandardMBean.java | 6 +- .../javax/management/openmbean/ArrayType.java | 1 - libjava/classpath/javax/management/package.html | 197 + .../management/remote/NotificationResult.java | 166 + .../management/remote/TargetedNotification.java | 127 + .../classpath/javax/management/remote/package.html | 53 + .../javax/management/remote/rmi/RMIConnection.java | 1151 ++ .../javax/management/remote/rmi/RMIServer.java | 89 + .../javax/net/ssl/HttpsURLConnection.java | 1 - .../print/attribute/standard/JobStateReasons.java | 2 - .../javax/print/attribute/standard/MediaSize.java | 4 +- .../attribute/standard/PrinterStateReasons.java | 2 +- .../rmi/CORBA/PortableRemoteObjectDelegate.java | 6 +- libjava/classpath/javax/rmi/CORBA/Util.java | 2 +- .../classpath/javax/rmi/CORBA/UtilDelegate.java | 4 +- .../classpath/javax/rmi/CORBA/ValueHandler.java | 2 +- .../classpath/javax/rmi/PortableRemoteObject.java | 4 +- .../javax/rmi/ssl/SslRMIClientSocketFactory.java | 10 +- libjava/classpath/javax/swing/JFrame.java | 2 +- libjava/classpath/javax/swing/JTree.java | 2 +- libjava/classpath/javax/swing/RepaintManager.java | 2 - libjava/classpath/javax/swing/TransferHandler.java | 2 +- .../swing/plaf/basic/BasicDirectoryModel.java | 2 - .../javax/swing/plaf/basic/BasicFileChooserUI.java | 1 - .../javax/swing/plaf/basic/BasicGraphicsUtils.java | 2 +- .../javax/swing/plaf/basic/BasicLabelUI.java | 1 - .../javax/swing/plaf/basic/BasicTreeUI.java | 8 - .../javax/swing/plaf/metal/MetalScrollButton.java | 1 - .../swing/table/DefaultTableCellRenderer.java | 1 - .../javax/swing/table/DefaultTableColumnModel.java | 8 +- .../javax/swing/text/DefaultStyledDocument.java | 3 + libjava/classpath/javax/swing/text/GlyphView.java | 1 - .../classpath/javax/swing/text/ParagraphView.java | 3 - .../javax/swing/text/html/MinimalHTMLWriter.java | 2 +- .../text/html/ResetableToggleButtonModel.java | 1 - .../javax/swing/text/html/parser/DTD.java | 6 +- .../javax/swing/text/html/parser/Entity.java | 2 - .../javax/swing/tree/DefaultMutableTreeNode.java | 61 +- .../javax/swing/tree/DefaultTreeCellEditor.java | 40 +- .../javax/swing/tree/DefaultTreeCellRenderer.java | 5 - .../swing/tree/DefaultTreeSelectionModel.java | 51 +- .../javax/swing/tree/FixedHeightLayoutCache.java | 30 +- .../swing/tree/VariableHeightLayoutCache.java | 30 +- libjava/classpath/javax/swing/undo/StateEdit.java | 4 +- .../classpath/javax/swing/undo/UndoManager.java | 12 +- libjava/classpath/javax/tools/Diagnostic.java | 167 + .../classpath/javax/tools/DiagnosticListener.java | 61 + libjava/classpath/javax/tools/FileObject.java | 155 + .../javax/xml/datatype/DatatypeFactory.java | 3 - libjava/classpath/javax/xml/namespace/QName.java | 3 + .../javax/xml/stream/XMLEventFactory.java | 1 - .../javax/xml/stream/XMLInputFactory.java | 1 - .../javax/xml/stream/events/Attribute.java | 2 +- libjava/classpath/lib/Makefile.am | 32 +- libjava/classpath/lib/Makefile.in | 39 +- .../classpath/lib/gnu/CORBA/BigDecimalHelper.class | Bin 3255 -> 3255 bytes .../lib/gnu/CORBA/ByteArrayComparator.class | Bin 1158 -> 1158 bytes .../gnu/CORBA/CDR/LittleEndianInputStream.class | Bin 4549 -> 4549 bytes .../classpath/lib/gnu/CORBA/CollocatedOrbs.class | Bin 2544 -> 2544 bytes .../lib/gnu/CORBA/DynAn/DivideableAny.class | Bin 8187 -> 8187 bytes .../lib/gnu/CORBA/DynAn/gnuDynArray.class | Bin 6545 -> 6545 bytes .../lib/gnu/CORBA/DynAn/gnuDynUnion.class | Bin 7251 -> 7251 bytes .../lib/gnu/CORBA/EmptyExceptionHolder.class | Bin 1812 -> 1812 bytes .../lib/gnu/CORBA/GIOP/CodeSetServiceContext.class | Bin 3621 -> 3621 bytes .../gnu/CORBA/Interceptor/IORInterceptors.class | Bin 2605 -> 2605 bytes libjava/classpath/lib/gnu/CORBA/IorDelegate.class | Bin 7919 -> 7919 bytes .../lib/gnu/CORBA/NamingService/NameParser.class | Bin 9789 -> 9789 bytes .../classpath/lib/gnu/CORBA/OrbRestricted.class | Bin 10175 -> 10175 bytes .../lib/gnu/CORBA/Poa/gnuPOAManager.class | Bin 3326 -> 3326 bytes .../lib/gnu/CORBA/ServiceRequestAdapter.class | Bin 3086 -> 3086 bytes .../classpath/lib/gnu/CORBA/gnuContextList.class | Bin 1009 -> 1009 bytes .../classpath/lib/gnu/CORBA/gnuExceptionList.class | Bin 1046 -> 1046 bytes libjava/classpath/lib/gnu/CORBA/gnuRequest$1.class | Bin 567 -> 567 bytes libjava/classpath/lib/gnu/CORBA/gnuRequest$2.class | Bin 623 -> 623 bytes libjava/classpath/lib/gnu/CORBA/gnuRequest.class | Bin 23157 -> 23157 bytes .../classpath/ServiceFactory$ServiceIterator.class | Bin 4651 -> 5212 bytes .../lib/gnu/classpath/ServiceFactory.class | Bin 3536 -> 4087 bytes .../classpath/ServiceProviderLoadingAction.class | Bin 1292 -> 1676 bytes .../lib/gnu/classpath/jdwp/VMVirtualMachine.class | Bin 4080 -> 4080 bytes .../gnu/classpath/jdwp/event/ExceptionEvent.class | Bin 2304 -> 2334 bytes .../classpath/jdwp/event/filters/StepFilter.class | Bin 1349 -> 1349 bytes .../jdwp/processor/ObjectReferenceCommandSet.class | Bin 6519 -> 6519 bytes .../jdwp/processor/ReferenceTypeCommandSet.class | Bin 8121 -> 8121 bytes .../toolkit/DefaultDaemonThreadFactory.class | Bin 0 -> 773 bytes .../lib/gnu/java/awt/ClasspathToolkit.class | Bin 2951 -> 2951 bytes .../lib/gnu/java/awt/EmbeddedWindow.class | Bin 2023 -> 2023 bytes .../lib/gnu/java/awt/font/GNUGlyphVector.class | Bin 7384 -> 7590 bytes .../awt/font/OpenTypeFontPeer$XFontMetrics.class | Bin 0 -> 2812 bytes .../awt/font/OpenTypeFontPeer$XLineMetrics.class | Bin 0 -> 2787 bytes .../lib/gnu/java/awt/font/OpenTypeFontPeer.class | Bin 0 -> 9903 bytes .../awt/image/AsyncImage$AsyncImageSource.class | Bin 0 -> 1879 bytes .../lib/gnu/java/awt/image/AsyncImage.class | Bin 0 -> 3986 bytes .../lib/gnu/java/awt/image/ImageConverter.class | Bin 0 -> 8171 bytes .../gnu/java/awt/java2d/AbstractGraphics2D.class | Bin 28258 -> 29260 bytes .../gnu/java/awt/java2d/PixelCoverage$Bucket.class | Bin 0 -> 580 bytes .../lib/gnu/java/awt/java2d/PixelCoverage.class | Bin 0 -> 1189 bytes .../gnu/java/awt/java2d/ScanlineConverter.class | Bin 6579 -> 6616 bytes .../lib/gnu/java/awt/java2d/ShapeWrapper.class | Bin 0 -> 1836 bytes .../lib/gnu/java/awt/java2d/TextCacheKey.class | Bin 0 -> 1560 bytes .../lib/gnu/java/awt/peer/KDEDesktopPeer.class | Bin 2336 -> 2336 bytes .../gnu/java/awt/peer/gtk/CairoGraphics2D.class | Bin 39058 -> 39012 bytes .../lib/gnu/java/awt/peer/gtk/CairoSurface.class | Bin 7530 -> 7530 bytes .../gnu/java/awt/peer/gtk/ComponentGraphics.class | Bin 17173 -> 17164 bytes .../peer/gtk/GdkFontPeer$GdkFontLineMetrics.class | Bin 1705 -> 1705 bytes .../awt/peer/gtk/GdkFontPeer$GdkFontMetrics.class | Bin 2341 -> 2341 bytes .../lib/gnu/java/awt/peer/gtk/GdkFontPeer.class | Bin 9446 -> 9354 bytes .../java/awt/peer/gtk/GdkGraphicsEnvironment.class | Bin 3526 -> 3434 bytes .../gtk/GdkPixbufDecoder$GdkPixbufReader.class | Bin 5490 -> 5490 bytes .../gtk/GdkPixbufDecoder$GdkPixbufReaderSpi.class | Bin 1851 -> 1851 bytes .../gtk/GdkPixbufDecoder$GdkPixbufWriter.class | Bin 5314 -> 5314 bytes .../gtk/GdkPixbufDecoder$GdkPixbufWriterSpi.class | Bin 1904 -> 1904 bytes .../gtk/GdkPixbufDecoder$ImageFormatSpec.class | Bin 1075 -> 1075 bytes .../gnu/java/awt/peer/gtk/GdkPixbufDecoder.class | Bin 8025 -> 7956 bytes .../GdkScreenGraphicsDevice$X11DisplayMode.class | Bin 626 -> 626 bytes .../awt/peer/gtk/GdkScreenGraphicsDevice.class | Bin 5780 -> 5712 bytes .../gtk/GtkComponentPeer$RepaintTimerTask.class | Bin 1498 -> 1498 bytes .../gnu/java/awt/peer/gtk/GtkComponentPeer.class | Bin 18625 -> 18754 bytes .../lib/gnu/java/awt/peer/gtk/GtkMainThread.class | Bin 2319 -> 2356 bytes .../java/awt/peer/gtk/GtkToolkit$LRUCache.class | Bin 945 -> 945 bytes .../lib/gnu/java/awt/peer/gtk/GtkToolkit.class | Bin 19627 -> 19581 bytes .../lib/gnu/java/awt/peer/gtk/GtkWindowPeer.class | Bin 8439 -> 8647 bytes .../java/awt/peer/gtk/VolatileImageGraphics.class | Bin 8381 -> 8357 bytes .../swing/SwingCheckboxPeer$SwingCheckbox.class | Bin 2656 -> 2656 bytes .../SwingCheckboxPeer$SwingCheckboxListener.class | Bin 1346 -> 1346 bytes .../java/awt/peer/swing/SwingCheckboxPeer.class | Bin 1713 -> 1713 bytes .../java/awt/peer/swing/SwingTextAreaPeer$1.class | Bin 829 -> 829 bytes .../swing/SwingTextAreaPeer$SwingScrollPane.class | Bin 3177 -> 3177 bytes .../swing/SwingTextAreaPeer$SwingTextArea.class | Bin 2626 -> 2626 bytes .../java/awt/peer/swing/SwingTextAreaPeer.class | Bin 4808 -> 4808 bytes .../swing/SwingTextFieldPeer$SwingTextField.class | Bin 2670 -> 2670 bytes .../java/awt/peer/swing/SwingTextFieldPeer.class | Bin 3242 -> 3241 bytes .../gnu/java/awt/print/PostScriptGraphics2D.class | Bin 30318 -> 30318 bytes .../lib/gnu/java/awt/print/SpooledDocument.class | Bin 1325 -> 1325 bytes .../classpath/lib/gnu/java/io/PlatformHelper.class | Bin 1866 -> 1866 bytes .../lib/gnu/java/lang/management/BeanImpl.class | Bin 11094 -> 12101 bytes .../lib/gnu/java/lang/reflect/TypeSignature.class | Bin 4010 -> 3877 bytes .../lib/gnu/java/locale/LocaleHelper.class | Bin 1798 -> 1798 bytes .../lib/gnu/java/net/protocol/http/Request.class | Bin 15685 -> 15685 bytes .../lib/gnu/java/nio/charset/ByteCharset$1.class | Bin 0 -> 909 bytes .../lib/gnu/java/nio/charset/ByteCharset$2.class | Bin 0 -> 909 bytes .../gnu/java/nio/charset/ByteCharset$Decoder.class | Bin 1392 -> 1213 bytes .../gnu/java/nio/charset/ByteCharset$Encoder.class | Bin 2042 -> 1871 bytes .../lib/gnu/java/nio/charset/ByteCharset.class | Bin 1313 -> 1386 bytes .../java/nio/charset/ByteDecodeLoopHelper.class | Bin 0 -> 2171 bytes .../java/nio/charset/ByteEncodeLoopHelper.class | Bin 0 -> 2180 bytes .../classpath/lib/gnu/java/nio/charset/Cp424.class | Bin 2396 -> 2366 bytes .../classpath/lib/gnu/java/nio/charset/Cp437.class | Bin 2429 -> 2399 bytes .../classpath/lib/gnu/java/nio/charset/Cp737.class | Bin 2429 -> 2399 bytes .../classpath/lib/gnu/java/nio/charset/Cp775.class | Bin 2429 -> 2399 bytes .../classpath/lib/gnu/java/nio/charset/Cp850.class | Bin 2429 -> 2399 bytes .../classpath/lib/gnu/java/nio/charset/Cp852.class | Bin 2429 -> 2399 bytes .../classpath/lib/gnu/java/nio/charset/Cp855.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp857.class | Bin 2452 -> 2418 bytes .../classpath/lib/gnu/java/nio/charset/Cp860.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp861.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp862.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp863.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp864.class | Bin 2738 -> 2704 bytes .../classpath/lib/gnu/java/nio/charset/Cp865.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp866.class | Bin 2450 -> 2416 bytes .../classpath/lib/gnu/java/nio/charset/Cp869.class | Bin 2446 -> 2412 bytes .../classpath/lib/gnu/java/nio/charset/Cp874.class | Bin 2403 -> 2373 bytes .../lib/gnu/java/nio/charset/EncodingHelper.class | Bin 3279 -> 3359 bytes .../lib/gnu/java/nio/charset/ISO_8859_1$1.class | Bin 0 -> 677 bytes .../lib/gnu/java/nio/charset/ISO_8859_1$2.class | Bin 0 -> 682 bytes .../gnu/java/nio/charset/ISO_8859_1$Decoder.class | Bin 1161 -> 1016 bytes .../gnu/java/nio/charset/ISO_8859_1$Encoder.class | Bin 1632 -> 1402 bytes .../lib/gnu/java/nio/charset/ISO_8859_1.class | Bin 1348 -> 1348 bytes .../lib/gnu/java/nio/charset/ISO_8859_13.class | Bin 2683 -> 2657 bytes .../lib/gnu/java/nio/charset/ISO_8859_15.class | Bin 2869 -> 2843 bytes .../lib/gnu/java/nio/charset/ISO_8859_2.class | Bin 2817 -> 2791 bytes .../lib/gnu/java/nio/charset/ISO_8859_3.class | Bin 2815 -> 2789 bytes .../lib/gnu/java/nio/charset/ISO_8859_4.class | Bin 2817 -> 2791 bytes .../lib/gnu/java/nio/charset/ISO_8859_5.class | Bin 2808 -> 2782 bytes .../lib/gnu/java/nio/charset/ISO_8859_6.class | Bin 2857 -> 2831 bytes .../lib/gnu/java/nio/charset/ISO_8859_7.class | Bin 2871 -> 2845 bytes .../lib/gnu/java/nio/charset/ISO_8859_8.class | Bin 2827 -> 2801 bytes .../lib/gnu/java/nio/charset/ISO_8859_9.class | Bin 2841 -> 2815 bytes .../classpath/lib/gnu/java/nio/charset/KOI_8.class | Bin 2594 -> 2568 bytes .../classpath/lib/gnu/java/nio/charset/MS874.class | Bin 2403 -> 2373 bytes .../gnu/java/nio/charset/MacCentralEurope.class | Bin 2478 -> 2448 bytes .../lib/gnu/java/nio/charset/MacCroatian.class | Bin 2462 -> 2432 bytes .../lib/gnu/java/nio/charset/MacCyrillic.class | Bin 2458 -> 2428 bytes .../lib/gnu/java/nio/charset/MacDingbat.class | Bin 2527 -> 2497 bytes .../lib/gnu/java/nio/charset/MacGreek.class | Bin 2446 -> 2416 bytes .../lib/gnu/java/nio/charset/MacIceland.class | Bin 2458 -> 2428 bytes .../lib/gnu/java/nio/charset/MacRoman.class | Bin 2458 -> 2428 bytes .../lib/gnu/java/nio/charset/MacRomania.class | Bin 2458 -> 2428 bytes .../lib/gnu/java/nio/charset/MacSymbol.class | Bin 2488 -> 2458 bytes .../lib/gnu/java/nio/charset/MacThai.class | Bin 2414 -> 2384 bytes .../lib/gnu/java/nio/charset/MacTurkish.class | Bin 2462 -> 2432 bytes .../lib/gnu/java/nio/charset/Provider$1.class | Bin 581 -> 748 bytes .../lib/gnu/java/nio/charset/Provider.class | Bin 5340 -> 5643 bytes .../lib/gnu/java/nio/charset/US_ASCII$1.class | Bin 0 -> 669 bytes .../lib/gnu/java/nio/charset/US_ASCII$2.class | Bin 0 -> 671 bytes .../gnu/java/nio/charset/US_ASCII$Decoder.class | Bin 1248 -> 1006 bytes .../gnu/java/nio/charset/US_ASCII$Encoder.class | Bin 1622 -> 1391 bytes .../lib/gnu/java/nio/charset/US_ASCII.class | Bin 1301 -> 1301 bytes .../lib/gnu/java/nio/charset/Windows1250.class | Bin 2657 -> 2631 bytes .../lib/gnu/java/nio/charset/Windows1251.class | Bin 2603 -> 2577 bytes .../lib/gnu/java/nio/charset/Windows1252.class | Bin 2585 -> 2559 bytes .../lib/gnu/java/nio/charset/Windows1253.class | Bin 2587 -> 2561 bytes .../lib/gnu/java/nio/charset/Windows1254.class | Bin 2597 -> 2571 bytes .../lib/gnu/java/nio/charset/Windows1255.class | Bin 2581 -> 2555 bytes .../lib/gnu/java/nio/charset/Windows1256.class | Bin 2599 -> 2573 bytes .../lib/gnu/java/nio/charset/Windows1257.class | Bin 2592 -> 2566 bytes .../lib/gnu/java/nio/charset/Windows1258.class | Bin 2595 -> 2569 bytes .../gnu/java/rmi/server/ConnectionRunnerPool.class | Bin 2673 -> 2650 bytes .../rmi/server/RMIClassLoaderImpl$CacheKey.class | Bin 1553 -> 1553 bytes .../server/RMIClassLoaderImpl$MyClassLoader.class | Bin 1385 -> 1276 bytes .../gnu/java/rmi/server/RMIClassLoaderImpl.class | Bin 5117 -> 5117 bytes .../gnu/java/rmi/server/RMIObjectInputStream.class | Bin 3019 -> 3019 bytes libjava/classpath/lib/gnu/java/util/LRUCache.class | Bin 0 -> 899 bytes .../gnu/java/util/regex/RE$CharExpression.class | Bin 654 -> 654 bytes .../lib/gnu/java/util/regex/RE$CharUnit.class | Bin 516 -> 516 bytes .../lib/gnu/java/util/regex/RE$IntPair.class | Bin 515 -> 515 bytes .../lib/gnu/java/util/regex/RE$NamedProperty.class | Bin 549 -> 549 bytes .../java/util/regex/RE$ParseCharClassResult.class | Bin 632 -> 632 bytes libjava/classpath/lib/gnu/java/util/regex/RE.class | Bin 29677 -> 29677 bytes .../lib/gnu/java/util/regex/REException.class | Bin 1846 -> 2106 bytes .../java/util/regex/RETokenNamedProperty$1.class | Bin 849 -> 849 bytes .../util/regex/RETokenNamedProperty$Handler.class | Bin 566 -> 566 bytes .../RETokenNamedProperty$JavaCategoryHandler.class | Bin 0 -> 1489 bytes .../regex/RETokenNamedProperty$POSIXHandler.class | Bin 1256 -> 1256 bytes .../RETokenNamedProperty$UnicodeBlockHandler.class | Bin 1014 -> 1014 bytes ...kenNamedProperty$UnicodeCategoriesHandler.class | Bin 886 -> 886 bytes ...TokenNamedProperty$UnicodeCategoryHandler.class | Bin 800 -> 800 bytes .../gnu/java/util/regex/RETokenNamedProperty.class | Bin 6346 -> 6999 bytes .../gnu/javax/crypto/jce/DiffieHellmanImpl.class | Bin 3619 -> 3579 bytes .../lib/gnu/javax/imageio/bmp/DecodeBF16.class | Bin 2661 -> 2661 bytes .../lib/gnu/javax/imageio/bmp/EncodeRGB32.class | Bin 2162 -> 2162 bytes .../lib/gnu/javax/imageio/jpeg/JPEGDecoder.class | Bin 9409 -> 9405 bytes .../lib/gnu/javax/imageio/jpeg/JPEGException.class | Bin 384 -> 384 bytes .../javax/imageio/jpeg/JPEGImageInputStream.class | Bin 1776 -> 1776 bytes .../lib/gnu/javax/imageio/png/PNGChunk.class | Bin 4262 -> 4262 bytes .../lib/gnu/javax/imageio/png/PNGEncoder.class | Bin 5501 -> 5501 bytes .../lib/gnu/javax/imageio/png/PNGFile.class | Bin 5022 -> 5022 bytes .../lib/gnu/javax/imageio/png/PNGGamma.class | Bin 1461 -> 1461 bytes .../gnu/javax/management/Server$ServerInfo.class | Bin 898 -> 898 bytes .../management/Server$ServerInputStream.class | Bin 1219 -> 1219 bytes .../Server$ServerNotificationListener.class | Bin 1282 -> 1282 bytes .../lib/gnu/javax/management/Server.class | Bin 24106 -> 24212 bytes .../lib/gnu/javax/management/Translator.class | Bin 13369 -> 13799 bytes .../lib/gnu/javax/net/ssl/SSLRecordHandler.class | Bin 803 -> 803 bytes .../lib/gnu/javax/net/ssl/StaticTrustAnchors.class | Bin 92341 -> 92341 bytes .../ssl/provider/CertificateRequestBuilder.class | Bin 3027 -> 3027 bytes .../ssl/provider/ClientHandshake$CertLoader.class | Bin 2588 -> 2588 bytes .../ssl/provider/ClientHandshake$ClientDHGen.class | Bin 3790 -> 3790 bytes .../provider/ClientHandshake$GenCertVerify.class | Bin 2856 -> 2856 bytes .../provider/ClientHandshake$ParamsVerifier.class | Bin 2151 -> 2151 bytes .../net/ssl/provider/ClientHandshake$RSAGen.class | Bin 3836 -> 3836 bytes .../net/ssl/provider/ClientHandshake$State.class | Bin 2213 -> 2213 bytes .../javax/net/ssl/provider/ClientHandshake.class | Bin 31108 -> 31108 bytes .../net/ssl/provider/ClientPSKParameters.class | Bin 2480 -> 2480 bytes .../net/ssl/provider/ClientRSA_PSKParameters.class | Bin 3336 -> 3336 bytes .../gnu/javax/net/ssl/provider/ContentType.class | Bin 1657 -> 1657 bytes .../ssl/provider/EncryptedPreMasterSecret.class | Bin 3204 -> 3204 bytes .../javax/net/ssl/provider/Handshake$Type.class | Bin 2593 -> 2593 bytes .../lib/gnu/javax/net/ssl/provider/Handshake.class | Bin 5821 -> 5821 bytes .../net/ssl/provider/InputSecurityParameters.class | Bin 6952 -> 6952 bytes .../ssl/provider/OutputSecurityParameters.class | Bin 6668 -> 6668 bytes .../javax/net/ssl/provider/ProtocolVersion.class | Bin 3435 -> 3435 bytes .../lib/gnu/javax/net/ssl/provider/Random.class | Bin 2988 -> 2988 bytes .../provider/SRPTrustManagerFactory$Manager.class | Bin 2766 -> 2766 bytes .../net/ssl/provider/SRPTrustManagerFactory.class | Bin 2583 -> 2583 bytes .../net/ssl/provider/ServerDHE_PSKParameters.class | Bin 3858 -> 3858 bytes .../net/ssl/provider/SessionImpl$PrivateData.class | Bin 545 -> 545 bytes .../gnu/javax/net/ssl/provider/SessionImpl.class | Bin 4432 -> 4432 bytes .../lib/gnu/javax/net/ssl/provider/Signature.class | Bin 3037 -> 3037 bytes .../net/ssl/provider/SimpleSessionContext$1.class | Bin 1391 -> 1391 bytes .../net/ssl/provider/SimpleSessionContext.class | Bin 3005 -> 3005 bytes .../lib/gnu/javax/net/ssl/provider/TLSHMac.class | Bin 2111 -> 2111 bytes .../TrustedAuthorities$AuthoritiesIterator.class | Bin 1592 -> 1592 bytes .../TrustedAuthorities$IdentifierType.class | Bin 1597 -> 1597 bytes .../TrustedAuthorities$TrustedAuthority.class | Bin 3246 -> 3246 bytes .../net/ssl/provider/TrustedAuthorities.class | Bin 3483 -> 3483 bytes .../ssl/provider/UnresolvedExtensionValue.class | Bin 1494 -> 1494 bytes .../provider/X509KeyManagerFactory$Manager.class | Bin 5309 -> 5309 bytes .../net/ssl/provider/X509KeyManagerFactory.class | Bin 5245 -> 5245 bytes .../lib/gnu/javax/security/auth/Password.class | Bin 2543 -> 2543 bytes .../sound/AudioSecurityManager$Permission.class | Bin 1266 -> 1266 bytes .../lib/gnu/javax/sound/AudioSecurityManager.class | Bin 1574 -> 1574 bytes .../sound/midi/dssi/DSSIMidiDeviceProvider$1.class | Bin 748 -> 748 bytes .../dssi/DSSIMidiDeviceProvider$DSSIInfo.class | Bin 897 -> 897 bytes .../sound/midi/dssi/DSSIMidiDeviceProvider.class | Bin 3143 -> 3143 bytes .../gnu/javax/sound/midi/file/MidiFileWriter.class | Bin 3371 -> 3371 bytes .../sound/sampled/AU/AUReader$AUFormatType.class | Bin 563 -> 563 bytes .../javax/sound/sampled/AU/AUReader$AUHeader.class | Bin 2690 -> 2690 bytes .../lib/gnu/javax/sound/sampled/AU/AUReader.class | Bin 2634 -> 2634 bytes .../sampled/gstreamer/GStreamerMixer$GstInfo.class | Bin 837 -> 837 bytes .../sound/sampled/gstreamer/GStreamerMixer.class | Bin 4830 -> 4522 bytes .../sampled/gstreamer/io/GstAudioFileReader.class | Bin 2495 -> 3894 bytes .../GstAudioFileReaderNativePeer$GstHeader.class | Bin 1185 -> 1185 bytes .../io/GstAudioFileReaderNativePeer.class | Bin 5312 -> 5704 bytes .../sampled/gstreamer/io/GstInputStream.class | Bin 0 -> 1184 bytes .../gstreamer/lines/GstDataLine$State.class | Bin 1327 -> 0 bytes .../sampled/gstreamer/lines/GstDataLine.class | Bin 2714 -> 2549 bytes .../gstreamer/lines/GstNativeDataLine.class | Bin 512 -> 1166 bytes .../lines/GstPipeline$CleanPipeline.class | Bin 0 -> 1034 bytes .../gstreamer/lines/GstPipeline$State.class | Bin 0 -> 1375 bytes .../sampled/gstreamer/lines/GstPipeline.class | Bin 402 -> 5310 bytes .../gstreamer/lines/GstSourceDataLine.class | Bin 2066 -> 3566 bytes .../gnu/javax/swing/text/html/css/FontSize.class | Bin 3980 -> 4009 bytes .../gnu/javax/swing/text/html/css/Selector.class | Bin 3283 -> 3283 bytes .../swing/text/html/parser/support/Parser.class | Bin 20727 -> 20727 bytes .../html/parser/support/low/ReaderTokenizer.class | Bin 5335 -> 5335 bytes .../gnu/xml/aelfred2/XmlParser$AttributeDecl.class | Bin 514 -> 514 bytes .../gnu/xml/aelfred2/XmlParser$ElementDecl.class | Bin 500 -> 500 bytes .../gnu/xml/aelfred2/XmlParser$EntityInfo.class | Bin 610 -> 610 bytes .../aelfred2/XmlParser$ExternalIdentifiers.class | Bin 704 -> 704 bytes .../lib/gnu/xml/aelfred2/XmlParser$Input.class | Bin 703 -> 703 bytes .../classpath/lib/gnu/xml/aelfred2/XmlParser.class | Bin 52436 -> 52384 bytes .../gnu/xml/dom/html2/DomHTMLButtonElement.class | Bin 2264 -> 2264 bytes .../lib/gnu/xml/dom/html2/DomHTMLCollection.class | Bin 4083 -> 4083 bytes .../lib/gnu/xml/dom/html2/DomHTMLParser.class | Bin 4877 -> 4877 bytes .../lib/gnu/xml/libxmlj/dom/GnomeXPathResult.class | Bin 2233 -> 2237 bytes .../lib/gnu/xml/pipeline/EventFilter.class | Bin 11052 -> 11058 bytes .../lib/gnu/xml/stream/AttributeImpl.class | Bin 2098 -> 2089 bytes .../lib/gnu/xml/stream/EndDocumentImpl.class | Bin 722 -> 722 bytes .../classpath/lib/gnu/xml/stream/SAXParser.class | Bin 22221 -> 22226 bytes .../lib/gnu/xml/stream/XIncludeFilter.class | Bin 17452 -> 17456 bytes .../lib/gnu/xml/stream/XMLEventAllocatorImpl.class | Bin 5884 -> 5771 bytes .../lib/gnu/xml/stream/XMLEventFactoryImpl.class | Bin 7643 -> 7555 bytes .../lib/gnu/xml/stream/XMLEventImpl.class | Bin 3112 -> 3112 bytes .../gnu/xml/stream/XMLParser$AnyContentModel.class | Bin 617 -> 617 bytes .../lib/gnu/xml/stream/XMLParser$Attribute.class | Bin 2414 -> 2414 bytes .../gnu/xml/stream/XMLParser$AttributeDecl.class | Bin 897 -> 897 bytes .../gnu/xml/stream/XMLParser$ContentModel.class | Bin 787 -> 787 bytes .../gnu/xml/stream/XMLParser$ContentParticle.class | Bin 595 -> 595 bytes .../lib/gnu/xml/stream/XMLParser$Doctype.class | Bin 5914 -> 5914 bytes .../xml/stream/XMLParser$ElementContentModel.class | Bin 1059 -> 1059 bytes .../xml/stream/XMLParser$EmptyContentModel.class | Bin 623 -> 623 bytes .../lib/gnu/xml/stream/XMLParser$ExternalIds.class | Bin 556 -> 556 bytes .../lib/gnu/xml/stream/XMLParser$Input.class | Bin 6256 -> 6256 bytes .../xml/stream/XMLParser$MixedContentModel.class | Bin 988 -> 988 bytes .../classpath/lib/gnu/xml/stream/XMLParser.class | Bin 67987 -> 67890 bytes .../lib/gnu/xml/transform/StreamSerializer.class | Bin 17799 -> 17799 bytes .../lib/gnu/xml/transform/Stylesheet.class | Bin 38670 -> 38670 bytes .../xml/validation/datatype/Base64BinaryType.class | Bin 2173 -> 2173 bytes .../gnu/xml/validation/datatype/BooleanType.class | Bin 2029 -> 2029 bytes .../gnu/xml/validation/datatype/DecimalType.class | Bin 2033 -> 2033 bytes .../gnu/xml/validation/datatype/DoubleType.class | Bin 2285 -> 2285 bytes .../gnu/xml/validation/datatype/FloatType.class | Bin 2278 -> 2278 bytes .../xml/validation/datatype/HexBinaryType.class | Bin 1627 -> 1627 bytes .../gnu/xml/validation/datatype/NotationType.class | Bin 1538 -> 1538 bytes .../gnu/xml/validation/datatype/SimpleType.class | Bin 5599 -> 5599 bytes .../gnu/xml/validation/datatype/StringType.class | Bin 941 -> 941 bytes .../lib/gnu/xml/validation/datatype/Type.class | Bin 551 -> 551 bytes .../gnu/xml/validation/datatype/TypeBuilder.class | Bin 7085 -> 7085 bytes .../xml/validation/relaxng/FullSyntaxBuilder.class | Bin 32644 -> 32644 bytes .../xmlschema/XMLSchemaAttributeTypeInfo.class | Bin 1700 -> 1700 bytes .../validation/xmlschema/XMLSchemaBuilder.class | Bin 14866 -> 14866 bytes .../xmlschema/XMLSchemaElementTypeInfo.class | Bin 1657 -> 1657 bytes .../gnu/xml/xpath/XPathParser$YyCheckClass.class | Bin 7787 -> 7787 bytes .../gnu/xml/xpath/XPathParser$YyDefRedClass.class | Bin 863 -> 863 bytes .../gnu/xml/xpath/XPathParser$YyDgotoClass.class | Bin 669 -> 669 bytes .../gnu/xml/xpath/XPathParser$YyGindexClass.class | Bin 589 -> 589 bytes .../lib/gnu/xml/xpath/XPathParser$YyLenClass.class | Bin 952 -> 952 bytes .../lib/gnu/xml/xpath/XPathParser$YyLhsClass.class | Bin 1018 -> 1018 bytes .../gnu/xml/xpath/XPathParser$YyNameClass.class | Bin 1520 -> 1520 bytes .../gnu/xml/xpath/XPathParser$YyRindexClass.class | Bin 774 -> 774 bytes .../gnu/xml/xpath/XPathParser$YySindexClass.class | Bin 1024 -> 1024 bytes .../gnu/xml/xpath/XPathParser$YyTableClass.class | Bin 5389 -> 5389 bytes .../gnu/xml/xpath/XPathParser$yyException.class | Bin 453 -> 453 bytes .../classpath/lib/gnu/xml/xpath/XPathParser.class | Bin 15438 -> 15438 bytes .../classpath/lib/java/awt/AWTKeyStroke$3.class | Bin 1214 -> 1217 bytes libjava/classpath/lib/java/awt/AWTKeyStroke.class | Bin 7351 -> 7354 bytes libjava/classpath/lib/java/awt/Container.class | Bin 26135 -> 26128 bytes libjava/classpath/lib/java/awt/Desktop.class | Bin 1954 -> 1954 bytes libjava/classpath/lib/java/awt/Font.class | Bin 15412 -> 15499 bytes libjava/classpath/lib/java/awt/GridBagLayout.class | Bin 16068 -> 16064 bytes .../lib/java/awt/LightweightDispatcher.class | Bin 4928 -> 5122 bytes libjava/classpath/lib/java/awt/MenuShortcut.class | Bin 5566 -> 5566 bytes .../classpath/lib/java/awt/color/ICC_Profile.class | Bin 18802 -> 18837 bytes .../classpath/lib/java/awt/event/MouseEvent.class | Bin 4819 -> 4526 bytes .../lib/java/awt/font/LineBreakMeasurer.class | Bin 2685 -> 2685 bytes .../classpath/lib/java/awt/font/TextMeasurer.class | Bin 2843 -> 2843 bytes .../classpath/lib/java/awt/im/InputContext.class | Bin 5265 -> 5265 bytes .../lib/java/awt/image/BufferedImage$1.class | Bin 2308 -> 2308 bytes .../lib/java/awt/image/BufferedImage.class | Bin 14708 -> 14708 bytes .../awt/image/PixelInterleavedSampleModel.class | Bin 1024 -> 1264 bytes .../lib/java/awt/image/RGBImageFilter.class | Bin 3344 -> 3340 bytes libjava/classpath/lib/java/awt/image/Raster.class | Bin 11880 -> 11880 bytes .../java/beans/DefaultPersistenceDelegate.class | Bin 3915 -> 3921 bytes .../classpath/lib/java/beans/EventHandler.class | Bin 6940 -> 6942 bytes .../lib/java/beans/PropertyChangeSupport.class | Bin 7074 -> 7049 bytes .../lib/java/beans/VetoableChangeSupport.class | Bin 6813 -> 6823 bytes .../BeanContextServicesSupport$BCSSChild.class | Bin 958 -> 958 bytes ...tServicesSupport$BCSSProxyServiceProvider.class | Bin 2093 -> 2015 bytes ...ontextServicesSupport$BCSSServiceProvider.class | Bin 1471 -> 1471 bytes .../BeanContextServicesSupport$Request.class | Bin 837 -> 837 bytes .../BeanContextServicesSupport$ServiceLease.class | Bin 1014 -> 1014 bytes ...BeanContextServicesSupport$ServiceRequest.class | Bin 1163 -> 1163 bytes .../beancontext/BeanContextServicesSupport.class | Bin 12828 -> 12828 bytes libjava/classpath/lib/java/io/BufferedReader.class | Bin 5190 -> 5085 bytes .../classpath/lib/java/io/DataInputStream.class | Bin 5170 -> 5487 bytes .../classpath/lib/java/io/DataOutputStream.class | Bin 3626 -> 4005 bytes .../lib/java/io/ObjectInputStream$1.class | Bin 1152 -> 1152 bytes .../lib/java/io/ObjectInputStream$2.class | Bin 6167 -> 6167 bytes .../lib/java/io/ObjectInputStream$GetField.class | Bin 1025 -> 1025 bytes .../ObjectInputStream$ValidatorAndPriority.class | Bin 786 -> 786 bytes .../classpath/lib/java/io/ObjectInputStream.class | Bin 30634 -> 30759 bytes .../lib/java/io/ObjectOutputStream$1.class | Bin 4718 -> 4718 bytes .../lib/java/io/ObjectOutputStream$PutField.class | Bin 818 -> 818 bytes .../classpath/lib/java/io/ObjectOutputStream.class | Bin 18476 -> 18755 bytes .../classpath/lib/java/io/ObjectStreamClass.class | Bin 17983 -> 18007 bytes .../classpath/lib/java/io/PipedInputStream.class | Bin 2836 -> 3147 bytes libjava/classpath/lib/java/lang/Class$1.class | Bin 677 -> 677 bytes libjava/classpath/lib/java/lang/Double.class | Bin 4562 -> 4644 bytes libjava/classpath/lib/java/lang/Float.class | Bin 4520 -> 4589 bytes libjava/classpath/lib/java/lang/Integer.class | Bin 6779 -> 6788 bytes libjava/classpath/lib/java/lang/Long.class | Bin 6360 -> 6360 bytes .../lib/java/lang/StackTraceElement.class | Bin 2637 -> 2642 bytes libjava/classpath/lib/java/lang/Throwable.class | Bin 4594 -> 4466 bytes .../lib/java/lang/management/ThreadInfo.class | Bin 11980 -> 10585 bytes .../lib/java/lang/reflect/Proxy$ClassFactory.class | Bin 11575 -> 11611 bytes .../java/lang/reflect/Proxy$ProxySignature.class | Bin 3649 -> 3655 bytes libjava/classpath/lib/java/math/BigInteger.class | Bin 30684 -> 30694 bytes .../classpath/lib/java/net/DatagramSocket.class | Bin 10333 -> 10347 bytes libjava/classpath/lib/java/net/ServerSocket.class | Bin 6899 -> 6916 bytes libjava/classpath/lib/java/net/Socket.class | Bin 11464 -> 11438 bytes libjava/classpath/lib/java/net/URI.class | Bin 16505 -> 16406 bytes .../classpath/lib/java/net/URLClassLoader.class | Bin 14644 -> 14494 bytes libjava/classpath/lib/java/net/URLEncoder.class | Bin 1842 -> 1846 bytes .../lib/java/nio/charset/CoderResult$Cache.class | Bin 1220 -> 1244 bytes .../lib/java/security/SecureClassLoader.class | Bin 2605 -> 2601 bytes libjava/classpath/lib/java/security/Security.class | Bin 11241 -> 11246 bytes .../lib/java/security/VMSecureRandom$Spinner.class | Bin 808 -> 808 bytes .../lib/java/security/VMSecureRandom.class | Bin 1429 -> 1429 bytes .../java/security/cert/CertificateFactory.class | Bin 4794 -> 4794 bytes .../security/spec/RSAKeyGenParameterSpec.class | Bin 943 -> 951 bytes libjava/classpath/lib/java/text/ChoiceFormat.class | Bin 5710 -> 5767 bytes .../lib/java/text/CollationElementIterator.class | Bin 5280 -> 5534 bytes .../classpath/lib/java/text/DecimalFormat.class | Bin 24288 -> 24317 bytes .../classpath/lib/java/text/MessageFormat.class | Bin 11610 -> 11646 bytes .../lib/java/text/RuleBasedCollator.class | Bin 10427 -> 10217 bytes .../java/text/SimpleDateFormat$CompiledField.class | Bin 1491 -> 1496 bytes .../classpath/lib/java/text/SimpleDateFormat.class | Bin 18183 -> 18114 bytes libjava/classpath/lib/java/util/AbstractMap.class | Bin 5301 -> 5306 bytes libjava/classpath/lib/java/util/Calendar.class | Bin 17406 -> 17231 bytes libjava/classpath/lib/java/util/Date.class | Bin 11034 -> 11003 bytes .../lib/java/util/Hashtable$KeyEnumerator.class | Bin 1384 -> 1384 bytes .../lib/java/util/Hashtable$KeyIterator.class | Bin 1236 -> 1236 bytes .../lib/java/util/Hashtable$ValueEnumerator.class | Bin 1392 -> 1392 bytes .../lib/java/util/Hashtable$ValueIterator.class | Bin 1244 -> 1244 bytes libjava/classpath/lib/java/util/Hashtable.class | Bin 10573 -> 10538 bytes libjava/classpath/lib/java/util/Locale.class | Bin 13857 -> 13806 bytes .../util/concurrent/CopyOnWriteArrayList$1.class | Bin 0 -> 2314 bytes .../util/concurrent/CopyOnWriteArrayList$2.class | Bin 0 -> 1350 bytes .../util/concurrent/CopyOnWriteArrayList$3.class | Bin 0 -> 2115 bytes .../CopyOnWriteArrayList$RandomAccessSubList.class | Bin 0 -> 1081 bytes .../concurrent/CopyOnWriteArrayList$SubList.class | Bin 0 -> 4905 bytes .../util/concurrent/CopyOnWriteArrayList.class | Bin 6853 -> 11229 bytes libjava/classpath/lib/java/util/zip/ZipEntry.class | Bin 5378 -> 5391 bytes .../lib/javax/accessibility/AccessibleAction.class | Bin 449 -> 533 bytes .../AccessibleAttributeSequence.class | Bin 449 -> 596 bytes .../lib/javax/accessibility/AccessibleRole.class | Bin 4524 -> 4601 bytes .../accessibility/AccessibleTextSequence.class | Bin 415 -> 548 bytes .../imageio/metadata/IIOMetadataFormatImpl$1.class | Bin 818 -> 818 bytes ...IIOMetadataFormatImpl$IIOMetadataNodeAttr.class | Bin 1846 -> 1846 bytes ...dataFormatImpl$IIOMetadataNodeAttrBounded.class | Bin 1409 -> 1409 bytes ...aFormatImpl$IIOMetadataNodeAttrEnumerated.class | Bin 1313 -> 1313 bytes ...etadataFormatImpl$IIOMetadataNodeAttrList.class | Bin 1217 -> 1217 bytes .../IIOMetadataFormatImpl$NodeObject.class | Bin 1419 -> 1419 bytes .../IIOMetadataFormatImpl$NodeObjectArray.class | Bin 1305 -> 1305 bytes .../IIOMetadataFormatImpl$NodeObjectBounded.class | Bin 1520 -> 1520 bytes ...IOMetadataFormatImpl$NodeObjectEnumerated.class | Bin 1274 -> 1274 bytes .../imageio/metadata/IIOMetadataFormatImpl.class | Bin 16110 -> 16110 bytes .../stream/MemoryCacheImageInputStream.class | Bin 1907 -> 1907 bytes .../NotificationBroadcasterSupport.class | Bin 4524 -> 4531 bytes .../lib/javax/management/ObjectName.class | Bin 11159 -> 11159 bytes .../lib/javax/management/StandardMBean.class | Bin 16898 -> 16907 bytes .../lib/javax/management/openmbean/ArrayType.class | Bin 9802 -> 9802 bytes .../management/remote/NotificationResult.class | Bin 0 -> 1994 bytes .../management/remote/TargetedNotification.class | Bin 0 -> 1544 bytes .../management/remote/rmi/RMIConnection.class | Bin 0 -> 4347 bytes .../javax/management/remote/rmi/RMIServer.class | Bin 0 -> 368 bytes .../lib/javax/net/ssl/HttpsURLConnection.class | Bin 3247 -> 3247 bytes .../print/attribute/standard/JobStateReasons.class | Bin 2137 -> 2137 bytes .../javax/rmi/ssl/SslRMIClientSocketFactory.class | Bin 2635 -> 2653 bytes libjava/classpath/lib/javax/swing/JFrame.class | Bin 7071 -> 7079 bytes .../javax/swing/RepaintManager$RepaintWorker.class | Bin 1299 -> 1299 bytes .../swing/RepaintManager$RepaintWorkerEvent.class | Bin 751 -> 751 bytes .../classpath/lib/javax/swing/RepaintManager.class | Bin 9873 -> 9873 bytes .../TransferHandler$PropertyTransferable.class | Bin 2735 -> 2738 bytes .../swing/plaf/basic/BasicDirectoryModel$1.class | Bin 856 -> 856 bytes ...el$DirectoryLoadThread$UpdateSwingRequest.class | Bin 2209 -> 2209 bytes .../BasicDirectoryModel$DirectoryLoadThread.class | Bin 4426 -> 4426 bytes .../swing/plaf/basic/BasicDirectoryModel.class | Bin 5555 -> 5555 bytes .../BasicFileChooserUI$AcceptAllFileFilter.class | Bin 893 -> 893 bytes ...BasicFileChooserUI$ApproveSelectionAction.class | Bin 2289 -> 2289 bytes .../basic/BasicFileChooserUI$BasicFileView.class | Bin 2695 -> 2695 bytes .../BasicFileChooserUI$CancelSelectionAction.class | Bin 1079 -> 1079 bytes ...leChooserUI$ChangeToParentDirectoryAction.class | Bin 1031 -> 1031 bytes .../BasicFileChooserUI$DoubleClickListener.class | Bin 2984 -> 2984 bytes .../basic/BasicFileChooserUI$GoHomeAction.class | Bin 1186 -> 1186 bytes .../basic/BasicFileChooserUI$NewFolderAction.class | Bin 1269 -> 1269 bytes .../BasicFileChooserUI$SelectionListener.class | Bin 1680 -> 1680 bytes .../basic/BasicFileChooserUI$UpdateAction.class | Bin 758 -> 758 bytes .../swing/plaf/basic/BasicFileChooserUI.class | Bin 13714 -> 13714 bytes .../swing/plaf/basic/BasicGraphicsUtils.class | Bin 8276 -> 8270 bytes .../javax/swing/plaf/basic/BasicLabelUI$1.class | Bin 1068 -> 1068 bytes .../lib/javax/swing/plaf/basic/BasicLabelUI.class | Bin 9591 -> 9591 bytes .../lib/javax/swing/plaf/basic/BasicTreeUI$1.class | Bin 1001 -> 1001 bytes .../plaf/basic/BasicTreeUI$CellEditorHandler.class | Bin 901 -> 901 bytes .../plaf/basic/BasicTreeUI$ComponentHandler.class | Bin 2143 -> 2143 bytes .../plaf/basic/BasicTreeUI$FocusHandler.class | Bin 1242 -> 1242 bytes .../swing/plaf/basic/BasicTreeUI$KeyHandler.class | Bin 2114 -> 2114 bytes .../plaf/basic/BasicTreeUI$MouseHandler.class | Bin 2514 -> 2514 bytes .../plaf/basic/BasicTreeUI$MouseInputHandler.class | Bin 2338 -> 2338 bytes .../basic/BasicTreeUI$NodeDimensionsHandler.class | Bin 2418 -> 2418 bytes .../basic/BasicTreeUI$PropertyChangeHandler.class | Bin 2241 -> 2241 bytes ...reeUI$SelectionModelPropertyChangeHandler.class | Bin 966 -> 966 bytes .../BasicTreeUI$TreeCancelEditingAction.class | Bin 987 -> 987 bytes .../basic/BasicTreeUI$TreeExpansionHandler.class | Bin 1477 -> 1477 bytes .../plaf/basic/BasicTreeUI$TreeHomeAction.class | Bin 2637 -> 2637 bytes .../basic/BasicTreeUI$TreeIncrementAction.class | Bin 3035 -> 3035 bytes .../plaf/basic/BasicTreeUI$TreeModelHandler.class | Bin 1898 -> 1898 bytes .../plaf/basic/BasicTreeUI$TreePageAction.class | Bin 3700 -> 3700 bytes .../basic/BasicTreeUI$TreeSelectionHandler.class | Bin 1558 -> 1558 bytes .../basic/BasicTreeUI$TreeStartEditingAction.class | Bin 1115 -> 1115 bytes .../plaf/basic/BasicTreeUI$TreeToggleAction.class | Bin 1673 -> 1673 bytes .../basic/BasicTreeUI$TreeTraverseAction.class | Bin 2504 -> 2504 bytes .../lib/javax/swing/plaf/basic/BasicTreeUI.class | Bin 37502 -> 37357 bytes .../javax/swing/plaf/metal/MetalScrollButton.class | Bin 5504 -> 5504 bytes .../DefaultTableCellRenderer$UIResource.class | Bin 464 -> 464 bytes .../swing/table/DefaultTableCellRenderer.class | Bin 3503 -> 3503 bytes .../text/DefaultStyledDocument$ElementBuffer.class | Bin 18202 -> 18222 bytes .../DefaultStyledDocument$SectionElement.class | Bin 863 -> 863 bytes ...DefaultStyledDocument$StyleChangeListener.class | Bin 1181 -> 1181 bytes .../javax/swing/text/DefaultStyledDocument.class | Bin 15654 -> 15654 bytes .../classpath/lib/javax/swing/text/GlyphView.class | Bin 12414 -> 12203 bytes .../lib/javax/swing/text/ParagraphView$Row.class | Bin 2673 -> 2673 bytes .../lib/javax/swing/text/ParagraphView.class | Bin 6118 -> 6118 bytes .../text/html/ResetableToggleButtonModel.class | Bin 737 -> 737 bytes .../javax/swing/text/html/parser/Entity$1.class | Bin 783 -> 783 bytes .../lib/javax/swing/text/html/parser/Entity.class | Bin 1637 -> 1637 bytes ...ltMutableTreeNode$BreadthFirstEnumeration.class | Bin 1311 -> 1664 bytes ...faultMutableTreeNode$PostorderEnumeration.class | Bin 1717 -> 2190 bytes ...efaultMutableTreeNode$PreorderEnumeration.class | Bin 1617 -> 2076 bytes .../javax/swing/tree/DefaultTreeCellEditor.class | Bin 9819 -> 9406 bytes .../javax/swing/tree/DefaultTreeCellRenderer.class | Bin 7763 -> 7754 bytes .../swing/tree/DefaultTreeSelectionModel.class | Bin 14529 -> 14992 bytes .../tree/FixedHeightLayoutCache$NodeRecord.class | Bin 2355 -> 2443 bytes .../javax/swing/tree/FixedHeightLayoutCache.class | Bin 7085 -> 7465 bytes .../VariableHeightLayoutCache$NodeRecord.class | Bin 2254 -> 2342 bytes .../swing/tree/VariableHeightLayoutCache.class | Bin 8026 -> 8375 bytes .../lib/javax/tools/Diagnostic$Kind.class | Bin 0 -> 1243 bytes libjava/classpath/lib/javax/tools/Diagnostic.class | Bin 0 -> 644 bytes .../lib/javax/tools/DiagnosticListener.class | Bin 0 -> 283 bytes libjava/classpath/lib/javax/tools/FileObject.class | Bin 0 -> 577 bytes .../lib/javax/xml/datatype/DatatypeFactory.class | Bin 5735 -> 5735 bytes .../classpath/lib/javax/xml/namespace/QName.class | Bin 2665 -> 2720 bytes .../lib/javax/xml/stream/XMLEventFactory.class | Bin 5548 -> 5548 bytes .../lib/javax/xml/stream/XMLInputFactory.class | Bin 5885 -> 5885 bytes .../lib/javax/xml/stream/events/Attribute.class | Bin 304 -> 304 bytes .../lib/org/omg/IOP/TaggedComponentHelper.class | Bin 3325 -> 3325 bytes .../sun/reflect/annotation/ExceptionProxy.class | Bin 313 -> 313 bytes libjava/classpath/ltmain.sh | 11449 +++++++++++-------- libjava/classpath/m4/ac_prog_javac.m4 | 51 + libjava/classpath/m4/ac_prog_javac_works.m4 | 45 + libjava/classpath/m4/acinclude.m4 | 351 +- libjava/classpath/missing | 61 +- libjava/classpath/native/Makefile.in | 23 +- libjava/classpath/native/fdlibm/Makefile.in | 23 +- libjava/classpath/native/fdlibm/dtoa.c | 3 +- libjava/classpath/native/fdlibm/fdlibm.h | 7 +- libjava/classpath/native/fdlibm/ieeefp.h | 4 + libjava/classpath/native/fdlibm/mprec.h | 2 + libjava/classpath/native/jawt/Makefile.in | 23 +- libjava/classpath/native/jni/Makefile.am | 2 +- libjava/classpath/native/jni/Makefile.in | 25 +- libjava/classpath/native/jni/classpath/Makefile.in | 23 +- .../classpath/native/jni/gconf-peer/Makefile.in | 23 +- .../native/jni/gstreamer-peer/GStreamerIOPeer.c | 772 -- .../native/jni/gstreamer-peer/Makefile.am | 18 +- .../native/jni/gstreamer-peer/Makefile.in | 55 +- .../native/jni/gstreamer-peer/gst_classpath_src.c | 408 + .../native/jni/gstreamer-peer/gst_classpath_src.h | 88 + .../native/jni/gstreamer-peer/gst_input_stream.c | 290 + .../native/jni/gstreamer-peer/gst_input_stream.h | 71 + .../jni/gstreamer-peer/gst_native_data_line.c | 251 + .../jni/gstreamer-peer/gst_native_pipeline.c | 611 + .../jni/gstreamer-peer/gst_native_pipeline.h | 63 + .../classpath/native/jni/gstreamer-peer/gst_peer.c | 83 + .../classpath/native/jni/gstreamer-peer/gst_peer.h | 59 + .../native/jni/gstreamer-peer/gstclasspathsrc.c | 332 - .../native/jni/gstreamer-peer/gstclasspathsrc.h | 88 - .../native/jni/gstreamer-peer/gstinputstream.c | 494 - .../native/jni/gstreamer-peer/gstinputstream.h | 99 - .../native/jni/gstreamer-peer/gstreamer_io_peer.c | 739 ++ libjava/classpath/native/jni/gtk-peer/Makefile.in | 23 +- .../gnu_java_awt_peer_gtk_CairoGraphics2D.c | 2 - .../gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c | 2 - .../gnu_java_awt_peer_gtk_ComponentGraphics.c | 59 +- .../gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c | 3 - .../gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c | 93 + .../gnu_java_awt_peer_gtk_GtkComponentPeer.c | 32 +- .../jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c | 2 - .../gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c | 5 - .../gnu_java_awt_peer_gtk_GtkVolatileImage.c | 2 - libjava/classpath/native/jni/gtk-peer/gtkpeer.c | 12 +- libjava/classpath/native/jni/java-io/Makefile.in | 23 +- .../classpath/native/jni/java-io/java_io_VMFile.c | 88 + .../jni/java-io/java_io_VMObjectStreamClass.c | 2 +- libjava/classpath/native/jni/java-lang/Makefile.in | 23 +- ...a_lang_management_VMOperatingSystemMXBeanImpl.c | 5 + .../native/jni/java-lang/java_lang_VMDouble.c | 34 +- .../native/jni/java-lang/java_lang_VMFloat.c | 22 - libjava/classpath/native/jni/java-net/Makefile.in | 23 +- .../jni/java-net/gnu_java_net_VMPlainSocketImpl.c | 6 +- .../java-net/gnu_java_net_local_LocalSocketImpl.c | 3 +- .../native/jni/java-net/java_net_VMInetAddress.c | 2 +- libjava/classpath/native/jni/java-nio/Makefile.in | 23 +- .../jni/java-nio/gnu_java_nio_EpollSelectorImpl.c | 2 + .../native/jni/java-nio/gnu_java_nio_VMChannel.c | 2 + .../native/jni/java-nio/gnu_java_nio_VMSelector.c | 3 +- libjava/classpath/native/jni/java-nio/javanio.c | 2 + libjava/classpath/native/jni/java-nio/javanio.h | 2 + libjava/classpath/native/jni/java-util/Makefile.in | 23 +- libjava/classpath/native/jni/midi-alsa/Makefile.in | 23 +- libjava/classpath/native/jni/midi-dssi/Makefile.in | 23 +- .../classpath/native/jni/native-lib/Makefile.am | 2 +- .../classpath/native/jni/native-lib/Makefile.in | 25 +- libjava/classpath/native/jni/native-lib/cpio.c | 57 +- libjava/classpath/native/jni/native-lib/cpio.h | 9 + libjava/classpath/native/jni/native-lib/cpnet.h | 4 + libjava/classpath/native/jni/qt-peer/Makefile.in | 23 +- libjava/classpath/native/jni/xmlj/Makefile.in | 23 +- libjava/classpath/native/plugin/Makefile.in | 23 +- libjava/classpath/org/ietf/jgss/GSSContext.java | 2 +- .../classpath/org/omg/CORBA/PolicyErrorHelper.java | 4 +- .../org/omg/CORBA/UnknownUserExceptionHelper.java | 4 +- .../org/omg/CosNaming/NamingContextExtPOA.java | 4 +- .../org/omg/CosNaming/NamingContextPOA.java | 2 +- .../omg/CosNaming/_NamingContextExtImplBase.java | 4 +- .../org/omg/CosNaming/_NamingContextImplBase.java | 4 +- .../org/omg/IOP/TaggedComponentHelper.java | 3 - .../ORBInitInfoPackage/DuplicateNameHelper.java | 4 +- .../omg/PortableServer/ForwardRequestHelper.java | 4 +- .../POAPackage/InvalidPolicyHelper.java | 4 +- libjava/classpath/resource/Makefile.in | 23 +- .../com/sun/tools/javac/messages.properties | 42 - .../tools/appletviewer/messages.properties | 102 - .../gnu/classpath/tools/common/Messages.properties | 40 - .../gnu/classpath/tools/getopt/Messages.properties | 46 - .../gnu/classpath/tools/jar/messages.properties | 72 - .../tools/jarsigner/MessageBundle.properties | 33 - .../classpath/tools/jarsigner/messages.properties | 126 - .../tools/keytool/MessageBundle.properties | 95 - .../classpath/tools/keytool/messages.properties | 570 - .../tools/native2ascii/messages.properties | 44 - .../gnu/classpath/tools/orbd/messages.properties | 46 - .../gnu/classpath/tools/rmic/messages.properties | 61 - .../gnu/classpath/tools/rmid/messages.properties | 50 - .../tools/rmiregistry/messages.properties | 48 - .../classpath/tools/serialver/messages.properties | 44 - .../classpath/tools/tnameserv/messages.properties | 43 - .../resource/gnu/java/awt/font/fonts.properties | 59 + .../resource/gnu/java/awt/peer/x/xfonts.properties | 25 + .../resource/sun/rmi/rmic/messages.properties | 38 - libjava/classpath/scripts/Makefile.am | 2 +- libjava/classpath/scripts/Makefile.in | 31 +- libjava/classpath/scripts/check_jni_methods.sh | 61 - libjava/classpath/scripts/check_jni_methods.sh.in | 61 + .../sun/reflect/annotation/ExceptionProxy.java | 2 - libjava/classpath/tools/Makefile.am | 58 +- libjava/classpath/tools/Makefile.in | 72 +- .../tools/classes/com/sun/tools/javac/Main.class | Bin 3611 -> 3764 bytes .../gnu/classpath/tools/appletviewer/Main$1.class | Bin 828 -> 828 bytes .../gnu/classpath/tools/appletviewer/Main$10.class | Bin 801 -> 801 bytes .../gnu/classpath/tools/appletviewer/Main$2.class | Bin 828 -> 828 bytes .../gnu/classpath/tools/appletviewer/Main$3.class | Bin 828 -> 828 bytes .../gnu/classpath/tools/appletviewer/Main$4.class | Bin 973 -> 973 bytes .../gnu/classpath/tools/appletviewer/Main$5.class | Bin 974 -> 974 bytes .../gnu/classpath/tools/appletviewer/Main$6.class | Bin 915 -> 915 bytes .../gnu/classpath/tools/appletviewer/Main$7.class | Bin 1067 -> 1067 bytes .../gnu/classpath/tools/appletviewer/Main$8.class | Bin 831 -> 831 bytes .../gnu/classpath/tools/appletviewer/Main$9.class | Bin 799 -> 799 bytes .../gnu/classpath/tools/appletviewer/Main.class | Bin 8053 -> 8053 bytes .../tools/appletviewer/PluginAppletWindow.class | Bin 8194 -> 8194 bytes .../tools/common/ClasspathToolParser$1.class | Bin 1028 -> 1028 bytes .../tools/common/ClasspathToolParser$2.class | Bin 0 -> 983 bytes ...lasspathToolParser$AtFileArgumentCallback.class | Bin 0 -> 1727 bytes .../tools/common/ClasspathToolParser.class | Bin 1394 -> 4028 bytes .../classpath/tools/getopt/OptionException.class | Bin 391 -> 565 bytes .../classes/gnu/classpath/tools/jar/Main$1.class | Bin 964 -> 977 bytes .../classes/gnu/classpath/tools/jar/Main$2.class | Bin 903 -> 916 bytes .../classes/gnu/classpath/tools/jar/Main$3.class | Bin 899 -> 912 bytes .../classes/gnu/classpath/tools/jar/Main$4.class | Bin 904 -> 917 bytes .../classes/gnu/classpath/tools/jar/Main$5.class | Bin 1014 -> 1027 bytes .../classes/gnu/classpath/tools/jar/Main$6.class | Bin 966 -> 979 bytes .../classes/gnu/classpath/tools/jar/Main$7.class | Bin 910 -> 923 bytes .../classes/gnu/classpath/tools/jar/Main.class | Bin 5642 -> 5683 bytes .../classpath/tools/javah/CniIncludePrinter.class | Bin 1933 -> 1929 bytes .../gnu/classpath/tools/javah/GcjhMain$1.class | Bin 1182 -> 1195 bytes .../gnu/classpath/tools/javah/GcjhMain$2.class | Bin 1182 -> 1195 bytes .../gnu/classpath/tools/javah/GcjhMain$3.class | Bin 1182 -> 1195 bytes .../gnu/classpath/tools/javah/GcjhMain$4.class | Bin 1182 -> 1195 bytes .../gnu/classpath/tools/javah/GcjhMain$5.class | Bin 977 -> 990 bytes .../gnu/classpath/tools/javah/GcjhMain$6.class | Bin 915 -> 928 bytes .../gnu/classpath/tools/javah/GcjhMain$7.class | Bin 915 -> 928 bytes .../gnu/classpath/tools/javah/GcjhMain$8.class | Bin 915 -> 928 bytes .../gnu/classpath/tools/javah/GcjhMain$9.class | Bin 915 -> 928 bytes .../gnu/classpath/tools/javah/GcjhMain.class | Bin 2981 -> 3020 bytes .../classpath/tools/javah/JniIncludePrinter.class | Bin 4428 -> 4472 bytes .../gnu/classpath/tools/javah/Main$10.class | Bin 928 -> 941 bytes .../classes/gnu/classpath/tools/javah/Main$2.class | Bin 1106 -> 1119 bytes .../classes/gnu/classpath/tools/javah/Main$3.class | Bin 1111 -> 1124 bytes .../classes/gnu/classpath/tools/javah/Main$4.class | Bin 994 -> 1007 bytes .../classes/gnu/classpath/tools/javah/Main$5.class | Bin 1056 -> 1069 bytes .../classes/gnu/classpath/tools/javah/Main$6.class | Bin 926 -> 939 bytes .../classes/gnu/classpath/tools/javah/Main$7.class | Bin 1051 -> 1064 bytes .../classes/gnu/classpath/tools/javah/Main$8.class | Bin 1051 -> 1064 bytes .../classes/gnu/classpath/tools/javah/Main$9.class | Bin 960 -> 973 bytes .../classes/gnu/classpath/tools/javah/Main.class | Bin 10991 -> 10936 bytes .../tools/native2ascii/Native2ASCII.class | Bin 4202 -> 4201 bytes .../classes/gnu/classpath/tools/orbd/Main$1.class | Bin 1106 -> 1106 bytes .../classes/gnu/classpath/tools/orbd/Main$2.class | Bin 1052 -> 1052 bytes .../classes/gnu/classpath/tools/orbd/Main$3.class | Bin 1048 -> 1048 bytes .../classes/gnu/classpath/tools/orbd/Main$4.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/orbd/Main$5.class | Bin 721 -> 721 bytes .../classes/gnu/classpath/tools/orbd/Main.class | Bin 5476 -> 5476 bytes .../tools/rmic/ClassRmicCompiler$MethodRef.class | Bin 2719 -> 2719 bytes .../classpath/tools/rmic/ClassRmicCompiler.class | Bin 30611 -> 30611 bytes .../classes/gnu/classpath/tools/rmic/Main$1.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmic/Main$10.class | Bin 971 -> 971 bytes .../classes/gnu/classpath/tools/rmic/Main$11.class | Bin 900 -> 900 bytes .../classes/gnu/classpath/tools/rmic/Main$12.class | Bin 971 -> 971 bytes .../classes/gnu/classpath/tools/rmic/Main$13.class | Bin 971 -> 971 bytes .../classes/gnu/classpath/tools/rmic/Main$14.class | Bin 971 -> 971 bytes .../classes/gnu/classpath/tools/rmic/Main$15.class | Bin 1039 -> 1039 bytes .../classes/gnu/classpath/tools/rmic/Main$16.class | Bin 972 -> 972 bytes .../classes/gnu/classpath/tools/rmic/Main$17.class | Bin 1039 -> 1039 bytes .../classes/gnu/classpath/tools/rmic/Main$18.class | Bin 900 -> 900 bytes .../classes/gnu/classpath/tools/rmic/Main$2.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmic/Main$3.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmic/Main$4.class | Bin 1048 -> 1048 bytes .../classes/gnu/classpath/tools/rmic/Main$5.class | Bin 1048 -> 1048 bytes .../classes/gnu/classpath/tools/rmic/Main$6.class | Bin 960 -> 960 bytes .../classes/gnu/classpath/tools/rmic/Main$7.class | Bin 960 -> 960 bytes .../classes/gnu/classpath/tools/rmic/Main$8.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmic/Main$9.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmic/Main.class | Bin 6058 -> 6058 bytes .../classes/gnu/classpath/tools/rmid/Main$1.class | Bin 1084 -> 1084 bytes .../classes/gnu/classpath/tools/rmid/Main$2.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmid/Main$3.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmid/Main$4.class | Bin 969 -> 969 bytes .../classes/gnu/classpath/tools/rmid/Main$5.class | Bin 1048 -> 1048 bytes .../classes/gnu/classpath/tools/rmid/Main$6.class | Bin 983 -> 983 bytes .../classes/gnu/classpath/tools/rmid/Main.class | Bin 5921 -> 5921 bytes .../gnu/classpath/tools/tnameserv/Main$1.class | Bin 1136 -> 1136 bytes .../gnu/classpath/tools/tnameserv/Main$2.class | Bin 1082 -> 1082 bytes .../gnu/classpath/tools/tnameserv/Main.class | Bin 2391 -> 2391 bytes .../classpath/tools/com/sun/tools/javac/Main.java | 5 +- .../org/objectweb/asm/optimizer/shrink.properties | 225 + .../tools/appletviewer/CommonAppletStub.java | 2 +- .../gnu/classpath/tools/appletviewer/Main.java | 1 - .../tools/appletviewer/PluginAppletWindow.java | 4 +- .../tools/appletviewer/StandaloneAppletWindow.java | 2 +- .../classpath/tools/appletviewer/TagParser.java | 2 +- .../tools/common/ClasspathToolParser.java | 152 + .../classpath/tools/getopt/OptionException.java | 6 + .../tools/gnu/classpath/tools/jar/Main.java | 8 +- .../classpath/tools/javah/CniIncludePrinter.java | 4 +- .../tools/gnu/classpath/tools/javah/GcjhMain.java | 7 +- .../classpath/tools/javah/JniIncludePrinter.java | 16 +- .../tools/gnu/classpath/tools/javah/Main.java | 12 +- .../classpath/tools/native2ascii/Native2ASCII.java | 2 +- .../tools/gnu/classpath/tools/orbd/Main.java | 2 - .../classpath/tools/rmic/ClassRmicCompiler.java | 7 - .../tools/gnu/classpath/tools/rmic/Main.java | 6 - .../gnu/classpath/tools/rmic/templates/ImplTie.jav | 152 - .../gnu/classpath/tools/rmic/templates/Stub.jav | 47 - .../classpath/tools/rmic/templates/StubMethod.jav | 33 - .../tools/rmic/templates/StubMethodVoid.jav | 32 - .../gnu/classpath/tools/rmic/templates/Stub_12.jav | 62 - .../tools/rmic/templates/Stub_12Method.jav | 26 - .../tools/rmic/templates/Stub_12MethodVoid.jav | 25 - .../gnu/classpath/tools/rmic/templates/Tie.jav | 184 - .../classpath/tools/rmic/templates/TieMethod.jav | 11 - .../tools/rmic/templates/TieMethodVoid.jav | 9 - .../tools/gnu/classpath/tools/rmid/Main.java | 1 - .../tools/gnu/classpath/tools/tnameserv/Main.java | 2 - .../com/sun/tools/javac/messages.properties | 42 + .../tools/appletviewer/messages.properties | 102 + .../gnu/classpath/tools/common/Messages.properties | 40 + .../gnu/classpath/tools/getopt/Messages.properties | 46 + .../gnu/classpath/tools/jar/messages.properties | 72 + .../classpath/tools/jarsigner/messages.properties | 126 + .../classpath/tools/keytool/messages.properties | 570 + .../tools/native2ascii/messages.properties | 44 + .../gnu/classpath/tools/orbd/messages.properties | 46 + .../gnu/classpath/tools/rmic/messages.properties | 61 + .../gnu/classpath/tools/rmic/templates/ImplTie.jav | 152 + .../gnu/classpath/tools/rmic/templates/Stub.jav | 47 + .../classpath/tools/rmic/templates/StubMethod.jav | 33 + .../tools/rmic/templates/StubMethodVoid.jav | 32 + .../gnu/classpath/tools/rmic/templates/Stub_12.jav | 62 + .../tools/rmic/templates/Stub_12Method.jav | 26 + .../tools/rmic/templates/Stub_12MethodVoid.jav | 25 + .../gnu/classpath/tools/rmic/templates/Tie.jav | 184 + .../classpath/tools/rmic/templates/TieMethod.jav | 11 + .../tools/rmic/templates/TieMethodVoid.jav | 9 + .../gnu/classpath/tools/rmid/messages.properties | 50 + .../tools/rmiregistry/messages.properties | 48 + .../classpath/tools/serialver/messages.properties | 44 + .../classpath/tools/tnameserv/messages.properties | 43 + .../resource/sun/rmi/rmic/messages.properties | 38 + .../gnu/classpath/jdwp/VMVirtualMachine.java | 1 - .../java/lang/management/VMMemoryMXBeanImpl.java | 57 +- .../vm/reference/gnu/java/nio/VMChannel.java | 1 - libjava/classpath/vm/reference/java/io/VMFile.java | 19 +- .../classpath/vm/reference/java/lang/VMClass.java | 25 +- .../classpath/vm/reference/java/lang/VMDouble.java | 16 - .../classpath/vm/reference/java/lang/VMFloat.java | 15 - .../reference/java/lang/reflect/Constructor.java | 24 + .../vm/reference/java/lang/reflect/Method.java | 24 + .../vm/reference/java/security/VMSecureRandom.java | 5 - libjava/configure | 67 +- libjava/configure.ac | 3 + libjava/gcj/javaprims.h | 9 + libjava/gnu/classpath/jdwp/VMVirtualMachine.java | 1 - .../classpath/toolkit/DefaultDaemonThreadFactory.h | 33 + libjava/gnu/java/awt/font/GNUGlyphVector.h | 1 + .../java/awt/font/OpenTypeFontPeer$XFontMetrics.h | 61 + .../java/awt/font/OpenTypeFontPeer$XLineMetrics.h | 73 + libjava/gnu/java/awt/font/OpenTypeFontPeer.h | 96 + .../java/awt/image/AsyncImage$AsyncImageSource.h | 61 + libjava/gnu/java/awt/image/AsyncImage.h | 72 + libjava/gnu/java/awt/image/ImageConverter.h | 82 + libjava/gnu/java/awt/java2d/AbstractGraphics2D.h | 12 +- libjava/gnu/java/awt/java2d/PixelCoverage$Bucket.h | 42 + libjava/gnu/java/awt/java2d/PixelCoverage.h | 45 + libjava/gnu/java/awt/java2d/ScanlineConverter.h | 6 +- libjava/gnu/java/awt/java2d/ShapeWrapper.h | 63 + libjava/gnu/java/awt/java2d/TextCacheKey.h | 57 + libjava/gnu/java/awt/peer/gtk/ComponentGraphics.h | 2 +- libjava/gnu/java/awt/peer/gtk/GtkComponentPeer.h | 2 + libjava/gnu/java/lang/management/BeanImpl.h | 6 + libjava/gnu/java/nio/charset/ByteCharset$1.h | 42 + libjava/gnu/java/nio/charset/ByteCharset$2.h | 42 + libjava/gnu/java/nio/charset/ByteCharset$Decoder.h | 4 + libjava/gnu/java/nio/charset/ByteCharset$Encoder.h | 4 + libjava/gnu/java/nio/charset/ByteCharset.h | 2 +- .../gnu/java/nio/charset/ByteDecodeLoopHelper.h | 56 + .../gnu/java/nio/charset/ByteEncodeLoopHelper.h | 56 + libjava/gnu/java/nio/charset/ISO_8859_1$1.h | 39 + libjava/gnu/java/nio/charset/ISO_8859_1$2.h | 39 + libjava/gnu/java/nio/charset/ISO_8859_1$Decoder.h | 3 + libjava/gnu/java/nio/charset/ISO_8859_1$Encoder.h | 3 + libjava/gnu/java/nio/charset/Provider$1.h | 2 + libjava/gnu/java/nio/charset/US_ASCII$1.h | 39 + libjava/gnu/java/nio/charset/US_ASCII$2.h | 39 + libjava/gnu/java/nio/charset/US_ASCII$Decoder.h | 3 + libjava/gnu/java/nio/charset/US_ASCII$Encoder.h | 3 + .../rmi/server/RMIClassLoaderImpl$MyClassLoader.h | 2 - libjava/gnu/java/util/LRUCache.h | 37 + libjava/gnu/java/util/regex/REException.h | 1 + .../RETokenNamedProperty$JavaCategoryHandler.h | 39 + .../javax/sound/sampled/gstreamer/GStreamerMixer.h | 4 +- .../sampled/gstreamer/io/GstAudioFileReader.h | 3 + .../gstreamer/io/GstAudioFileReaderNativePeer.h | 8 +- .../sound/sampled/gstreamer/io/GstInputStream.h | 56 + .../sampled/gstreamer/lines/GstDataLine$State.h | 51 - .../sound/sampled/gstreamer/lines/GstDataLine.h | 13 +- .../sampled/gstreamer/lines/GstNativeDataLine.h | 10 + .../gstreamer/lines/GstPipeline$CleanPipeline.h | 47 + .../sampled/gstreamer/lines/GstPipeline$State.h | 52 + .../sound/sampled/gstreamer/lines/GstPipeline.h | 47 +- .../sampled/gstreamer/lines/GstSourceDataLine.h | 7 + libjava/gnu/xml/stream/AttributeImpl.h | 6 +- libjava/gnu/xml/stream/XMLParser.h | 1 - libjava/java/awt/Desktop.h | 2 - libjava/java/awt/Font.h | 1 + libjava/java/awt/LightweightDispatcher.h | 2 + ...ntextServicesSupport$BCSSProxyServiceProvider.h | 3 +- libjava/java/io/BufferedReader.h | 2 - libjava/java/io/DataInputStream.h | 5 + libjava/java/io/DataOutputStream.h | 9 +- libjava/java/io/PipedInputStream.h | 2 + libjava/java/lang/Throwable.h | 2 +- libjava/java/lang/management/ThreadInfo.h | 3 - libjava/java/net/URI.h | 2 +- libjava/java/security/VMSecureRandom.java | 5 - libjava/java/text/CollationElementIterator.h | 3 +- .../java/util/concurrent/CopyOnWriteArrayList$1.h | 35 + .../java/util/concurrent/CopyOnWriteArrayList$2.h | 30 + .../java/util/concurrent/CopyOnWriteArrayList$3.h | 36 + .../CopyOnWriteArrayList$RandomAccessSubList.h | 20 + .../util/concurrent/CopyOnWriteArrayList$SubList.h | 42 + .../java/util/concurrent/CopyOnWriteArrayList.h | 20 +- libjava/javax/accessibility/AccessibleAction.h | 2 + .../accessibility/AccessibleAttributeSequence.h | 2 +- libjava/javax/accessibility/AccessibleRole.h | 1 + .../javax/accessibility/AccessibleTextSequence.h | 2 +- .../javax/management/remote/NotificationResult.h | 45 + .../javax/management/remote/TargetedNotification.h | 41 + .../javax/management/remote/rmi/RMIConnection.h | 82 + libjava/javax/management/remote/rmi/RMIServer.h | 37 + libjava/javax/swing/plaf/basic/BasicTreeUI.h | 1 - ...efaultMutableTreeNode$BreadthFirstEnumeration.h | 1 + .../DefaultMutableTreeNode$PostorderEnumeration.h | 6 +- .../DefaultMutableTreeNode$PreorderEnumeration.h | 4 +- libjava/javax/swing/tree/DefaultTreeCellEditor.h | 3 - libjava/javax/tools/Diagnostic$Kind.h | 41 + libjava/javax/tools/Diagnostic.h | 39 + libjava/javax/tools/DiagnosticListener.h | 30 + libjava/javax/tools/FileObject.h | 44 + libjava/javax/xml/stream/events/Attribute.h | 2 +- libjava/jni.cc | 11 +- libjava/sources.am | 93 +- 1460 files changed, 37959 insertions(+), 23241 deletions(-) create mode 100644 libjava/ChangeLog-2007 create mode 100644 libjava/classpath/ChangeLog-2007 create mode 100644 libjava/classpath/examples/gnu/classpath/examples/sound/AudioPlayerSample.java create mode 100644 libjava/classpath/gnu/classpath/toolkit/DefaultDaemonThreadFactory.java create mode 100644 libjava/classpath/gnu/java/awt/font/OpenTypeFontPeer.java create mode 100644 libjava/classpath/gnu/java/awt/image/AsyncImage.java create mode 100644 libjava/classpath/gnu/java/awt/image/ImageConverter.java create mode 100644 libjava/classpath/gnu/java/awt/java2d/PixelCoverage.java create mode 100644 libjava/classpath/gnu/java/awt/java2d/ShapeWrapper.java create mode 100644 libjava/classpath/gnu/java/awt/java2d/TextCacheKey.java delete mode 100644 libjava/classpath/gnu/java/awt/peer/x/ImageConverter.java create mode 100644 libjava/classpath/gnu/java/awt/peer/x/XFontPeer.java delete mode 100644 libjava/classpath/gnu/java/awt/peer/x/XFontPeer2.java create mode 100644 libjava/classpath/gnu/java/nio/charset/ByteDecodeLoopHelper.java create mode 100644 libjava/classpath/gnu/java/nio/charset/ByteEncodeLoopHelper.java create mode 100644 libjava/classpath/gnu/java/util/LRUCache.java create mode 100644 libjava/classpath/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java create mode 100644 libjava/classpath/include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h create mode 100644 libjava/classpath/include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h create mode 100644 libjava/classpath/include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h create mode 100644 libjava/classpath/javax/management/package.html create mode 100644 libjava/classpath/javax/management/remote/NotificationResult.java create mode 100644 libjava/classpath/javax/management/remote/TargetedNotification.java create mode 100644 libjava/classpath/javax/management/remote/package.html create mode 100644 libjava/classpath/javax/management/remote/rmi/RMIConnection.java create mode 100644 libjava/classpath/javax/management/remote/rmi/RMIServer.java create mode 100644 libjava/classpath/javax/tools/Diagnostic.java create mode 100644 libjava/classpath/javax/tools/DiagnosticListener.java create mode 100644 libjava/classpath/javax/tools/FileObject.java create mode 100644 libjava/classpath/lib/gnu/classpath/toolkit/DefaultDaemonThreadFactory.class create mode 100644 libjava/classpath/lib/gnu/java/awt/font/OpenTypeFontPeer$XFontMetrics.class create mode 100644 libjava/classpath/lib/gnu/java/awt/font/OpenTypeFontPeer$XLineMetrics.class create mode 100644 libjava/classpath/lib/gnu/java/awt/font/OpenTypeFontPeer.class create mode 100644 libjava/classpath/lib/gnu/java/awt/image/AsyncImage$AsyncImageSource.class create mode 100644 libjava/classpath/lib/gnu/java/awt/image/AsyncImage.class create mode 100644 libjava/classpath/lib/gnu/java/awt/image/ImageConverter.class create mode 100644 libjava/classpath/lib/gnu/java/awt/java2d/PixelCoverage$Bucket.class create mode 100644 libjava/classpath/lib/gnu/java/awt/java2d/PixelCoverage.class create mode 100644 libjava/classpath/lib/gnu/java/awt/java2d/ShapeWrapper.class create mode 100644 libjava/classpath/lib/gnu/java/awt/java2d/TextCacheKey.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/ByteCharset$1.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/ByteCharset$2.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/ByteDecodeLoopHelper.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/ByteEncodeLoopHelper.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/ISO_8859_1$1.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/ISO_8859_1$2.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/US_ASCII$1.class create mode 100644 libjava/classpath/lib/gnu/java/nio/charset/US_ASCII$2.class create mode 100644 libjava/classpath/lib/gnu/java/util/LRUCache.class create mode 100644 libjava/classpath/lib/gnu/java/util/regex/RETokenNamedProperty$JavaCategoryHandler.class create mode 100644 libjava/classpath/lib/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.class delete mode 100644 libjava/classpath/lib/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine$State.class create mode 100644 libjava/classpath/lib/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$CleanPipeline.class create mode 100644 libjava/classpath/lib/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$State.class create mode 100644 libjava/classpath/lib/java/util/concurrent/CopyOnWriteArrayList$1.class create mode 100644 libjava/classpath/lib/java/util/concurrent/CopyOnWriteArrayList$2.class create mode 100644 libjava/classpath/lib/java/util/concurrent/CopyOnWriteArrayList$3.class create mode 100644 libjava/classpath/lib/java/util/concurrent/CopyOnWriteArrayList$RandomAccessSubList.class create mode 100644 libjava/classpath/lib/java/util/concurrent/CopyOnWriteArrayList$SubList.class create mode 100644 libjava/classpath/lib/javax/management/remote/NotificationResult.class create mode 100644 libjava/classpath/lib/javax/management/remote/TargetedNotification.class create mode 100644 libjava/classpath/lib/javax/management/remote/rmi/RMIConnection.class create mode 100644 libjava/classpath/lib/javax/management/remote/rmi/RMIServer.class create mode 100644 libjava/classpath/lib/javax/tools/Diagnostic$Kind.class create mode 100644 libjava/classpath/lib/javax/tools/Diagnostic.class create mode 100644 libjava/classpath/lib/javax/tools/DiagnosticListener.class create mode 100644 libjava/classpath/lib/javax/tools/FileObject.class create mode 100644 libjava/classpath/m4/ac_prog_javac.m4 create mode 100644 libjava/classpath/m4/ac_prog_javac_works.m4 delete mode 100644 libjava/classpath/native/jni/gstreamer-peer/GStreamerIOPeer.c create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_classpath_src.c create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_classpath_src.h create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_input_stream.c create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_input_stream.h create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_native_data_line.c create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_native_pipeline.c create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_native_pipeline.h create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_peer.c create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gst_peer.h delete mode 100644 libjava/classpath/native/jni/gstreamer-peer/gstclasspathsrc.c delete mode 100644 libjava/classpath/native/jni/gstreamer-peer/gstclasspathsrc.h delete mode 100644 libjava/classpath/native/jni/gstreamer-peer/gstinputstream.c delete mode 100644 libjava/classpath/native/jni/gstreamer-peer/gstinputstream.h create mode 100644 libjava/classpath/native/jni/gstreamer-peer/gstreamer_io_peer.c delete mode 100644 libjava/classpath/resource/com/sun/tools/javac/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/appletviewer/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/common/Messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/getopt/Messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/jar/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/jarsigner/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/keytool/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/native2ascii/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/orbd/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/rmic/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/rmid/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/rmiregistry/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/serialver/messages.properties delete mode 100644 libjava/classpath/resource/gnu/classpath/tools/tnameserv/messages.properties create mode 100644 libjava/classpath/resource/gnu/java/awt/font/fonts.properties create mode 100644 libjava/classpath/resource/gnu/java/awt/peer/x/xfonts.properties delete mode 100644 libjava/classpath/resource/sun/rmi/rmic/messages.properties delete mode 100755 libjava/classpath/scripts/check_jni_methods.sh create mode 100644 libjava/classpath/scripts/check_jni_methods.sh.in create mode 100644 libjava/classpath/tools/classes/gnu/classpath/tools/common/ClasspathToolParser$2.class create mode 100644 libjava/classpath/tools/classes/gnu/classpath/tools/common/ClasspathToolParser$AtFileArgumentCallback.class create mode 100644 libjava/classpath/tools/external/asm/org/objectweb/asm/optimizer/shrink.properties delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/ImplTie.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/Stub.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/StubMethod.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/Stub_12.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/Tie.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/TieMethod.jav delete mode 100644 libjava/classpath/tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav create mode 100644 libjava/classpath/tools/resource/com/sun/tools/javac/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/appletviewer/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/common/Messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/getopt/Messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/jar/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/jarsigner/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/keytool/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/native2ascii/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/orbd/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmid/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/rmiregistry/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/serialver/messages.properties create mode 100644 libjava/classpath/tools/resource/gnu/classpath/tools/tnameserv/messages.properties create mode 100644 libjava/classpath/tools/resource/sun/rmi/rmic/messages.properties create mode 100644 libjava/gnu/classpath/toolkit/DefaultDaemonThreadFactory.h create mode 100644 libjava/gnu/java/awt/font/OpenTypeFontPeer$XFontMetrics.h create mode 100644 libjava/gnu/java/awt/font/OpenTypeFontPeer$XLineMetrics.h create mode 100644 libjava/gnu/java/awt/font/OpenTypeFontPeer.h create mode 100644 libjava/gnu/java/awt/image/AsyncImage$AsyncImageSource.h create mode 100644 libjava/gnu/java/awt/image/AsyncImage.h create mode 100644 libjava/gnu/java/awt/image/ImageConverter.h create mode 100644 libjava/gnu/java/awt/java2d/PixelCoverage$Bucket.h create mode 100644 libjava/gnu/java/awt/java2d/PixelCoverage.h create mode 100644 libjava/gnu/java/awt/java2d/ShapeWrapper.h create mode 100644 libjava/gnu/java/awt/java2d/TextCacheKey.h create mode 100644 libjava/gnu/java/nio/charset/ByteCharset$1.h create mode 100644 libjava/gnu/java/nio/charset/ByteCharset$2.h create mode 100644 libjava/gnu/java/nio/charset/ByteDecodeLoopHelper.h create mode 100644 libjava/gnu/java/nio/charset/ByteEncodeLoopHelper.h create mode 100644 libjava/gnu/java/nio/charset/ISO_8859_1$1.h create mode 100644 libjava/gnu/java/nio/charset/ISO_8859_1$2.h create mode 100644 libjava/gnu/java/nio/charset/US_ASCII$1.h create mode 100644 libjava/gnu/java/nio/charset/US_ASCII$2.h create mode 100644 libjava/gnu/java/util/LRUCache.h create mode 100644 libjava/gnu/java/util/regex/RETokenNamedProperty$JavaCategoryHandler.h create mode 100644 libjava/gnu/javax/sound/sampled/gstreamer/io/GstInputStream.h delete mode 100644 libjava/gnu/javax/sound/sampled/gstreamer/lines/GstDataLine$State.h create mode 100644 libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$CleanPipeline.h create mode 100644 libjava/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline$State.h create mode 100644 libjava/java/util/concurrent/CopyOnWriteArrayList$1.h create mode 100644 libjava/java/util/concurrent/CopyOnWriteArrayList$2.h create mode 100644 libjava/java/util/concurrent/CopyOnWriteArrayList$3.h create mode 100644 libjava/java/util/concurrent/CopyOnWriteArrayList$RandomAccessSubList.h create mode 100644 libjava/java/util/concurrent/CopyOnWriteArrayList$SubList.h create mode 100644 libjava/javax/management/remote/NotificationResult.h create mode 100644 libjava/javax/management/remote/TargetedNotification.h create mode 100644 libjava/javax/management/remote/rmi/RMIConnection.h create mode 100644 libjava/javax/management/remote/rmi/RMIServer.h create mode 100644 libjava/javax/tools/Diagnostic$Kind.h create mode 100644 libjava/javax/tools/Diagnostic.h create mode 100644 libjava/javax/tools/DiagnosticListener.h create mode 100644 libjava/javax/tools/FileObject.h diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9f09b86..d10991d 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,18 @@ +2008-06-28 Matthias Klose + + Import GNU Classpath (classpath-0_97_2-release). + + * Regenerate class and header files. + * Regenerate auto* files. + * gcj/javaprims.h: Define jobjectRefType. + * jni.cc (_Jv_JNI_GetObjectRefType): New (stub only). + (_Jv_JNIFunctions): Initialize GetObjectRefType. + * gnu/classpath/jdwp/VMVirtualMachine.java, + java/security/VMSecureRandom.java: Merge from classpath. + * HACKING: Fix typo. + * ChangeLog-2007: New file. + * configure.ac: Set JAVAC, pass --disable-regen-headers to classpath. + 2008-06-17 Ralf Wildenhues * configure: Regenerate. @@ -631,2662 +646,3 @@ PR libgcj/34444 * java/lang/natClass.cc (Class::getEnclosingClass): Call getDeclaringClass(). - -2007-12-22 David Daney - - * scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS) - instead of -findirect-dispatch -fno-indirect-classes. - * configure.ac (libgcj-bc): New AC_ARG_ENABLE. - (SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL. - * Makefile.am (LIBGCJ_BC_FLAGS): New variable. - * Makefile.in: Regenerate. - * include/Makefile.in: Same. - * testsuite/Makefile.in: Same. - * configure: Same. - * gcj/Makefile.in: Same. - * sources.am: Same. - -2007-12-17 Jakub Jelinek - - * testsuite/Makefile.am (compile-tests): Build - libjava.jvmti/interp/*.h with -jni rather than -cni. - * testsuite/Makefile.in: Rebuilt. - -2007-12-08 Andreas Tobler - - * configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9. - * configure.ac: Add darwin-signal.h to x86_64-*-darwin9 and - i?86-*darwin9. - * configure.in: Regenerate. - * darwin.cc: Add definitions for Darwin specific functions for 64-bit. - (darwin_java_register_dyld_add_image_hook): Use this specific - functions. - * Makefile.am (gij_LDFLAGS): Add extra_gij_ldflags for Darwin9. - * Makefile.in: Regenerate. - * include/Makefile.in: Likewise. - * gcj/Makefile.in: Likewise. - * testsuite/Makefile.in: Likewise. - * testsuite/lib/libjava.exp (libjava_arguments): Add allow_stack_execute - for *-*-darwin9*. - -2007-12-06 David Daney - - * interpret.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE throughout. - (ncode_closure, ffi_closure_fun): Define versions for - non-FFI_NATIVE_RAW_API case. - * include/java-interp.h (INTERP_FFI_RAW_TYPE): Define and use to - replace ffi_raw throughout. - * jni.cc, interpret-run.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE - throughout. - -2007-12-06 Andreas Tobler - - * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Make - the testsuite multilib aware for Darwin. - -2007-12-05 Thomas Fitzsimmons - - * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate. - * gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise. - * java/awt/Component.h: Likewise. - * java/awt/Container.h: Likewise. - -2007-11-05 H.J. Lu - - * configure.ac: Don't run config-ml.in directly. - (multilib_arg): New. - * configure: Regenerated. - -2007-10-22 David Daney - - * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function. - * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it. - -2007-10-18 David Daney - - * classpath/lib/gnu/java/locale/LocaleData.class: Regenerate - * classpath/lib/gnu/javax/sound/sampled/gstreamer: Add generated - files. - * gnu/javax/sound/sampled/gstreamer: Add generated files. - -2007-10-15 Maciej W. Rozycki - - * configure: Regenerate following changes to ../config/tls.m4. - -2007-09-17 Tom Tromey - - * defineclass.cc (MAJOR_1_6): New define. - (MINOR_1_6): Likewise. - (_Jv_ClassReader::parse): Handle 1.6 bytecode. - -2007-09-12 David Daney - - * configure.host: Enable interpreter for mips64. Enable hash - synchronization for all mips*-*-linux* targets. - * sysdep/mips/locks.h (compare_and_swap, compare_and_swap_release) Use - __sync_bool_compare_and_swap instead of in-line asm. - (release_set, read_barrier, write_barrier): Use __sync_synchronize - instead of in-line asm. - -2007-09-09 Andreas Tobler - - PR libgcj/33326 - * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec - only for linux targets. - -2007-09-09 Andrew Haley - - * interpret-run.cc (invokevirtual_resolved): Nullcheck object on - TOS. - -2007-09-06 Tom Tromey - - * testsuite/libjava.lang/StackTrace2.jar: Rebuilt. - * testsuite/libjava.lang/StackTrace2.java (checkLine): Print file - name. - -2007-09-06 Roman Zippel - - * sysdep/m68k/locks.h: New file. - * configure.host: Set sysdeps_dir and libgcj_interpreter for m68k. - * configure.ac: Set SIGNAL_HANDLER for m68*-*-linux*. - * configure: Regenerate. - -2007-09-05 Samuel Thibault - - * configure.host(gnu*): Set use_libgcj_bc to yes. - -2007-09-04 Matthias Klose - - * configure.ac: Do not pass --with-native-libdir to classpath. - * configure: Regenerate. - -2007-09-04 Matthias Klose - - PR libgcj/33278 - * configure.ac: Robustify extraction of gcj version. - * configure: Regenerate. - -2007-09-04 Andrew Haley - - PR java/27908 - * testsuite/libjava.lang/PR27908.java - ({run1,run2,run3}.isRunning): New Method. - (main): Fix race condition. - -2007-08-29 Andrew Haley - - * gnu/classpath/natVMStackWalker.cc (VMStackWalker::getCallingClass): - Make sure we're not sibcalled. - (GET_CALLING_CLASS): Define for ARM EABI. - -2007-08-22 Andrew Haley - - * configure.host (BACKTRACESPEC): Add arm*-linux*. - -2007-08-22 Andrew Haley - - * configure.ac (LIBSTDCXXSPEC): New. - * configure.host: Add arm*-linux* to pthread test. - * configure.ac (LIBGCJTESTSPEC): Add path to libstdc++ for ARM - EABI. - * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use - -fexceptions for ARM EABI. - * testsuite/lib/libjava.exp (libjava_arguments): Add libgcj-test.spec. - (libjava_invoke): Log the invocation. - -2007-08-15 Andrew Haley - - * configure.ac (extra_ldflags): Define. - * Makefile.am: Use extra_ldflags for all executables. - -2007-08-14 Andrew Haley - - * sysdep/arm/backtrace.h: Remove stubs for _Unwind_GetIPInfo, - _Unwind_GetRegionStart, and _Unwind_Backtrace. - -2007-07-27 Andrew Haley - - * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): Stub for - ARM EABI. - * exception.cc (get_exception_header_from_ue): New. - (get_ttype_entry): ARM EABI version. - (PERSONALITY_FUNCTION): Add ARM EABI code. - * sysdep/arm/backtrace.h: New file. - * stacktrace.cc (_URC_NORMAL_STOP): New. - * configure.ac (extra_ldflags_libjava): Add libsupc++.la for ARM - EABI. - * configure.host (BACKTRACESPEC): Add arm/backtrace.h. - -2007-08-31 Matthias Klose - - * classpath/lib/java/util/EnumSet*.class: Regenerate - -2007-08-30 Andreas Tobler - - * gij.cc (version): Update Copyright year. - -2007-08-16 Samuel Thibault - - * configure.host (gnu*): Set use_libgcj_bc to yes. - -2007-08-15 Tom Tromey - - * java/lang/Class.java (internalGetFields): Use LinkedHashSet. - * classpath/lib/java/lang/Class.class: Rebuilt. - -2007-08-15 Samuel Thibault - - * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove - 'si' and 'third' parameters. Disable calling - pmi->old_sigaction.sa_sigaction. - (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set - sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag. - -2007-08-09 Andrew Haley - - * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation. - -2007-08-08 Samuel Thibault - - * java/net/natVMInetAddressPosix.cc - (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]: - Allocate buffer dynamically. - -2007-08-04 Alfred M. Szmidt - - * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0. - * java/io/File.java (createTempFile): Don't truncate if the system - doesn't have a limit on the length of a file name. - * classpath/lib/java/io/File.class: Regenerate. - -2007-08-04 Matthias Klose - - Import GNU Classpath (libgcj-import-20070727). - - * Regenerate class and header files. - * Regenerate auto* files. - - * include/jvm.h: - * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type. - * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise. - * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA, - _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA, - _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA, - _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify - jvalue parameter. - * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. - - * java/lang/VMFloat.java (toString, parseFloat): New. - - * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported, - isModalExclusionTypeSupported): New (stub only). - * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise. - * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages, - updateFocusableWindowState, setModalBlocked, getBoundsPrivate, - setAlwaysOnTop): Likewise. - * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature. - - * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer, - ignore javax.sound.sampled.spi.MixerProvider, ignore .in files. - - * HACKING: Mention --enable-gstreamer-peer, removal of generated files. - -2007-07-31 David Daney - - * HACKING: Document regenerating configure and aclocal.m4. - -2007-07-31 David Daney - - * configure.ac (INTERPRETER): New AM_CONDITIONAL. - * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages - as being for interpreter only. Place interpreter related files in - 'if INTERPRETER' block. - (interpreter_package_files): New list. - (interpreter_header_vars): Ditto. - (emit_package_rule_to_list): Renamed from emit_package_rule with - new target list parameter. - (emit_package_rule): Rewritten to call emit_package_rule_to_list. - (emit_interpreter_rule): New function. - (emit_source_var): Place interpreter related files in - interpreter_header_vars. - * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl. - (libgcj_interpret_source_files): New variable. - (libgcj_la_SOURCES): Move jvmti.cc and interpret.cc to - libgcj_interpret_source_files and include - libgcj_interpret_source_files. - (nat_jdwp_source_files): New variable. - (nat_jvmti_source_files): Ditto. - (nat_source_files): Move jdwp and jvmti related files to - nat_jdwp_source_files and nat_jvmti_source_files and include - nat_jdwp_source_files and nat_jvmti_source_files. - * Makefile.in: Regenerate. - * include/Makefile.in: Ditto. - * testsuite/Makefile.in: Ditto. - * gcj/Makefile.in: Ditto. - * sources.am: Ditto. - * configure: Ditto. - * include/config.h.in: Ditto. - * interpret.cc: Remove #ifdef INTERPRETER block. - * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if - interpreter disabled. - * include/java-interp.h (_Jv_FrameType): Move outside of - #ifdef INTERPRETER block. - * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list, - _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in - #ifdef INTERPRETER block. - * jni.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is - defined. - (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing - if INTERPRETER is defined. - * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h): Only - include if INTERPRETER is defined. - (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func, - jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload, - jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is - defined. - (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined. - (parse_init_args): Only process jvmti related options if - INTERPRETER is defined. - (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is - defined. - (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is - defined. - * link.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is - defined. - (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method): - Define if if INTERPRETER is not defined. - (_Jv_Linker::wait_for_state): Only do jvmti proccessing if - INTERPRETER is defined. - * boehm.cc (closure_list_pointer, finalize_closure_list, - _Jv_ClosureListFinalizer): Only define if INTERPRETER is - defined. - * java/lang/natThread.cc (jvmti.h, jvmti-int.h): Only include if - INTERPRETER is defined. - (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if - INTERPRETER is defined. - * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration - and friend declaration inside #ifdef INTERPRETER block. - * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures, - _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile): - Only define if INTERPRETER is defined. - * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h): - Include. - (generateProxyClass): Throw UnsupportedOperationException unless - INTERPRETER is defined. - -2007-07-29 Matthias Klose - - * HACKING: Document regenerating configure. - -2007-07-29 H.J. Lu - - PR libgcj/32929 - * aclocal.m4: Regenerated. - * configure: Likewise. - -2007-07-28 Matthias Klose - - * configure.ac: Encode the libgcj soversion in dbexecdir, - pass --with-native-libdir to classpath configure. - * configure: Regenerate. - -2007-07-28 Matthias Klose - - * classpath/jvmti.h: Remove. - -2007-07-27 Tom Tromey - - * Rebuild .class files with new ecj. - -2007-07-23 Rainer Orth - - * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC. - * configure: Regenerate. - -2007-07-16 Rask Ingemann Lambertsen - - PR target/32340 - * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the - new sysdeps/arm directory. - -2007-07-15 Tom Tromey - - * java/io/File.java: Implement Comparable. - (compareTo): Removed. - * java/io/File.h: Rebuilt. - * classpath/lib/java/io/File.class: Rebuilt. - -2007-07-14 Tom Tromey - - * Rebuilt .class files. - -2007-07-15 Andrew Haley - - * configure.host: - arm*-linux-gnu -> arm*-linux*. - -2007-07-14 Krister Walfridsson - - * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R. - * configure.ac: Remove check for strerror, add check for strerror_r. - * configure: Regenerate. - * include/config.h.in: Regenerate. - -2007-07-13 Andrew Haley - - * libgcj.ver: Add __gcj_personality_sj0. - - * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise. - * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers. - * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers. - * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise. - - * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check - klass is non-null. - * java/lang/reflect/natField.cc (getAddr): Call - _Jv_StackTrace::GetCallingClass only if CALLER is non-null. - * java/lang/reflect/natVMProxy.cc (run_proxy): Use - _Jv_getFieldInternal to get field proxyClass.m. - (_Jv_getFieldInternal): New function. - -2007-07-11 Andrew Haley - - * configure.host (arm*-linux-gnu): New. - * sysdep/arm/locks.h: New. - -2007-07-13 Roger Sayle - - * java/lang/natPosixProcess.cc: Include before - to restore bootstrap on powerpc-apple-darwin7.9.0. - -2007-07-12 Matthias Klose - - * gnu/classpath/jdwp/util/MethodResult.h, - gnu/classpath/jdwp/value/ObjectValue.h: Regenerate. - -2007-07-11 Keith Seitz - - * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the - method is compiled. - * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise - for compiled methods. - -2007-07-10 Rainer Orth - - PR libgcj/32651 - * configure.host (mips-sgi-irix6*): Set sysdeps_dir. - Disable interpreter. - -2007-07-05 Andreas Tobler - - * java/lang/natPosixProcess.cc: Reorder includes to fix compilation - on hppa2.0w-hp-hpux11.11. - Remove include of . - -2007-07-05 H.J. Lu - - * aclocal.m4: Regenerated. - -2007-07-03 Andreas Tobler - - * java/lang/Class.h: Remove redundant 'class java::*::* declarations. - -2007-07-02 Rainer Orth - - PR libgcj/30513 - * configure.host (i[3-6]86-*): Undef sun. - -2007-06-28 H.J. Lu - - * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): - Fix a typo. - -2007-06-28 Jan Nijtmans - - PR libgcj/30999: - * jni_md.h: Add the possibility to compile jni code with. - -fvisibility=hidden. This causes all symbols to be hidden - except the JNI functions which need to be exported. - -2007-06-28 Andreas Tobler - - * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass - the cxxldlibflags to exec_gij to have the right libstdc++ invoked. - -2007-07-21 Keith Seitz - - * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate. - -2007-07-20 Keith Seitz - - * classpath/lib/gnu/classpath/jdwp/value/StringValue.class: - Regenerate. - -2007-07-20 Keith Seitz - - * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod): - Update from reference implementation. - * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod): - Update parameter list to match new VMVirtualMachine interface. - * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class: - Regenerate. - * classpath/lib/gnu/classpath/jdwp/processor/ - ObjectReferenceCommandSet.class: Regenerate. - * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate. - * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate. - * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate. - -2007-06-18 Keith Seitz - - * gnu/gcj/jvmti/Breakpoint.java: Make abstract. - (method): Change from private to protected. - (location): Likewise. - (Breakpoint): Change argument list to take only integer type. - Add default constructor. - (initialize_native): Renamed to ... - (_save_insn): ... this to make function more explicit. - (execute): New method. - * gnu/gcj/jvmti/Breakpoint.h: Regenerate. - * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to... - (_save_insn): ... this. - (install): Save the original instruction. - * gnu/gcj/jvmti/NormalBreakpoint.java: New file. - * gnu/gcj/jvmti/NormalBreakpoint.h: New file. - * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file. - * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): - Instantiate a NormalBreakpoint instead of Breakpoint. - * interpret-run.cc (insn_breakpoint): Remove breakpoint actions - and call Breakpoint.execute to do them. - * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate. - * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise. - * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file. - * sources.am: Regenerate. - * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc. - * Makefile.in: Regenerated. - -2007-06-14 Keith Seitz - - * include/java-interp.h (_Jv_LocalVarTableEntry): Add union - for bytecode_pc and direct-threaded pc. - Add field descriptions inline. - * defineclass.cc (read_one_code_attribute): Change from - bytecode_start_pc to bytecode_pc. - Remove unused variable "len". - * interpret.cc (compile): Remap the variable table, too. - (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the - start location to map from pc_t to code index. - -2007-06-09 Keith Seitz - - * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad): - Add missing return value. - -2007-06-03 Matthias Klose - - * java/io/natFileWin32.cc (setFilePermissions): New (stub only). - _access: Handle EXEC query, stub only. - -2007-06-03 Matthias Klose - - Merged from classpath: - * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. - * java/lang/System.java(inheritedChannel): New. - * java/lang/Character.java: Remove stray`;'. - * java/net/MulticastSocket.java: Merged. - * java/text/DateFormatSymbols.java(getInstance): New, comment updates. - * java/text/Collator.java(getInstance): Merged. - * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. - getDisplayName, getDisplayNames: New. - * java/util/logging/Logger.java: Merged. - * Regenerate .class and .h files. - -2007-06-03 Matthias Klose - - * java/io/File.java: Merge with classpath-0.95, new method - setFilePermissions, new attribute EXEC. - * java/io/natFilePosix.cc (setFilePermissions): New. - _access: Handle EXEC query. - * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. - -2007-06-03 Matthias Klose - - Imported GNU Classpath 0.95. - - * classpath/Makefile.in, - classpath/native/jni/midi-dssi/Makefile.in, - classpath/native/jni/classpath/Makefile.in, - classpath/native/jni/Makefile.in, - classpath/native/jni/gconf-peer/Makefile.in, - classpath/native/jni/java-io/Makefile.in, - classpath/native/jni/native-lib/Makefile.in, - classpath/native/jni/java-util/Makefile.in, - classpath/native/jni/midi-alsa/Makefile.in, - classpath/native/jni/java-lang/Makefile.in, - classpath/native/jni/java-nio/Makefile.in, - classpath/native/jni/java-net/Makefile.in, - classpath/native/jni/xmlj/Makefile.in, - classpath/native/jni/qt-peer/Makefile.in, - classpath/native/jni/gtk-peer/Makefile.in, - classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, - classpath/native/fdlibm/Makefile.in, - classpath/native/plugin/Makefile.in, - classpath/resource/Makefile.in, classpath/scripts/Makefile.in, - classpath/tools/Makefile.in, classpath/doc/Makefile.in, - classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, - classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, - classpath/external/sax/Makefile.in, - classpath/external/w3c_dom/Makefile.in, - classpath/external/relaxngDatatype/Makefile.in, - classpath/include/Makefile.in, - classpath/examples/Makefile.in: Regenerate. - * classpath/config.guess, classpath/config.sub, - classpath/ltmain.sh : Update. - * classpath/configure, classpath/depcomp, classpath/missing, - classpath/aclocal.m4, classpath/install-sh: Regenerate. - - * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. - * sources.am: Regenerate. - * Makefile.in: Regenerate. - - * Update the .class files and generated CNI header files, add new - .class and generated CNI header files. - * Remove generated files for removed java source files: - classpath/gnu/java/net/BASE64.java, - classpath/gnu/java/security/util/Base64.java, - classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, - classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, - classpath/gnu/java/awt/font/autofit/Scaler.java, - classpath/gnu/classpath/jdwp/util/Value.java, - classpath/gnu/javax/net/ssl/Base64.java. - * Remove empty directories. - - * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. - * java/lang/Class.java(setAccessible): Merge from classpath. - * java/util/Locale.java: Remove. - * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, - gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. - * gcj/javaprims.h: Update class declarations. - * scripts/classes.pl: Update usage. - * HACKING: Mention to build all peers. - -2007-06-02 Paolo Bonzini - - * configure: Regenerate. - -2007-05-31 Andrew Haley - - * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear - INTERPRETED access modifier. - -2007-05-31 Paolo Bonzini - - PR libjava/32098 - * configure: Regenerated. - * aclocal.m4: Regenerated. - -2007-05-30 H.J. Lu - - PR libjava/32098 - * configure: Regenerated. - -2007-05-29 H.J. Lu - - * configure.ac: Don't include ../config/confsubdir.m4. - * aclocal.m4: Regenerated. - * configure: Likewise. - -2007-05-27 Paolo Bonzini - - PR bootstrap/32078 - * configure.ac: Include confsubdir.m4. - * configure: Regenerate. - -2007-05-24 Keith Seitz - - * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct - one when pc_ptr is non-NULL. - - * prims.cc (parse_init_args): Enable JVMTI with agentlib - and agentpath options. - - * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags - parameter. - * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): - Pass '-agentlib:dummyagent' when executing gij. - (gij_jvmti_run): Build dummy JVMTI agent before running tests, - and remove it when finished. - * testsuite/libjava.jvmti/dummyagent.c: New file. - -2007-05-23 Steve Ellcey - - * Makefile.in: Regenerate. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * gcj/Makefile.in: Regenerate. - * include/Makefile.in: Regenerate. - * testsuite/Makefile.in: Regenerate. - -2007-05-17 Kyle Galloway - - * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java - (executeMethods): Remove cast to ClassReferenceTypeId. - * classpath/lib/gnu/classpath/jdwp/processor/ - ReferenceTypeCommandSet.class: Rebuilt. - -2007-05-17 Kyle Galloway - - * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native - classes and mark methods as native appropriately. - -2007-05-17 Kyle Galloway - - * gnu/classpath/jdwp/VMFrame.java (): Add parameter for "this" - pointer. - * gnu/classpath/jdwp/VMFrame.h: Regenerated. - * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. - * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new - VMFrame constructor. - -2007-05-16 David Daney - - * include/java-stack.h (_Jv_FrameInfo): Remove union definition. - (_Jv_StackFrame): Remove commented out code. - (_Jv_UnwindState): Remove superfluous 'typedef'. - * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet - compiler warnings. - * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc - (getCollectionUsage): Don't declare unused parameter n. - (getMemoryManagerNames): Same. - * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous - 'typedef'. - -2007-05-16 Keith Seitz - - * include/java-interp.h (breakpoint_at): Declare. - * interpret.cc (breakpoint_at): New function. - * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list): - New member. - * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): - Initialize _event_list. - (handle_single_step): If there is a breakpoint at the - location at which we are stopping, do not send the notification. - Instead add the event to a list of events that occur at this - location. - (jdwpBreakpointCB): If the event list is not empty, send - whatever events are in it and the breakpoint event in a single - notification. - Mark parameter jni_env as MAYBE_UNUSED. - * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: - Regenerated. - * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. - -2007-05-15 David Daney - - * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate - * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same. - -2007-05-15 Keith Seitz - - * interpret.cc (STOREA): Rewrite using temporary variable to - avoid double-macro expansion side-effects. - (STOREI): Likewise. - (STOREF): Likewise. - (STOREL)[SIZEOF_VOID_P == 8]: Likewise. - (STORED)[SIZEOF_VOID_P == 8]: Likewise. - (STOREL)[SIZEOF_VOID_P != 8]: Likewise. - (STORED)[SIZEOF_VOID_P != 8]: Likewise. - (POKEI): Likewise. - -2007-05-12 David Daney - - PR libgcj/29324 - * include/posix-threads.h (_Jv_BlockSigchld): Declare. - (_Jv_UnBlockSigchld): Same. - * posix-threads.cc: Include posix-threads.h. - (block_sigchld) Rename to... - (_Jv_BlockSigchld) ... this. - (_Jv_UnBlockSigchld): New function. - (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld. - (_Jv_ThreadStart): Same. - * java/lang/PosixProcess$ProcessManager.h: Regenerate. - * java/lang/PosixProcess.java: Clean up imports. - (ProcessManager): Make final. - (ProcessManager.queue): Genericise and make private. - (ProcessManager.pidToProcess): Remove. - (ProcessManager.liveProcesses): New field. - (ProcessManager.reaperPID): Remove. - (ProcessManager.nativeData): New field. - (ProcessManager.removeProcessFromMap): Remove. - (ProcessManager.addProcessToMap):Remove. - (ProcessManager.addToLiveProcesses): New method. - (ProcessManager.run): Rewritten. - (ProcessManager.reap): Change method signature, - (getErrorStream): Correct formatting. - (getInputStream): Same. - (spawn): Add process to liveProcesses list. - (pid): Make package private. - * java/lang/PosixProcess.h: Regenerate. - * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h. - Add useing namespace java::lang. - (ProcessManagerInternal): New struct. - (sigchld_handler): Rewritten. - (init): Rewritten. - (waitForSignal): Same. - (reap): Same. - (signalReaper): Same. - (nativeDestroy): Call kill as ::kill. - (nativeSpawn): Correct formatting. - * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate. - * classpath/lib/java/lang/PosixProcess.class: Same. - * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. - -2007-05-07 Ian Lance Taylor - - PR java/31842 - * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed - overflow. - -2007-05-07 Keith Seitz - - * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate. - * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate. - * classpath/lib/gnu/classpath/jdwp/event/Event.class: - Regenerate. - * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class: - Regenerate. - * gnu/classpath/jdwp/Jdwp.h: Regenerate. - * gnu/classpath/jdwp/event/Event.h: Regenerate. - * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate. - -2007-05-04 Kyle Galloway - - * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change - to use JVMTI. - -2007-05-03 Keith Seitz - - * interpret.cc: Don't include ExceptionEvent.h. - * gnu/gcj/jvmti/natExceptionEvent.cc: Remove. - * Makefile.am (nat_source_files): Remove natExceptionEvent.cc. - * Makefile.in: Regenerated. - -2007-05-03 Keith Seitz - - * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): - Declare. - * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function. - (find_catch_location): New function. - (REPORT_EXCEPTION): New macro. - (throw_internal_error): Use REPORT_EXCEPTION. - (throw_incompatible_class_change_error): Likewise. - (throw_null_pointer_exception): Likewise. - (throw_class_format_error): Likewise. - * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set - to REPORT_EXCEPTION. - (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop. - (insn_new): Use INTERP_REPORT_EXCEPTION. - (insn_athrow): Likewise. - Remove previous JVMTI exception notifications. - Add JVMTI ExceptionCatch notificatin. - * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of - exception throw. - * gnu/gcj/jvmti/ExceptionEvent.java: Removed. - * gnu/gcj/jvmti/ExceptionEvent.h: Removed. - * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed. - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (jdwpExceptionCB): New function. - (jdwpVMInitCB): Set Exception event handler and enable. - * sources.am: Regenerated. - * Makefile.in: Regenerated. - -2007-05-03 Thomas Fitzsimmons - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304 - * Makefile.in: Regenerate. - * scripts/makemake.tcl (scan_directory): Treat default.css as a - property file. - * classpath/javax/swing/text/html/default.css: Move to... - * classpath/resource/javax/swing/text/html/default.css: New file. - * classpath/javax/swing/text/html/HTMLEditorKit.java - (getStyleSheet): Throw RuntimeException when style loading fails. - * sources.am (property_files): Add - classpath/resource/javax/swing/text/html/default.css. - -2007-05-02 Tom Tromey - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755 - * java/lang/natCharacter.cc (Character::getType): Handle negative - code points. - (Character::toLowerCase): Likewise. - (Character::toUpperCase): Likewise. - (Character::digit): Likewise. - (Character::getNumericValue): Likewise. - (Character::getDirectionality): Likewise. - (Character::toTitleCase): Likewise. - -2007-04-30 Keith Seitz - - * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before - executing the instruction. - * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract - one insn from the frame's PC. _Jv_InterpMethod::run et al - will advance the PC before executing the instruction. - -2007-04-27 Keith Seitz - - * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated. - * classpath/lib/gnu/classpath/jdwp/event/EventManager.class: - Regenerated. - * gnu/classpath/jdwp/event/EventManager.h: Regenerated. - -2007-04-27 Keith Seitz - - * classpath/lib/gnu/classpath/jdwp/event/filters/ - LocationOnlyFilter.class: Regenerated; - * classpath/lib/gnu/classpath/jdwp/util/Location.class: - Regenerated. - * gnu/classpath/jdwp/VMMethod.java - * classpath/lib/gnu/classpath/jdwp/VMMethod.class: - Regenerated. - * gnu/classpath/jdwp/VMMethod.h: Regenerated. - * gnu/classpath/jdwp/util/Location.h: Regenerated. - -2007-04-27 Thomas Fitzsimmons - - * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate. - * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate. - -2007-04-25 Kyle Galloway - - * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null - objects. - (get): Deal with ObjectId of 0. - -2007-04-24 John David Anglin - - PR libgcj/31084 - * java/lang/natVMProcess.cc: Include platform.h before jvm.h. - -2007-04-24 Kyle Galloway - - * gnu/classpath/jdwp/natVMVirtualMachine.java - (getThreadStatus): Implement. - -2007-04-24 Keith Seitz - - * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]: - Add _Jv_RewriteBreakpointInsn friend declaration. - * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn) - [DIRECT_THREADED]: New function. - * gnu/gcj/jvmti/Breakpoint.h: Regenerate. - * interpret-run.cc: Define new REWRITE_INSN macro. - Changed all occurrences of insn rewriting to call REWRITE_INSN. - -2007-04-23 Keith Seitz - - * include/no-gc.h (_Jv_IsThreadSuspended): Declare. - * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise. - * boehm.cc (_Jv_IsThreadSuspended): New function. - * nogc.cc (_Jv_IsThreadSuspended): Likewise. - * jvmti.cc (_Jv_JVMTI_GetThreadState): New function. - (_Jv_JVMTI_Interface): Define GetThreadState. - -2007-04-23 Kyle Galloway - - * include/java-interp.h (_Jv_InterpFrame): Add pointer to the - interpreter PC. - (): Add a pointer to the interpreter PC as a parameter with - default value NULL. - (get_pc): New method. - * interpret-run.cc: If debugging, pass a pointer to the PC when - creating the stack frame. - * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc - to get the PC. - -2007-04-23 Kyle Galloway - - * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check - for null source file and throw an exception indicating this. - -2007-04-20 Keith Seitz - - * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): - Install the new breakpoint into the bytecode. - (deleteBreakpoint): Remove the breakpoint from the bytecode. - * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: - Regenerate. - * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): - Don't install the breakpoint here. - -2007-04-19 Keith Seitz - - * interpret-run.cc [insn_breakpoint]: Save the original - insn for the breakpoint before posting the JVMTI notification. - -2007-04-19 Tom Tromey - - * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt. - -2007-04-18 Tom Tromey - - * Regenerated headers with new gjavah. - -2007-04-18 Andrew Haley - - * java/lang/reflect/natVMProxy.cc (ncode_closure): Add - method_index. - (generateProxyClass): Add field $Proxy0.m. Store methods array in - it. - (run_proxy): Retrieve the method to invoke from in $Proxy0.m. - * java/lang/Class.h: Remove _Jv_LookupProxyMethod. - * java/lang/natClass.cc: Likewise. - * headers.txt: Likewise. - * java/lang/reflect/Method.h: Likewise. - -2007-04-16 Andrew Haley - - * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New - method. - (bootGetResource): Use getBootURLLoader() to load resources. - (bootGetResources): Likewise. - - * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also - check that the method's declaring class is accessible. - -2007-04-10 Keith Seitz - - * sources.am: Regenerate. - * Makefile.in: Likewise. - -2007-04-09 Kyle Galloway - - * interpret-run.cc: If debugging, check if args is NULL before - getting the "this" pointer. - -2007-04-09 Kyle Galloway - - * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file. - * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file. - * gnu/classpath/jdwp/ArrayValue.h: New file. - * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case. - (setValue): Ditto. - -2007-04-09 David Daney - - PR libgcj/23758 - * java/lang/natPosixProcess.cc (nativeSpawn): Move building of - environment before the fork. - * testsuite/libjava.lang/Process_7.java: New test. - * testsuite/libjava.lang/Process_7.out: Its expected results. - * testsuite/libjava.lang/Process_7.jar: Generated file. - -2007-04-09 H.J. Lu - - * prims.cc (load_jvmti_agent): Add the missing `,'. - -2007-04-09 Kyle Galloway - - * gij.cc (main): Accept -agentlib and -agentpath options. - * prims.cc (parse_init_args): Deal with -agentlib and -agentpath. - (load_jvmti_agent): New function. - -2007-04-04 Tania Bento - - * java/text/DecimalFormatSymbols.java: Added the year 2007 to - Copyright information and introduced new variable, currency. - (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol - to "XXX", currencySymbol to "?" and localCurrency appropriately. - (getCurrency): Fixed documentation and return the value of currency. - (setCurrency): Fixed documentation and update the value of currency. - (setInternationalCurrencySymbol): Fixed documentation and update the - value of currency. - * java/util/Currency.java: Introduced two new variables, properties - and fractionDigits. In the static block, a properties object is - created and the currency resource is loaded. - (Currency(Locale)): fractionDigits is defined. - (Currency(String)): New method. - (getDefaultFractionDigits): Return the value of fractionDigits. - (getInstance(String)): Check if String is equal to "XXX". - -2007-04-04 Kyle Galloway - - * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs - to ints for argCnt and slots. - (write): Replace writeLong with writeInt for the above. - -2007-04-03 Andrew Haley - - * testsuite/libjava.lang/ProxyTest.java: New test. - -2007-04-02 Tom Tromey - - http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157 - * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend - file, when writing, if it is too short. - -2007-04-02 Tom Tromey - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406 - * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if - already created. - * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case - where localport is -1. - (create): Now public. - * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call - 'create' on the socket. - -2007-04-02 Andrew Haley - - * java/lang/reflect/natVMProxy.cc (run_proxy): Use - _Jv_LookupProxyMethod to find the Method. - If parameter_types->length == 0, pass a null paramameter list, - not a zero-length parameter list. - * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function. - * java/lang/Class.h (_Jv_LookupProxyMethod): Declare. - -2007-04-02 Kyle Galloway - - * interpret-run.cc: Add code to properly set up variable slots - when debugging. - * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function. - (getObjectJVMTI): New function. - (setObjectJVMTI): New function. - (getIntJVMTI): New function. - (setIntJVMTI): New function. - (getLongJVMTI): New function. - (setLongJVMTI): New function. - (getFloatJVMTI): New function. - (setFloatJVMTI): New function. - (getDoubleJVMTI): New function. - (setDoubleJVMTI): New function. - (getFrameDepth): New function. - (getValue): Implement. - (setValue): Implement. - -2007-04-02 Kyle Galloway - - * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java - (executeResume): Call VMVirtualMachine.resumeThread. - -2007-03-29 Tom Tromey - - PR libgcj/29869: - * java/util/logging/LogManager.java (readConfiguration): Handle - comma-separated 'handlers'. Don't try to add a non-existing - handler. - -2007-03-27 Tom Tromey - - * sources.am, Makefile.in: Rebuilt. - * scripts/mime.types: Removed. - * scripts/MakeDefaultMimeTypes.java: Removed. - * gnu/gcj/io/MimeTypes.java: Removed. - * gnu/gcj/io/MimeTypes.h: Removed. - * gnu/gcj/io/DefaultMimeTypes.java: Removed. - * gnu/gcj/io/DefaultMimeTypes.h: Removed. - -2007-03-27 Keith Seitz - - * gnu/classpath/jdwp/VMFrame.java: Update from upstream - classpath. - * gnu/classpath/jdwp/natVMFrame.cc: Likewise. - * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise. - * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise. - (initialize): Fix compiler type-punning warning. - (getAllLoadedClasses): Return empty list instead of NULL. - (getLoadRequests): Likewise. - * gnu/classpath/jdwp/exception/InvalidTagException.h: New file. - * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file. - * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file. - * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt. - * gnu/classpath/jdwp/value/CharValue.h: New file. - * gnu/classpath/jdwp/value/LongValue.h: New file. - * gnu/classpath/jdwp/value/ShortValue.h: New file. - * gnu/classpath/jdwp/value/Value.h: New file. - * gnu/classpath/jdwp/value/BooleanValue.h: New file. - * gnu/classpath/jdwp/value/VoidValue.h: New file. - * gnu/classpath/jdwp/value/ByteValue.h: New file. - * gnu/classpath/jdwp/value/FloatValue.h: New file. - * gnu/classpath/jdwp/value/ObjectValue.h: New file. - * gnu/classpath/jdwp/value/StringValue.h: New file. - * gnu/classpath/jdwp/value/ValueFactory.h: New file. - * gnu/classpath/jdwp/value/IntValue.h: New file. - * gnu/classpath/jdwp/value/DoubleValue.h: New file. - * gnu/classpath/jdwp/VMFrame.h: Rebuilt. - * gnu/classpath/jdwp/id/NullObjectId.h: New file. - * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt. - * gnu/classpath/jdwp/util/NullObject.h: New file. - * gnu/classpath/jdwp/util/MonitorInfo.h: New file. - * Makefile.in: Rebuilt. - * sources.am: Rebuilt. - -2006-03-26 David Daney - - * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r, - fork, execvp, execinfo.h, pthread_mutexattr_settype, - pthread_mutexattr_setkind_np and sys/wait.h. - * Makefile.in: Regenerate. - * include/Makefile.in: Regenerate. - * include/config.h.in: Regenerate. - * testsuite/Makefile.in: Regenerate. - * configure: Regenerate. - * gcj/Makefile.in: Regenerate. - -2007-03-23 Gary Benson - - * link.cc (_Jv_Linker::resolve_method_entry): - Ensure that the argument types and the return type of the - found method match those expected by the calling method. - -2007-03-22 David Daney - - PR libgcj/31228 - * configure.ac: Add checks for getrlimit and sys/resource.h. - * include/posix.h (_Jv_platform_close_on_exec): Remove. - * include/config.h.in: Regenerate. - * configure: Regenerate. - * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to - _Jv_platform_close_on_exec; - * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise. - (accept): Likewise. - * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise. - * java/lang/natPosixProcess.cc: Include sys/resource.h. - (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on - pipes. - -2007-03-20 Andrew Haley - - * testsuite/libjava.lang/PR31264.java: New test. - -2007-03-14 Jakub Jelinek - - * Makefile.am (AM_MAKEFLAGS): Pass through mandir. - * Makefile.in: Rebuilt. - -2007-03-13 Keith Seitz - - * include/java-interp.h (_Jv_InterpClass): Declare - friend function _Jv_GetInterpClassSourceFile. - * java/lang/Class.h (Class): Likewise. - * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile): - New function. - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (getSourceFile): Implement. - -2007-03-13 Thomas Fitzsimmons - - * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE. - * classpath/configure.ac: Add --with-ecj-jar configure option. - * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New - field. - * classpath/INSTALL: Document --with-ecj-jar configure option and - ecj jar requirement for com.sun.tools.javac support. - * classpath/tools/Makefile.am: Build decendents of com and sun - directories. - * configure.ac: Substitute ECJ_JAR in stub Configuration.java. - * gnu/classpath/Configuration.java, - gnu/classpath/natConfiguration.cc (ecj): New method. - (ECJ_JAR): New field. - * scripts/makemake.tcl (scan_packages): Add com directory. - * sources.am (property_files): Add - classpath/resource/sun/rmi/rmic/messages.properties and - classpath/resource/com/sun/tools/javac/messages.properties. - * classpath/resource/com, classpath/resource/com/sun, - classpath/resource/com/sun/tools, - classpath/resource/com/sun/tools/javac, classpath/resource/sun, - classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic, - classpath/tools/classes/com, classpath/tools/classes/com/sun, - classpath/tools/classes/com/sun/javadoc, - classpath/tools/classes/com/sun/tools, - classpath/tools/classes/com/sun/tools/doclets, - classpath/tools/classes/sun, classpath/tools/classes/sun/rmi, - classpath/tools/classes/sun/rmi/rmic, classpath/tools/com, - classpath/tools/com/sun, classpath/tools/com/sun/javadoc, - classpath/tools/com/sun/tools, - classpath/tools/com/sun/tools/doclets, - classpath/tools/com/sun/tools/javac, classpath/tools/sun, - classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New - directories. - * classpath/resource/com/sun/tools/javac/messages.properties, - classpath/resource/sun/rmi/rmic/messages.properties, - classpath/tools/classes/com/sun/javadoc/ClassDoc.class, - classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class, - classpath/tools/classes/com/sun/javadoc/Doc.class, - classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class, - classpath/tools/classes/com/sun/javadoc/Doclet.class, - classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class, - classpath/tools/classes/com/sun/javadoc/FieldDoc.class, - classpath/tools/classes/com/sun/javadoc/MemberDoc.class, - classpath/tools/classes/com/sun/javadoc/MethodDoc.class, - classpath/tools/classes/com/sun/javadoc/PackageDoc.class, - classpath/tools/classes/com/sun/javadoc/ParamTag.class, - classpath/tools/classes/com/sun/javadoc/Parameter.class, - classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class, - classpath/tools/classes/com/sun/javadoc/RootDoc.class, - classpath/tools/classes/com/sun/javadoc/SeeTag.class, - classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class, - classpath/tools/classes/com/sun/javadoc/SourcePosition.class, - classpath/tools/classes/com/sun/javadoc/Tag.class, - classpath/tools/classes/com/sun/javadoc/ThrowsTag.class, - classpath/tools/classes/com/sun/javadoc/Type.class, - classpath/tools/classes/com/sun/javadoc/TypeVariable.class, - classpath/tools/classes/com/sun/tools/doclets/Taglet.class, - classpath/tools/classes/sun/rmi/rmic/Main.class, - classpath/tools/classes/sun/rmi/rmic/Messages.class, - classpath/tools/com/sun/javadoc/ClassDoc.java, - classpath/tools/com/sun/javadoc/ConstructorDoc.java, - classpath/tools/com/sun/javadoc/Doc.java, - classpath/tools/com/sun/javadoc/DocErrorReporter.java, - classpath/tools/com/sun/javadoc/Doclet.java, - classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java, - classpath/tools/com/sun/javadoc/FieldDoc.java, - classpath/tools/com/sun/javadoc/MemberDoc.java, - classpath/tools/com/sun/javadoc/MethodDoc.java, - classpath/tools/com/sun/javadoc/PackageDoc.java, - classpath/tools/com/sun/javadoc/ParamTag.java, - classpath/tools/com/sun/javadoc/Parameter.java, - classpath/tools/com/sun/javadoc/ProgramElementDoc.java, - classpath/tools/com/sun/javadoc/RootDoc.java, - classpath/tools/com/sun/javadoc/SeeTag.java, - classpath/tools/com/sun/javadoc/SerialFieldTag.java, - classpath/tools/com/sun/javadoc/SourcePosition.java, - classpath/tools/com/sun/javadoc/Tag.java, - classpath/tools/com/sun/javadoc/ThrowsTag.java, - classpath/tools/com/sun/javadoc/Type.java, - classpath/tools/com/sun/javadoc/TypeVariable.java, - classpath/tools/com/sun/tools/doclets/Taglet.java, - classpath/tools/com/sun/tools/javac/Main.java, - classpath/tools/com/sun/tools/javac/Messages.java, - classpath/tools/sun/rmi/rmic/Main.java, - classpath/tools/sun/rmi/rmic/Messages.java: New files. - * Makefile.in, classpath/Makefile.in, classpath/configure, - classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, - classpath/examples/Makefile.in, classpath/external/Makefile.in, - classpath/external/jsr166/Makefile.in, - classpath/external/relaxngDatatype/Makefile.in, - classpath/external/sax/Makefile.in, - classpath/external/w3c_dom/Makefile.in, - classpath/include/Makefile.in, classpath/include/config.h.in, - classpath/lib/Makefile.in, - classpath/lib/gnu/classpath/Configuration.class, - classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in, - classpath/native/jawt/Makefile.in, - classpath/native/jni/Makefile.in, - classpath/native/jni/classpath/Makefile.in, - classpath/native/jni/gconf-peer/Makefile.in, - classpath/native/jni/gtk-peer/Makefile.in, - classpath/native/jni/java-io/Makefile.in, - classpath/native/jni/java-lang/Makefile.in, - classpath/native/jni/java-net/Makefile.in, - classpath/native/jni/java-nio/Makefile.in, - classpath/native/jni/java-util/Makefile.in, - classpath/native/jni/midi-alsa/Makefile.in, - classpath/native/jni/midi-dssi/Makefile.in, - classpath/native/jni/native-lib/Makefile.in, - classpath/native/jni/qt-peer/Makefile.in, - classpath/native/jni/xmlj/Makefile.in, - classpath/native/plugin/Makefile.in, - classpath/resource/Makefile.in, classpath/scripts/Makefile.in, - classpath/tools/Makefile.in, configure, - gnu/classpath/Configuration.h: Regenerate. - -2007-03-12 Kyle Galloway - - * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count - as a sigle slot. - -2007-03-12 Marco Trudel - - * java/lang/natString.cc (getBytes (jstring enc)): - Fixed the loop for multiple cycles, Code cleanup - -2007-03-09 Tom Tromey - - * sources.am, Makefile.in: Rebuilt. - * scripts/makemake.tcl (scan_directory): Allow service files to be - omitted. - Omit all XML-related service files. - -2007-03-07 Tom Tromey - - * configure: Rebuilt. - * configure.ac: Clear vm-tools-packages. - -2007-03-07 Mohan Embar - - * java/lang/Win32Process.java: Added nested class EOFInputStream. - * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY - enum and implementation. - (startProcess): Use redirect flag. - * classpath/lib/java/lang/Win32Process.class: Regenerated. - * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New. - * gcj/javaprims.h: Regenerated. - * java/lang/Win32Process$EOFInputStream.h: New. - -2007-03-07 Andrew Haley - - * libgcj_bc.c (JvRunMainName): Declare. - -2007-03-07 Gary Benson - - * sources.am, Makefile.in: Rebuilt. - -2007-03-07 Mohan Embar - - * gcj/javaprims.h: Regenerated. - -2007-03-07 Alexandre Oliva - - * include/jvm.h (_Jv_ClosureListFinalizer): New. - (_Jv_Linker::create_error_method): Adjust. - * boehm.cc (_Jv_ClosureListFinalizer): New. - * nogc.cc (_Jv_ClosureListFinalizer): New. - * java/lang/Class.h (class _Jv_ClosureList): New. - (class java::lang::Class): Declare it as friend. - * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New. - (_Jv_ClosureList::registerClousure): New. - * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list. - (_Jv_CompiledEngine::do_get_closure_list): New. - (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it. - (_Jv_IndirectCompiledClass): Add closures. - (_Jv_IndirectCompiledEngine::get_aux_info): New. - (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use - it. - (_Jv_IndirectCompiledEngine::do_get_closure_list): New. - (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it. - (_Jv_InterpreterEngine::do_get_closure_list): Declare. - (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it. - * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants. - (node_closure): Add closure list. - (_Jv_InterpMethod::ncode): Add jclass argument. Use - ffi_closure_alloc and the separate code pointer. Register the - closure for finalization. - (_Jv_JNIMethod::ncode): Likewise. - (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode. - (_Jv_InterpreterEngine::do_get_closure_list): New. - * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust. - (_Jv_InterpClass): Add closures field. - (_Jv_JNIMethod::ncode): Adjust. - * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust. - (_Jv_ClassReader::handleMethodsEnd): Likewise. - * link.cc (struct method_closure): Add closure list. - (_Jv_Linker::create_error_method): Add jclass argument. Use - ffi_closure_alloc and the separate code pointer. Register the - closure for finalization. - (_Jv_Linker::link_symbol_table): Remove outdated comment about - sharing of otable and atable. Adjust. - * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure - list. - (ncode): Add jclass argument. Use ffi_closure_alloc and the - separate code pointer. Register the closure for finalization. - (java::lang::reflect::VMProxy::generateProxyClass): Adjust. - * testsuite/libjava.jar/TestClosureGC.java: New. - * testsuite/libjava.jar/TestClosureGC.out: New. - * testsuite/libjava.jar/TestClosureGC.xfail: New. - * testsuite/libjava.jar/TestClosureGC.jar: New. - -2007-03-06 Kyle Galloway - - * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. - * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto. - * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto. - * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro. - (VMMethod::getLineTable): Use new macro. - (VMMethod::getVariableTable): Implement. - * sources.am: Regenerated. - * Makefile.in: Ditto. - -2007-03-06 Tom Tromey - - * Makefile.in: Rebuilt. - * Makefile.am (bin_PROGRAMS): Added gcjh. - (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD, - gcjh_DEPENDENCIES): New variables. - -2007-03-06 Kyle Galloway - - * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters. - * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc - (do_getlocalvartable_tests): Add Deallocate calls to free strings. - -2007-03-05 Matthias Klose - - * Makefile.am (gij_LDFLAGS): Use dbexecdir. - * Makefile.in: Regnerate. - -2007-03-05 Mark Wielaard - - * java/lang/Character.java: Re-merged with Classpath. - * java/lang/natString.cc (nativeCompareTo): Renamed from - compareTo. - * java/lang/StringBuilder.java: Re-merged with Classpath. - * java/lang/String.java: Re-merged with Classpath. - (nativeCompareTo): Renamed from compareTo. - * java/lang/StringBuffer.java: Re-merged with Classpath. - * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. - -2007-03-05 Andrew Haley - - * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete. - (generateProxyClass): Don't pass method to ncode. - (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method. - * java/lang/reflect/Method.h: Rebuild. - * java/lang/reflect/Method.java (internalGetParameterTypes, - internalGetExceptionTypes): New methods. - * headers.txt (class java/lang/reflect/Method): Declare - _Jv_GetReflectedMethod. Be its friend. - * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method. - * java/lang/Class.h: Declare it. Be its friend. - -2007-03-05 Tom Tromey - - * sources.am, Makefile.in: Rebuilt. - * scripts/makemake.tcl (emit_package_rule): Don't omit - VMProcess.java. - * Makefile.am (nat_source_files): Added natVMProcess.cc. - (inner_nat_headers): Added ImmediateEOFInputStream.h. - * gcj/javaprims.h: Regenerated. - * java/lang/System.java (EnvironmentMap): Now package-private. - (EnvironmentMap(Map)): New constructor. - (EnvironmentMap.put): New method. - * java/lang/natWin32Process.cc (startProcess): Update. - * java/lang/Win32Process.java (Win32Process): Added 'redirect' - argument. - (startProcess): Likewise. - * java/lang/EcosProcess.java (EcosProcess): Added 'redirect' - argument. - * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection. - * java/lang/PosixProcess.java (redirect): New field. - (PosixProcess): Added 'redirect' argument. - * java/lang/natRuntime.cc (execInternal): Added 'redirect' - argument to Process creation. - * java/lang/natVMProcess.cc: New file. - * java/lang/ProcessBuilder.java: Removed. - * java/lang/VMProcess.java: New file. - -2007-03-03 Andrew Haley - - * java/lang/natClass.cc (parseAnnotationElement): Correct long - annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double. - -2007-03-02 Andrew Haley - - * sun/reflect/annotation/AnnotationInvocationHandler.java: - Generify in a few places. - (equals): Rewrite to use invoke on local proxy. - (deepToString): Remove most of it. - (toString): Make nonstatic. - (arrayClone): Delete. - (coerce): New method. - (invoke): Rewrite to handle gcj's structures correctly. - * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for - null loader. - * sources.am: Regenerate. - * Makefile.am: Likewise. - -2007-03-02 Andrew Haley - - * sun/reflect/annotation/AnnotationInvocationHandler.java: - Whitespace only changes. - -2007-03-02 Andrew Haley - - * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved - from Classpath to libgcj local. - -2007-03-01 Brooks Moses - - * Makefile.am: Add dummy install-pdf target. - * Makefile.in: Regenerate - * include/Makefile.in: Regenerate - * testsuite/Makefile.in: Regenerate - * gcj/Makefile.in: Regenerate - -2007-02-23 Gary Benson - - * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year. - -2007-02-23 Gary Benson - - * java/lang/VMCompiler.java - (compileClass): Don't lose zeros from within the digest. - -2007-02-22 Jakub Jelinek - - PR libgcj/17002 - PR classpath/28550 - * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read - /etc/localtime, use ZoneInfo.readTZFile instead of - VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, - either if it is a symlink or through /etc/sysconfig/clock. - (readSysconfigClockFile): New static method. - (readtzFile): Removed. - * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. - * posix.cc (_Jv_platform_initProperties): Set - gnu.java.util.zoneinfo.dir. - * sources.am (gnu_java_util_source_files): Add - classpath/gnu/java/util/ZoneInfo.java. - * Makefile.in: Regenerated. - * java/util/VMTimeZone.h: Regenerated. - * java/util/TimeZone.h: Regenerated. - * gnu/java/util/ZoneInfo.h: Generated. - -2007-02-22 Mohan Embar - - * include/win32-threads.h: Added #undef OUT. - -2007-02-21 Kyle Galloway - - * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function. - * testsuite/libjava.jvmti/interp/getargssize.java: New test. - * testsuite/libjava.jvmti/interp/getargssize.h: Ditto. - * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto. - * testsuite/libjava.jvmti/interp/getargssize.out: Ditto. - * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto. - -2007-02-21 Gary Benson - - * java/util/GregorianCalendar.java: Removed. - * sources.am, Makefile.in: Rebuilt. - -2007-02-20 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (jdwpClassPrepareCB): Move class status stuff to ... - (getClassStatus): ... here. - -2007-02-20 Gary Benson - - * gnu/awt/xlib/XEventLoop.h: Regenerated. - * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise. - * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h: - Likewise. - * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise. - * java/lang/SecurityManager.h: Likewise. - * java/lang/Thread.h: Likewise. - * java/security/VMSecureRandom$Spinner.h: Likewise. - * java/util/concurrent/atomic/AtomicBoolean.h: Likewise. - * java/util/concurrent/atomic/AtomicInteger.h: Likewise. - * java/util/concurrent/atomic/AtomicLong.h: Likewise. - * java/util/concurrent/atomic/AtomicReference.h: Likewise. - * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise. - * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise. - * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise. - * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise. - * java/util/concurrent/ConcurrentSkipListMap.h: Likewise. - * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise. - * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise. - * java/util/concurrent/Exchanger.h: Likewise. - * java/util/concurrent/Exchanger$Node.h: Likewise. - * java/util/concurrent/FutureTask$Sync.h: Likewise. - * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise. - * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h: - Likewise. - * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: - Likewise. - * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise. - * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h: - Likewise. - * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise. - * java/util/concurrent/SynchronousQueue.h: Likewise. - * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise. - * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h: - Likewise. - * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise. - * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h: - Likewise. - * java/util/concurrent/ThreadPoolExecutor.h: Likewise. - * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise. - * java/util/logging/ErrorManager.h: Likewise. - * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise. - * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise. - -2007-02-16 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (get_line_table): New function. - (handle_single_step): New function. - (jdwpSingleStepCB): New function. - (jdwpVMInitCB): Define a JVMTI single step - callback, but don't enable it until needed. - -2007-02-16 David Daney - - * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass - new parameter constructor. - (Thread(ThreadGroup, Runnable, String, long)): Same. - (Thread(String, boolean)): New constructor. - (Thread(Thread, ThreadGroup, Runnable, String): Add parameter - noInheritableThreadLocal, don't call - InheritableThreadLocal.newChildThread if set. - * java/lang/PosixProcess.java(ProcessManager()): Set - noInheritableThreadLocal in super. - * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new - parameter to Thread constructor. - (_Jv_AttachCurrentThreadAsDaemon): Same. - * java/lang/Thread.h: Regenerate. - * classpath/lib/java/lang/Thread.class: Same. - * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same. - * classpath/lib/java/lang/PosixProcess.class: Same. - * classpath/lib/java/lang/Thread$State.class: Same. - * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. - -2007-02-16 Kyle Galloway - - * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot - variables to maintain type info. - * interpret-run.cc: Add local variable info to frame in the debug - interpreter. - * jvmti.cc (getLocalFrame): New method. - (_Jv_JVMTI_GetLocalObject): New method. - (_Jv_JVMTI_GetLocallInt): New method. - (_Jv_JVMTI_GetLocalFloat): New method. - (_Jv_JVMTI_GetLocalLong): New method. - (_Jv_JVMTI_GetLocalDouble): New method. - (_Jv_JVMTI_SetLocalObject): New method. - (_Jv_JVMTI_SetLocalInt): New method. - (_Jv_JVMTI_SetLocalFloat): New method. - (_Jv_JVMTI_SetLocalLong): New method. - (_Jv_JVMTI_SetLocalDouble): New method. - -2007-02-16 Gary Benson - - * gnu/gcj/tools/gcj_dbtool/Main.java - (bytesToString): Don't lose zeros from within the digest. - -2007-02-15 Andrew Haley - - * Makefile.am (nat_source_files): Remove - java/lang/management/natVMManagementFactory.cc. - * java/lang/Thread.java (getStackTrace): Use reflection to call - the ManagementFactory. - * java/lang/management/VMManagementFactory.java: Remove native - methods. - * java/lang/management/natVMManagementFactory.cc: Deleted. - * sources.am: Regnerate. - * scripts/makemake.tcl: Add new "bcheaders" type. - Move java/lang/management and gnu/classpath/management to "bc". - Move gnu/java/lang/management to "bcheaders". - -2007-02-15 Kyle Galloway - - * interpret.cc (_Jv_InterpMethod::check_handler): New method. - * interpret-run.cc: Change the catch section to report exception - events and to use the new check_handler method. - * include/java-interp.h (_Jv_InterpMethod): Add check_handler. - * gnu/gcj/jvmti/ExceptionEvent.java: New file. - * gnu/gcj/jvmti/ExceptionEvent.h: New file. - * gnu/gcj/jvmti/natExceptionEvent.cc: New file. - * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New - file. - * sources.am: Added ExceptionEvent.java. - * Makefile.am: Added natExceptionEvent.cc - * Makefile.in: Regenerated. - * include/Makefile.in: Regenerated. - * gcj/Makefile.in: Regenerated. - -2007-02-15 Johannes Schmidt - David Daney - - * configure.ac: Create vm-tools-packages file. Add - gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages. - Check for /proc/self/maps. - * Makefile.am (bin_PROGRAMS): Added gc-analyze. - (gc_analyze_SOURCES): New. - (gc_analyze_LDFLAGS): New. - (gc_analyze_LINK): New. - (gc_analyze_LDADD): New. - (gc_analyze_DEPENDENCIES): New. - (nat_source_files): Add gnu/gcj/util/natGCInfo.cc. - * Makefile.in: Regenerated. - * configure: Regenerated. - * include/config.h.in: Regenerated. - * sources.am: Regenerated. - * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj. - * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New. - * gnu/gcj/tools/gc_analyze/ObjectMap.java: New. - * gnu/gcj/tools/gc_analyze/MemoryMap.java: New. - * gnu/gcj/tools/gc_analyze/SymbolTable.java: New. - * gnu/gcj/tools/gc_analyze/BlockMap.java: New. - * gnu/gcj/tools/gc_analyze/BytePtr.java: New. - * gnu/gcj/tools/gc_analyze/ItemList.java: New. - * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New. - * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New. - * gnu/gcj/util/GCInfo.java: New. - * gnu/gcj/util/GCInfo.h: New. - * gnu/gcj/util/natGCInfo.cc: New. - * gnu/gcj/util/UtilPermission.java: New. - * gnu/gcj/util/UtilPermission.h: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New. - * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New. - * classpath/lib/gnu/gcj/util/GCInfo.class: New. - * classpath/lib/gnu/gcj/util/UtilPermission.class: New. - -2007-02-15 David Daney - - * gnu/java/net/PlainSocketImpl.h: Regenerate. - * gnu/classpath/jdwp/VMVirtualMachine.h: Same. - * gnu/classpath/jdwp/VMFrame.h: Same. - * java/net/Socket.h: Same. - * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same. - -2007-02-15 Kyle Galloway - - * defineclass.cc (_Jv_ClassReader::read_one_code_attribute): - Added LocalVariableTable attribute handling. - (_Jv_ClassReader::pool_Utf8_to_char_arr): New method. - * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method. - * include/java-interp.h: Added local_var_table and - local_var_table_len fields to _Jv_InterpMethod. - (_Jv_InterpMethod::get_local_var_table): New method. - * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test. - * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test. - * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output - for new test. - * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test. - * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test. - -2007-02-15 Kyle Galloway - - * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. - -2007-02-13 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (jdwpBreakpointCB): New function. - (jdwpVMInitCB): Define and enable the breakpoint - callback. - -2007-02-13 Andrew Haley - - * testsuite/libjava.lang/Divide_2.out - * testsuite/libjava.lang/Divide_2.java: New test. - -2007-02-12 Keith Seitz - - * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast - from jthread to Thread *; it is no longer needed. - (_Jv_JVMTI_GetFrameCount): Likewise. - Fix small formatting typo. - -2007-02-12 Tom Tromey - - * sources.am, Makefile.in: Rebuilt. - * java/lang/Socket.java: Removed override. - * java/lang/DatagramSocket.java: Removed override. - * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New - field. - (getLocalAddress): New method. - * gnu/java/net/PlainDatagramSocketImpl.java - (PlainDatagramSocketImpl): Throws IOException. - * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove - 'sizeof'. - (read): Likewise. - -2007-02-09 Jakub Jelinek - - * java/util/VMTimeZone.java: Rewrite to handle both the old - 'TZif\0' format and the new one. - -2007-02-10 Andrew Haley - - PR java/30742 - * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New. - (getCallingClass): Call GET_CALLING_CLASS. - (getCallingClassLoader): Likewise. - -2007-02-10 Mohan Embar - - * configure: Rebuilt. - * configure.ac (GCJH): Reverted second part of patch of 2006-12-20. - -2007-02-10 Mohan Embar - - * Makefile.in: Rebuilt. - * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to - the host's ecj1 executable. - -2007-02-09 Richard Henderson - - * sysdep/alpha/locks.h (read_barrier): New. - -2007-02-09 Keith Seitz - - * gnu/classpath/jdwp/VMVirtualMachine.java - (_stepping_threads): New member. - * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: - Regenerated. - * gnu/classpath/jdwp/VMVirtualMachine.h: - Regenerated. - * gnu/claspath/jdwp/natVMVirtualMachine.cc - (get_request_step_filter): New function. - (DISABLE_EVENT): New macro. - (initialize): Initialize _stepping_threads. - (registerEvent): Implement EVENT_SINGLE_STEP. - (unregisterEvent): Likewise. - -2007-02-08 Keith Seitz - - * sources.am: Regenerate. - * Makefile.in: Regenerate. - * testsuite/Makefile.in: Regenerate. - * gcj/Makefile.in: Regenerate. - * include/Makefile.in: Regenerate. - - * classpath/lib/javax/management/MBeanServerFactory.class: - Regenerate. - -2007-02-08 Kyle Galloway - - * classpath/gnu/classpath/jdwp/processor/ - StackFrameCommandSet.java (executeGetValues): Pass jlong instead - of ByteBuffer. - (executeSetValues): Ditto. - (executeThisObject): Ditto. - * classpath/gnu/classpath/jdwp/processor/ - StackFrameCommandSet.class: Rebuilt. - * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: - Rebuilt. - * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. - * classpath/lib/gnu/classpath/jdwp/exception/ - InvalidFrameException.java: New file. - * gnu/classpath/jdwp/VMFrame.java: Added field for thread of - frame. - (Constructor): New method. - * gnu/classpath/jdwp/VMFrame.h: Regenerated. - * gnu/classpath/jdwp/VMVirtualMachine.java - (getFrame): Changed ByteBuffer to jlong. - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (getFrame): Implement. - * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. - -2007-02-08 Kyle Galloway - - * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added - to hold "this" pointer for frame. - (_Jv_InterpFrame::get_this_ptr): New method. - * interpret-run.cc: Copy the "this" pointer into obj_ptr. - -2007-02-07 Keith Seitz - - * include/java-interp.h (_Jv_Frame::depth): - New function. - * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth. - -2007-02-07 Kyle Galloway - - * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro. - (_Jv_JVMTI_GetMaxLocals): New method. - * include/java-interp.h - (_Jv_InterpMethod::get_max_locals): New method. - -2007-02-01 Marco Trudel - - * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects. - -2007-02-07 Tom Tromey - - * testsuite/libjava.jni/init.c: New file. - * testsuite/libjava.jni/init.java: New file. - * testsuite/libjava.jni/init.out: New file. - * testsuite/libjava.jni/init.jar: New file. - * testsuite/libjava.jni/init.h: New file. - * testsuite/libjava.jni/init$NativeClass.h: New file. - -2007-02-07 Jakub Jelinek - - PR libgomp/28468 - * configure: Regenerate. - -2007-02-06 Andrew Haley - - * scripts/makemake.tcl (emit_bc_rule): Set the source filename. - * sources.am: Rebuild. - -2007-02-05 Keith Seitz - - * jvmti.cc (_envListLock): Change type to - ReentrantReadWriteLock. - (_Jv_JVMTI_DisposeEnvironment): Switch to read/write - lock. - (check_enabled_event): Likewise. - (_Jv_GetJVMTIEnv): Likewise. - (_Jv_JVMTI_Init): Likewise. - (_Jv_JVMTI_PostEvent): Likewise. - -2007-02-05 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (registerEvent): Implement EVENT_BREAKPOINT. - (unregisterEvent): Likewise. - (get_request_location): New function. - -2007-02-05 Matthias Klose - - testsuite/Makefile.am (compile-tests): Fix typo. - testsuite/Makefile.in: Regenerate. - -2007-02-02 Kyle Galloway - - * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): - Implment. - -2007-02-02 Jakub Jelinek - - * configure.ac (libjava_cv_anon_version_script): New test. - (ANONVERSCRIPT): New AM_CONDITIONAL. - * configure: Rebuilt. - * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script - if ANONVERSCRIPT. - * Makefile.in: Rebuilt. - (libgcj_la_DEPENDENCIES): Depend on libgcj.ver. - * libgcj.ver: New file. - -2007-02-01 David Daney - - * scripts/makemake.tcl: Replace gnu/xml build with build of all - its subpackages. - * sources.am: Regenerate. - * Makefile.in: Regenerate. - -2007-02-01 Tom Tromey - - * java/lang/ClassLoader.java (getResources): No longer final. - -2007-02-01 Tom Tromey - - * java/util/logging/LogManager.java (loggers): Genericized. - (addLogger): Merged. - (findAncestor): Likewise. - (getLogger): Likewise. - (getLoggerNames): Genericized. - (reset): Merged. - (getLevelProperty): Likewise. - * java/lang/reflect/Method.java (getDeclaringClass): Genericized. - * java/lang/reflect/Constructor.java (getParameterTypes): - Genericized. - (getExceptionTypes): Likewise. - (newInstance): Likewise. - * java/lang/reflect/Array.java (newInstance): Genericized. - * java/lang/Object.java (getClass): Genericized. - * java/nio/charset/spi/CharsetProvider.java (charsets): - Genericized. - * java/text/Collator.java: Implement Comparable. - -2007-02-01 Tom Tromey - - * java/util/Calendar.java: Implement Comparable. Update - comments. - (clear): Call complete. - (setTimeZone): Call computeTime, computeFields. - (compareTo): New method. - * java/nio/charset/Charset.java: Implement Comparable. - (availableCharsets): Genericized. - (aliases): Likewise. - (compareTo): Changed argument type. - * java/lang/ClassLoader.java (loadClass): Genericized. - (findClass): Likewise. - (defineClass): Likewise. - (resolveClass): Likewise. - (findSystemClass): Likewise. - (setSigners): Likewise. - (findLoadedClass): Likewise. - (getResources): Likewise. - (findResources): Likewise. - (getSystemResources): Likewise. - (checkInitialized): New method. - * java/lang/Class.java (getCanonicalName): New method. - -2007-01-31 Keith Seitz - - * include/jvmti-int.h (JVMTI): Declare member "enabled". - * jvmti.cc (JVMTI): Add member "enabled". - (_Jv_GetJVMTIEnv): Mark JVMTI enabled. - * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled - instead of gnu::classpath::jdwp::Jdwp::isDebugging. - (_Jv_CompileMethod): If JVMTI is enabled, use run_debug - instead of run to compile the method. - - * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step - notification. - -2007-01-31 Andreas Tobler - - * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add - -shared-libgcc to the cxxflaglist for Darwin. - -2007-01-31 Tom Tromey - - * scripts.am, Makefile.in: Rebuilt. - * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build - as 'ordinary'. - (emit_ordinary_rule): New proc. - -2007-01-31 Keith Seitz - - * testsuite/libjava.jvmti/getmethodname.h: New file. - * testsuite/libjava.jvmti/getmethodname.jar: New file. - -2007-01-31 Andrew Haley - - * prims.cc (_Jv_Abort): fflush (stderr). - * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort. - -2007-01-31 Tom Tromey - - * configure, Makefile.in: Rebuilt. - * configure.ac (JAR): Check for -@ feature. - * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune. - -2007-01-31 Tom Tromey - - PR libgcj/30606: - * configure, include/config.h.in: Rebuilt. - * configure.ac: Check for magic_t in magic.h. - * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T. - -2007-01-30 Tom Tromey - - * Makefile.in: Rebuilt. - * Makefile.am (libgcj-$(gcc_version).jar): Rewrote. - -2007-01-30 Andreas Tobler - - * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a - cast to print it right. - -2007-01-29 Kaloian Doganov - - PR libgcj/30600: - * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to - 'limit'. - -2007-01-29 Kyle Galloway - - * include/java-interp.h: Added _Jv_Frame class and its two - subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved - _Jv_FrameType from java-stack.h. - * include/java-stack.h: Removed _Jv_FrameType. - * java/lang/Thread.java: Added frame member to hold new - composite frame stack. - * java/lang/Thread.h: Regenerated. - * java/lang/Thread.class: Rebuilt. - * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when - calling a JNI method. - * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method. - (_Jv_JVMTI_GetFrameCount): New method. - * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame - classes. - * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. - * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test. - * testsuite/libjava.jvmti/interp/getstacktrace.h: New test. - * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. - * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file - for test. - -2007-01-29 Tom Tromey - - * interpret.cc (run_debug): Remove comment. - (STOREA): Reformat. - (STOREI): Likewise. - (STOREF): Likewise. - (STOREL): Likewise. - (STORED): Likewise. - (POKEI): Likewise. - (run_normal_debug): Likewise. - (run_synch_object_debug): Likewise. - (run_class_debug): Likewise. - (run_synch_class_debug): Likewise. - (get1s): Likewise. - (get1u): Likewise. - (get2u): Likewise. - (get4): Likewise. - (NULLARRAYCHECK): Likewise. - (ARRAYBOUNDSCHECK): Likewise. - * interpret-run.cc (insn_target) : Tidy. - -2007-01-29 Tom Tromey - - * configure, Makefile.in: Rebuilt. - * Makefile.am (bin_SCRIPTS): Never install scripts/jar. - * configure.ac (BASH_JAR): Removed conditional. - (JAR): Prefer the jar found by AC_CHECK_PROGS. - -2007-01-29 Tom Tromey - - * Makefile.in: Rebuilt. - * Makefile.am (interpret.lo): New target. Add -fwrap to - AM_CXXFLAGS. - -2007-01-29 Keith Seitz - - * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): - Define. - [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building - gcj. All jvmti object types now are defined to be their - corresponding java classes. - * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from - jthread to Thread*. - (_Jv_JVMTI_ResumeThread): Likewise. - (_Jv_JVMTI_InterruptThread): Likewise. - (_Jv_JVMTI_SetEventNotificationMode): Likewise. - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (jdwpClassPrepareCB): Likewise. - (jdwpThreadEndCB): Likewise. - (jdwpThreadStartCB): Likewise. - (jdwpVMInitCB): Likewise. - -2007-01-28 Michele Sandri - - * gnu/java/nio/channels/natFileChannelWin32.cc - (lock): Implemented. - (unlock): Implemented. - -2007-01-27 Andreas Tobler - - PR libgcj/30513 - * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to - libgcj_flags to undefine 'sun' at compile time. - * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit - Sparc. - (write_barrier): Likewise. - -2007-01-27 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (getAllClassMethods): Move error handling to ... - (throw_jvmti_error): ... here. - (jdwpClassPrepareCB): New function. - (jdwpThreadEndCB): New function. - (jdwpThreadStartCB): New function. - (jdwpVMDeathCB): New function. - (jdwpVMInitCB): Define and enable callbacks for - ClassPrepare, ThreadEnd, ThreadStart, and VMDeath. - -2007-01-27 Jakub Jelinek - - * Makefile.am (generic_header_files): Add $(inner_nat_headers). - * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests. - (MYGCJH): New variable. - (compile-tests): New goal. - * Makefile.in: Rebuilt. - * testsuite/Makefile.in: Rebuilt. - -2007-01-26 Andrew Haley - - * java/lang/natClass.cc (initializeClass): Re-throw - SecurityExceptions. - * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess. - * java/lang/ClassLoader.java: (loadClass): Likewise. - -2007-01-26 Tom Tromey - - * Updated headers. - -2007-01-25 Tom Tromey - - PR libgcj/29594: - * gnu/gcj/convert/Convert.java (main): Correctly handle missing - input or output encodings. Removed unused local variables. - -2007-01-25 Keith Seitz - - * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare. - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (_Jv_GetJDWP_JVMTIEnv): New function. - * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement. - (getSignature): Implement. - (getModifiers): Implement. - -2007-01-25 Andrew Haley - - * configure, Makefile.in, include/config.h.in: Rebuilt. - * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC). - * configure.ac: Don't check for libmagic. - * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load, - p_magic_close, p_magic_buffer): New globals. - (init): Look up 'magic' functions. - (guessContentTypeFromBuffer): Updated. - -2007-01-25 Keith Seitz - - * jvmti.cc (_Jv_JVMTI_GetMethodName): New function. - (_Jv_JVMTI_Interface): Define GetMethodName. - * testsuite/libjava.jvmti/getmethodname.java: New file. - * testsuite/libjava.jvmti/natgetmethodname.cc: New file. - * testsuite/libjava.jvmti/getmethodname.out: New file. - -2007-01-24 Kyle Galloway - - * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file. - * libjava/testsuite/libjava.jvmti/interp: New folder. - * libjava/testsuite/lib/libjava.exp (exec_gij): New Method. - -2007-01-24 Keith Seitz - - * link.cc (_Jv_Linker::wait_for_state): Add JVMTI - CLASS_PREPARE notification. - -2007-01-24 Keith Seitz - - * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h, - gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h - * interpret-run.cc: Implement insn_breakpoint. - -2007-01-24 Keith Seitz - - * prims.cc (_Jv_RunMain): Send JVMTI event notifications - for VM_INIT and VM_DEATH instead of the JDWP notifications. - -2007-01-24 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (getAllClassMethods): Implement. - -2007-01-24 Andrew Haley - - * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere. - (getClassContext) Add a barrier to prevent GetStackWalkerStack() - from being sibcalled. - -2007-01-24 Andrew Haley - - * scripts/makemake.tcl (emit_bc_rule): Set the source filename. - * sources.am: Rebuild. - -2007-01-24 Andreas Krebbel - - * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced - _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. - -2007-01-23 H.J. Lu - - PR libgcj/30550 - * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed. - * Makefile.in: Regenerated. - -2007-01-22 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc - (getClassMethod): Implement. - -2007-01-22 Keith Seitz - - * java/lang/Class.h (_Jv_GetClassStatus): Declare. - * java/lang/natClass.cc (_Jv_GetClassStatus): New function. - * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function. - (_Jv_JVMTI_Interface): Define GetClassStatus. - -2007-01-22 Tom Tromey - - * configure: Rebuilt. - * configure.ac (GCJ): Reverted patch of 2006-12-20. - -2007-01-22 Tom Tromey - - PR java/29812: - * testsuite/libjava.jni/pr29812.java: New file. - * testsuite/libjava.jni/pr29812_injar.java: New file. - * testsuite/libjava.jni/pr29812_injar.jar: New file. - * testsuite/libjava.jni/pr29812.out: New file. - * testsuite/libjava.jni/pr29812_injar.c: New file. - * testsuite/libjava.jni/pr29812_injar.h: New file. - * testsuite/libjava.jni/pr29812.jar: New file. - * testsuite/libjava.jni/pr29812.c: New file. - * testsuite/libjava.jni/pr29812.h: New file. - * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): - New proc. - (gcj_jni_invocation_test_one): Use it. - (gcj_jni_pr29812): New proc. - (gcj_jni_run): Use it. - * java/lang/natRuntime.cc (_load): Push a new system frame before - calling JNI_OnLoad. - * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare. - (_Jv_GetJNIEnvNewFrameWithLoader): Likewise. - * jni.cc (struct _Jv_JNI_LocalFrame) : Now unsigned char. - : Now bool. - : New field. - (_Jv_JNI_EnsureLocalCapacity): Updated. - (_Jv_JNI_NewLocalRef): Likewise. - (_Jv_JNI_NewLocalRef): Likewise. - (_Jv_JNI_PopLocalFrame): Likewise. - (_Jv_JNI_FindClass): Likewise. - (_Jv_GetJNIEnvNewFrame): Likewise. - (_Jv_JNI_AttachCurrentThread): Likewise. - (_Jv_GetJNIEnvNewFrameWithLoader): New function. - (_Jv_GetJNIEnvNewFrame): Use it. - * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'. - -2007-01-22 Tom Tromey - - * libtool-version: Bump current to 9. - -2007-01-22 Andrew Haley - - * sysdep/alpha/locks.h (write_barrier): New. - -2007-01-21 Matthias Klose - - * Makefile.am (install-exec-hook): Use transformed name. - * Makefile.in: Regenerate. - -2007-01-19 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters - in methods and reformat. - - * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with - MAYBE_UNUSED. - -2007-01-18 Keith Seitz - - From Macro Trudel : - * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): - Use JNICALL. - -2007-01-18 Marco Trudel - - * jni.cc (_Jv_JNI_FindClass): Initialize class. - * testsuite/libjava.jni/findclass2.jar: New file. - * testsuite/libjava.jni/findclass2.h: New file. - * testsuite/libjava.jni/findclass2.java: New file - * testsuite/libjava.jni/findclass2.c: New file. - * testsuite/libjava.jni/findclass2.out: New file. - -2007-01-18 Tom Tromey - - * configure: Rebuilt. - * configure.ac: Use multi_basedir instead of libgcj_basedir. - -2007-01-18 Gary Benson - - * gnu/java/nio/natVMPipeEcos.cc: - Renamed from gnu/java/nio/natPipeImplEcos.cc. - * gnu/java/nio/natVMPipePosix.cc: - Renamed from gnu/java/nio/natPipeImplPosix.cc. - * gnu/java/nio/natVMPipeWin32.cc: - Renamed from gnu/java/nio/natPipeImplWin32.cc. - * gnu/java/nio/natVMSelectorEcos.cc: - Renamed from gnu/java/nio/natSelectorImplEcos.cc. - * gnu/java/nio/natVMSelectorPosix.cc: - Renamed from gnu/java/nio/natSelectorImplPosix.cc. - * gnu/java/nio/natVMSelectorWin32.cc: - Renamed from gnu/java/nio/natSelectorImplWin32.cc. - * java/io/natVMObjectInputStream.cc: - Renamed from java/io/natObjectInputStream.cc. - * java/lang/natVMDouble.cc: - Renamed from java/lang/natDouble.cc. - * java/lang/natVMFloat.cc: - Renamed from java/lang/natFloat.cc. - * Makefile.am, configure.ac: Reflect the above. - * Makefile.in, configure: Rebuilt. - -2007-01-17 Andrew Haley - - * Makefile.in: Rebuilt. - * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath. - -2007-01-17 Keith Seitz - - * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification. - (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification. - -2007-01-16 Jack Howarth - - * configure.ac: Use multi.m4 from aclocal rather than custom - code. Use multi_basedir instead libgcj_basedir. Test for - /proc/self/exe when not cross-compiling. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * Makefile.in: Regenerate. - -2007-01-17 Gary Benson - - * java/nio/natVMDirectByteBufferImpl.cc: - Renamed from java/nio/natDirectByteBufferImpl.cc. - * Makefile.am: Reflect the above. - * Makefile.in: Rebuilt. - -2007-01-17 Marco Trudel - - * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL. - Fixed indentation. Removed unused variable. - -2007-01-16 Tom Tromey - - * java/lang/natThread.cc (finalize_native): Remove cast. - (_Jv_GetCurrentJNIEnv): Likewise. - * include/jvm.h (struct natThread) : Declare as - _Jv_JNIEnv*. - -2007-01-16 Keith Seitz - - * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use - %#llx instead of %d for new_value. - * testsuite/libjava.jvmti/events.out: Update expected output. - * testsuite/libjava.jvmti/events.jar: Regenerate. - -2007-01-16 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK): - New macro. - (ENABLE_EVENT): New macro. - (initialize): Define and enable JVMTI VM_INIT callback. - (jdwpVMInitCB): New function. - -2007-01-16 Kyle Galloway - - * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function. - * testsuite/libjava.jvmti/getallthreads.java: New test. - * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto. - * testsuite/libjava.jvmti/getallthreads.out: Ditto. - * testsuite/libjava.jvmti/getallthreads.h: Ditto. - * testsuite/libjava.jvmti/getallthreads.jar: Ditto. - -2007-01-15 Keith Seitz - - * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use - java.lang.StringBuilder instead of java.lang.StringBuffer. - (resumeThread): Likewise. - -2007-01-15 Gary Benson - - * java/nio/MappedByteBuffer.java: Removed. - * sources.am, Makefile.in: Rebuilt. - -2007-01-15 Gary Benson - - * java/net/URLClassLoader.java: Removed. - * gnu/java/net/loader/Load_gcjlib.java: New file. - * gnu/gcj/runtime/BootClassLoader.java: Ensure core - URL handler is present in static executables. - * sources.am, Makefile.in: Rebuilt. - -2007-01-14 H.J. Lu - - * Makefile.am (libgcj_la_LDFLAGS): Add - $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS). - (libgcj_tools_la_LDFLAGS): Likewise. - (libgcj_bc_la_LDFLAGS): Likewise. - * Makefile.in: Regenerated. - - * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set - LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set - libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set. - Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS. - * configure: Regenerated. - * aclocal.m4: Likewise. - * gcj/Makefile.in: Likewise. - * include/Makefile.in: Likewise. - * testsuite/Makefile.in: Likewise. - -2007-01-12 Kaz Kojima - - * sysdep/sh/locks.h (read_barrier): New. - (write_barrier): Likewise. - -2007-01-12 Andrew Haley - - * include/i386-signal.h: Rewrite to use rt_sigaction. - -2007-01-11 Andrew Haley - - * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant - to char*. - * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix - aliasing violation. - -2007-01-10 Tom Tromey - - * gnu/gcj/xlib/*.h: New files. - * gnu/awt/xlib/*.h: Likewise. - * classpath/lib/gnu/gcj/xlib: New class files. - * classpath/lib/gnu/awt/xlib: Likewise. - -2007-01-10 Tom Tromey - - * HACKING: Various updates. - -2007-01-10 Tom Tromey - - * java/lang/natDouble.cc (toString): Added parens. - * gnu/gcj/io/shs.h (PROTO): Define. - * link.cc (resolve_pool_entry): Added missing braces. - -2007-01-10 H.J. Lu - - PR libgcj/30424 - * sysdep/ia64/locks.h (read_barrier): New. - (write_barrier): New. - -2007-01-10 Gary Benson - - * java/net/URL.java: Removed. - * sources.am, Makefile.in: Rebuilt. - -2007-01-10 Matthias Klose - - * Makefile.am (install-exec-hook): Support $(DESTDIR). - * Makefile.in: Regenerated. - -2007-01-05 Tom Tromey - - * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find - dummy.class in srcdir. - -2007-01-03 Tom Tromey - - * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I - for srcdir. - -2007-01-03 Tom Tromey - - * testsuite/*: Added many .jar and .h files. - * testsuite/libjava.special/special.exp - (gcj_special_try_compiler): New proc. - * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't - bytecompile source. Search for .jar files. - (gcj_loader_test_one): Don't look for MyLoader.java. - * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't - bytecompile sources or build headers. - (gcj_jvmti_run): Look for .jar files. - * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar - files. - (gcj_jni_test_one): Don't bytecompile sources or build headers. - Set classpath when invoking gij. - (gcj_jni_invocation_test_one): Likewise. - * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build - headers or bytecompile sources. - (gcj_cni_run): Use .jar files, not .java files. - * testsuite/libjava.lang/lang.exp: Compile .jar files. - -2007-01-02 Tom Tromey - - * configure: Rebuilt. - * configure.ac: Check for gjar. - -2007-01-02 Tom Tromey - - * testsuite/libjava.jacks/jacks.exp: Removed. - * testsuite/libjava.jacks/jacks.xfail: Removed. - diff --git a/libjava/ChangeLog-2007 b/libjava/ChangeLog-2007 new file mode 100644 index 0000000..41b7a10d --- /dev/null +++ b/libjava/ChangeLog-2007 @@ -0,0 +1,2658 @@ +2007-12-22 David Daney + + * scripts/makemake.tcl (emit_bc_rule): Use $(LIBGCJ_BC_FLAGS) + instead of -findirect-dispatch -fno-indirect-classes. + * configure.ac (libgcj-bc): New AC_ARG_ENABLE. + (SUPPRESS_LIBGCJ_BC): New AM_CONDITIONAL. + * Makefile.am (LIBGCJ_BC_FLAGS): New variable. + * Makefile.in: Regenerate. + * include/Makefile.in: Same. + * testsuite/Makefile.in: Same. + * configure: Same. + * gcj/Makefile.in: Same. + * sources.am: Same. + +2007-12-17 Jakub Jelinek + + * testsuite/Makefile.am (compile-tests): Build + libjava.jvmti/interp/*.h with -jni rather than -cni. + * testsuite/Makefile.in: Rebuilt. + +2007-12-08 Andreas Tobler + + * configure.host: Add bits for i?86-*-darwin9 and x86_64-*-darwin9. + * configure.ac: Add darwin-signal.h to x86_64-*-darwin9 and + i?86-*darwin9. + * configure.in: Regenerate. + * darwin.cc: Add definitions for Darwin specific functions for 64-bit. + (darwin_java_register_dyld_add_image_hook): Use this specific + functions. + * Makefile.am (gij_LDFLAGS): Add extra_gij_ldflags for Darwin9. + * Makefile.in: Regenerate. + * include/Makefile.in: Likewise. + * gcj/Makefile.in: Likewise. + * testsuite/Makefile.in: Likewise. + * testsuite/lib/libjava.exp (libjava_arguments): Add allow_stack_execute + for *-*-darwin9*. + +2007-12-06 David Daney + + * interpret.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE throughout. + (ncode_closure, ffi_closure_fun): Define versions for + non-FFI_NATIVE_RAW_API case. + * include/java-interp.h (INTERP_FFI_RAW_TYPE): Define and use to + replace ffi_raw throughout. + * jni.cc, interpret-run.cc: Replace ffi_raw with INTERP_FFI_RAW_TYPE + throughout. + +2007-12-06 Andreas Tobler + + * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): Make + the testsuite multilib aware for Darwin. + +2007-12-05 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.h: Regenerate. + * gnu/java/awt/peer/gtk/GtkWindowPeer.h: Likewise. + * java/awt/Component.h: Likewise. + * java/awt/Container.h: Likewise. + +2007-11-05 H.J. Lu + + * configure.ac: Don't run config-ml.in directly. + (multilib_arg): New. + * configure: Regenerated. + +2007-10-22 David Daney + + * include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function. + * boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it. + +2007-10-18 David Daney + + * classpath/lib/gnu/java/locale/LocaleData.class: Regenerate + * classpath/lib/gnu/javax/sound/sampled/gstreamer: Add generated + files. + * gnu/javax/sound/sampled/gstreamer: Add generated files. + +2007-10-15 Maciej W. Rozycki + + * configure: Regenerate following changes to ../config/tls.m4. + +2007-09-17 Tom Tromey + + * defineclass.cc (MAJOR_1_6): New define. + (MINOR_1_6): Likewise. + (_Jv_ClassReader::parse): Handle 1.6 bytecode. + +2007-09-12 David Daney + + * configure.host: Enable interpreter for mips64. Enable hash + synchronization for all mips*-*-linux* targets. + * sysdep/mips/locks.h (compare_and_swap, compare_and_swap_release) Use + __sync_bool_compare_and_swap instead of in-line asm. + (release_set, read_barrier, write_barrier): Use __sync_synchronize + instead of in-line asm. + +2007-09-09 Andreas Tobler + + PR libgcj/33326 + * testsuite/lib/libjava.exp (libjava_arguments): Append the test spec + only for linux targets. + +2007-09-09 Andrew Haley + + * interpret-run.cc (invokevirtual_resolved): Nullcheck object on + TOS. + +2007-09-06 Tom Tromey + + * testsuite/libjava.lang/StackTrace2.jar: Rebuilt. + * testsuite/libjava.lang/StackTrace2.java (checkLine): Print file + name. + +2007-09-06 Roman Zippel + + * sysdep/m68k/locks.h: New file. + * configure.host: Set sysdeps_dir and libgcj_interpreter for m68k. + * configure.ac: Set SIGNAL_HANDLER for m68*-*-linux*. + * configure: Regenerate. + +2007-09-05 Samuel Thibault + + * configure.host(gnu*): Set use_libgcj_bc to yes. + +2007-09-04 Matthias Klose + + * configure.ac: Do not pass --with-native-libdir to classpath. + * configure: Regenerate. + +2007-09-04 Matthias Klose + + PR libgcj/33278 + * configure.ac: Robustify extraction of gcj version. + * configure: Regenerate. + +2007-09-04 Andrew Haley + + PR java/27908 + * testsuite/libjava.lang/PR27908.java + ({run1,run2,run3}.isRunning): New Method. + (main): Fix race condition. + +2007-08-29 Andrew Haley + + * gnu/classpath/natVMStackWalker.cc (VMStackWalker::getCallingClass): + Make sure we're not sibcalled. + (GET_CALLING_CLASS): Define for ARM EABI. + +2007-08-22 Andrew Haley + + * configure.host (BACKTRACESPEC): Add arm*-linux*. + +2007-08-22 Andrew Haley + + * configure.ac (LIBSTDCXXSPEC): New. + * configure.host: Add arm*-linux* to pthread test. + * configure.ac (LIBGCJTESTSPEC): Add path to libstdc++ for ARM + EABI. + * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use + -fexceptions for ARM EABI. + * testsuite/lib/libjava.exp (libjava_arguments): Add libgcj-test.spec. + (libjava_invoke): Log the invocation. + +2007-08-15 Andrew Haley + + * configure.ac (extra_ldflags): Define. + * Makefile.am: Use extra_ldflags for all executables. + +2007-08-14 Andrew Haley + + * sysdep/arm/backtrace.h: Remove stubs for _Unwind_GetIPInfo, + _Unwind_GetRegionStart, and _Unwind_Backtrace. + +2007-07-27 Andrew Haley + + * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): Stub for + ARM EABI. + * exception.cc (get_exception_header_from_ue): New. + (get_ttype_entry): ARM EABI version. + (PERSONALITY_FUNCTION): Add ARM EABI code. + * sysdep/arm/backtrace.h: New file. + * stacktrace.cc (_URC_NORMAL_STOP): New. + * configure.ac (extra_ldflags_libjava): Add libsupc++.la for ARM + EABI. + * configure.host (BACKTRACESPEC): Add arm/backtrace.h. + +2007-08-31 Matthias Klose + + * classpath/lib/java/util/EnumSet*.class: Regenerate + +2007-08-30 Andreas Tobler + + * gij.cc (version): Update Copyright year. + +2007-08-16 Samuel Thibault + + * configure.host (gnu*): Set use_libgcj_bc to yes. + +2007-08-15 Tom Tromey + + * java/lang/Class.java (internalGetFields): Use LinkedHashSet. + * classpath/lib/java/lang/Class.class: Rebuilt. + +2007-08-15 Samuel Thibault + + * java/lang/natPosixProcess.cc (sigchld_handler) [!SA_SIGINFO]: Remove + 'si' and 'third' parameters. Disable calling + pmi->old_sigaction.sa_sigaction. + (java::lang::PosixProcess*ProcessManager::init) [!SA_SIGINFO]: Set + sa.sa_handler instead of sa.sa_sigaction, don't set SA_SIGINFO flag. + +2007-08-09 Andrew Haley + + * testsuite/lib/libjava.exp (libjava_invoke): Log the invocation. + +2007-08-08 Samuel Thibault + + * java/net/natVMInetAddressPosix.cc + (java::net::VMInetAddress::getLocalHostname) [!MAXHOSTNAMELEN]: + Allocate buffer dynamically. + +2007-08-04 Alfred M. Szmidt + + * java/io/natFilePosix.cc (init_native) [!MAXPATHLEN]: Define to 0. + * java/io/File.java (createTempFile): Don't truncate if the system + doesn't have a limit on the length of a file name. + * classpath/lib/java/io/File.class: Regenerate. + +2007-08-04 Matthias Klose + + Import GNU Classpath (libgcj-import-20070727). + + * Regenerate class and header files. + * Regenerate auto* files. + + * include/jvm.h: + * jni-libjvm.cc (Jv_JNI_InvokeFunctions): Rename type. + * jni.cc (_Jv_JNIFunctions, _Jv_JNI_InvokeFunctions): Likewise. + * jni.cc (_Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodA, + _Jv_JNI_CallMethodA, _Jv_JNI_CallVoidMethodA, + _Jv_JNI_CallStaticMethodA, _Jv_JNI_CallStaticVoidMethodA, + _Jv_JNI_NewObjectA, _Jv_JNI_SetPrimitiveArrayRegion): Constify + jvalue parameter. + * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise. + + * java/lang/VMFloat.java (toString, parseFloat): New. + + * gnu/awt/xlib/XToolkit.java (setAlwaysOnTop, isModalityTypeSupported, + isModalExclusionTypeSupported): New (stub only). + * gnu/awt/xlib/XCanvasPeer.java (requestFocus): Likewise. + * gnu/awt/xlib/XFramePeer.java (updateMinimumSize, updateIconImages, + updateFocusableWindowState, setModalBlocked, getBoundsPrivate, + setAlwaysOnTop): Likewise. + * gnu/awt/xlib/XFontPeer.java (canDisplay): Update signature. + + * scripts/makemake.tcl: Ignore gnu/javax/sound/sampled/gstreamer, + ignore javax.sound.sampled.spi.MixerProvider, ignore .in files. + + * HACKING: Mention --enable-gstreamer-peer, removal of generated files. + +2007-07-31 David Daney + + * HACKING: Document regenerating configure and aclocal.m4. + +2007-07-31 David Daney + + * configure.ac (INTERPRETER): New AM_CONDITIONAL. + * scripts/makemake.tcl (package_map): Mark jdwp and jvmti packages + as being for interpreter only. Place interpreter related files in + 'if INTERPRETER' block. + (interpreter_package_files): New list. + (interpreter_header_vars): Ditto. + (emit_package_rule_to_list): Renamed from emit_package_rule with + new target list parameter. + (emit_package_rule): Rewritten to call emit_package_rule_to_list. + (emit_interpreter_rule): New function. + (emit_source_var): Place interpreter related files in + interpreter_header_vars. + * Makefile.am (ACLOCAL_AMFLAGS): Add -I libltdl. + (libgcj_interpret_source_files): New variable. + (libgcj_la_SOURCES): Move jvmti.cc and interpret.cc to + libgcj_interpret_source_files and include + libgcj_interpret_source_files. + (nat_jdwp_source_files): New variable. + (nat_jvmti_source_files): Ditto. + (nat_source_files): Move jdwp and jvmti related files to + nat_jdwp_source_files and nat_jvmti_source_files and include + nat_jdwp_source_files and nat_jvmti_source_files. + * Makefile.in: Regenerate. + * include/Makefile.in: Ditto. + * testsuite/Makefile.in: Ditto. + * gcj/Makefile.in: Ditto. + * sources.am: Ditto. + * configure: Ditto. + * include/config.h.in: Ditto. + * interpret.cc: Remove #ifdef INTERPRETER block. + * stacktrace.cc (UnwindTraceFn): Do not handle proxy frames if + interpreter disabled. + * include/java-interp.h (_Jv_FrameType): Move outside of + #ifdef INTERPRETER block. + * include/execution.h (_Jv_IndirectCompiledEngine::do_get_closure_list, + _Jv_InterpreterEngine, _Jv_soleInterpreterEngine): Place in + #ifdef INTERPRETER block. + * jni.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is + defined. + (_Jv_JNI_PopSystemFrame, _Jv_JNI_GetEnv): Only do jvmti processing + if INTERPRETER is defined. + * prims.cc (jvmti.h, jvmti-int.h, Jdwp.h, VMVirtualMachine.h): Only + include if INTERPRETER is defined. + (defaultJdwpOptions, jdwpOptions, jvmti_agent_onload_func, + jvmti_agent_onunload_func, jvmti_agentonload, jvmti_agentonunload, + jvmti_agent_opts, load_jvmti_agent): Only define if INTERPRETER is + defined. + (parse_x_arg): Only process 'runjdwp:' if INTERPRETER is defined. + (parse_init_args): Only process jvmti related options if + INTERPRETER is defined. + (_Jv_CreateJavaVM): Only call _Jv_JVMTI_Init if INTERPRETER is + defined. + (_Jv_RunMain): Only do jvmti and jdwp processing if INTERPRETER is + defined. + * link.cc (jvmti.h, jvmti-int.h): Only include if INTERPRETER is + defined. + (_Jv_ThrowNoClassDefFoundError, _Jv_Linker::create_error_method): + Define if if INTERPRETER is not defined. + (_Jv_Linker::wait_for_state): Only do jvmti proccessing if + INTERPRETER is defined. + * boehm.cc (closure_list_pointer, finalize_closure_list, + _Jv_ClosureListFinalizer): Only define if INTERPRETER is + defined. + * java/lang/natThread.cc (jvmti.h, jvmti-int.h): Only include if + INTERPRETER is defined. + (finish_, _Jv_NotifyThreadStart): Only do jvmti proccessing if + INTERPRETER is defined. + * java/lang/Class.h (_Jv_InterpreterEngine): Move declaration + and friend declaration inside #ifdef INTERPRETER block. + * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures, + _Jv_ClosureList::registerClosure, _Jv_GetInterpClassSourceFile): + Only define if INTERPRETER is defined. + * java/lang/reflect/natVMProxy.cc (UnsupportedOperationException.h): + Include. + (generateProxyClass): Throw UnsupportedOperationException unless + INTERPRETER is defined. + +2007-07-29 Matthias Klose + + * HACKING: Document regenerating configure. + +2007-07-29 H.J. Lu + + PR libgcj/32929 + * aclocal.m4: Regenerated. + * configure: Likewise. + +2007-07-28 Matthias Klose + + * configure.ac: Encode the libgcj soversion in dbexecdir, + pass --with-native-libdir to classpath configure. + * configure: Regenerate. + +2007-07-28 Matthias Klose + + * classpath/jvmti.h: Remove. + +2007-07-27 Tom Tromey + + * Rebuild .class files with new ecj. + +2007-07-23 Rainer Orth + + * configure.ac (mips-sgi-irix6*): Override SYSTEMSPEC. + * configure: Regenerate. + +2007-07-16 Rask Ingemann Lambertsen + + PR target/32340 + * configure.host (arm*-elf | strongarm*-elf | xscale*-elf): Use the + new sysdeps/arm directory. + +2007-07-15 Tom Tromey + + * java/io/File.java: Implement Comparable. + (compareTo): Removed. + * java/io/File.h: Rebuilt. + * classpath/lib/java/io/File.class: Rebuilt. + +2007-07-14 Tom Tromey + + * Rebuilt .class files. + +2007-07-15 Andrew Haley + + * configure.host: + arm*-linux-gnu -> arm*-linux*. + +2007-07-14 Krister Walfridsson + + * gnu/gcj/util/natGCInfo.cc: Use HAVE_STRERROR_R. + * configure.ac: Remove check for strerror, add check for strerror_r. + * configure: Regenerate. + * include/config.h.in: Regenerate. + +2007-07-13 Andrew Haley + + * libgcj.ver: Add __gcj_personality_sj0. + + * testsuite/libjava.jvmti/jvmti-interp.exp: Likewise. + * testsuite/libjava.jni/jni.exp: Use -fdollars-in-identifiers. + * testsuite/libjava.jni/cni.exp: Use -fdollars-in-identifiers. + * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_compile_cxx_to_o): Likewise. + + * gnu/classpath/natVMStackWalker.cc (getCallingClassLoader): Check + klass is non-null. + * java/lang/reflect/natField.cc (getAddr): Call + _Jv_StackTrace::GetCallingClass only if CALLER is non-null. + * java/lang/reflect/natVMProxy.cc (run_proxy): Use + _Jv_getFieldInternal to get field proxyClass.m. + (_Jv_getFieldInternal): New function. + +2007-07-11 Andrew Haley + + * configure.host (arm*-linux-gnu): New. + * sysdep/arm/locks.h: New. + +2007-07-13 Roger Sayle + + * java/lang/natPosixProcess.cc: Include before + to restore bootstrap on powerpc-apple-darwin7.9.0. + +2007-07-12 Matthias Klose + + * gnu/classpath/jdwp/util/MethodResult.h, + gnu/classpath/jdwp/value/ObjectValue.h: Regenerate. + +2007-07-11 Keith Seitz + + * interpret.cc (get_local_var_table) [DIRECT_THREADED]: Make sure the + method is compiled. + * testsuite/libjava.jvmti/interp/getlocalvartable.out: Revise + for compiled methods. + +2007-07-10 Rainer Orth + + PR libgcj/32651 + * configure.host (mips-sgi-irix6*): Set sysdeps_dir. + Disable interpreter. + +2007-07-05 Andreas Tobler + + * java/lang/natPosixProcess.cc: Reorder includes to fix compilation + on hppa2.0w-hp-hpux11.11. + Remove include of . + +2007-07-05 H.J. Lu + + * aclocal.m4: Regenerated. + +2007-07-03 Andreas Tobler + + * java/lang/Class.h: Remove redundant 'class java::*::* declarations. + +2007-07-02 Rainer Orth + + PR libgcj/30513 + * configure.host (i[3-6]86-*): Undef sun. + +2007-06-28 H.J. Lu + + * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): + Fix a typo. + +2007-06-28 Jan Nijtmans + + PR libgcj/30999: + * jni_md.h: Add the possibility to compile jni code with. + -fvisibility=hidden. This causes all symbols to be hidden + except the JNI functions which need to be exported. + +2007-06-28 Andreas Tobler + + * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Pass + the cxxldlibflags to exec_gij to have the right libstdc++ invoked. + +2007-07-21 Keith Seitz + + * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerate. + +2007-07-20 Keith Seitz + + * classpath/lib/gnu/classpath/jdwp/value/StringValue.class: + Regenerate. + +2007-07-20 Keith Seitz + + * gnu/classpath/jdwp/VMVirtualMachine.java (executeMethod): + Update from reference implementation. + * gnu/classpath/jdwp/natVMVirtualMachine.cc (executeMethod): + Update parameter list to match new VMVirtualMachine interface. + * classpath/lib/gnu/classpath/jdwp/processor/ClassTypeCommandSet.class: + Regenerate. + * classpath/lib/gnu/classpath/jdwp/processor/ + ObjectReferenceCommandSet.class: Regenerate. + * classpath/lib/gnu/classpath/jdwp/value/ObjectValue.class: Regenerate. + * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: Regenerate. + * classpath/lib/gnu/classpath/jdwp/util/MethodResult.class: Regenerate. + +2007-06-18 Keith Seitz + + * gnu/gcj/jvmti/Breakpoint.java: Make abstract. + (method): Change from private to protected. + (location): Likewise. + (Breakpoint): Change argument list to take only integer type. + Add default constructor. + (initialize_native): Renamed to ... + (_save_insn): ... this to make function more explicit. + (execute): New method. + * gnu/gcj/jvmti/Breakpoint.h: Regenerate. + * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): Rename to... + (_save_insn): ... this. + (install): Save the original instruction. + * gnu/gcj/jvmti/NormalBreakpoint.java: New file. + * gnu/gcj/jvmti/NormalBreakpoint.h: New file. + * gnu/gcj/jvmti/natNormalBreakpoint.cc: New file. + * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): + Instantiate a NormalBreakpoint instead of Breakpoint. + * interpret-run.cc (insn_breakpoint): Remove breakpoint actions + and call Breakpoint.execute to do them. + * classpath/lib/gnu/gcj/jvmti/Breakpoint.class: Regenerate. + * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: Likewise. + * classpath/lib/gnu/gcj/jvmti/NormalBreakpoint.class: New file. + * sources.am: Regenerate. + * Makefile.am (nat_source_files): Add natNormalBreakpoint.cc. + * Makefile.in: Regenerated. + +2007-06-14 Keith Seitz + + * include/java-interp.h (_Jv_LocalVarTableEntry): Add union + for bytecode_pc and direct-threaded pc. + Add field descriptions inline. + * defineclass.cc (read_one_code_attribute): Change from + bytecode_start_pc to bytecode_pc. + Remove unused variable "len". + * interpret.cc (compile): Remap the variable table, too. + (get_local_var_table) [DIRECT_THREADED]: Use insn_index on the + start location to map from pc_t to code index. + +2007-06-09 Keith Seitz + + * testsuite/libjava.jvmti/dummyagent.c (Agent_OnLoad): + Add missing return value. + +2007-06-03 Matthias Klose + + * java/io/natFileWin32.cc (setFilePermissions): New (stub only). + _access: Handle EXEC query, stub only. + +2007-06-03 Matthias Klose + + Merged from classpath: + * gnu/java/nio/SelectorProviderImpl.java: Whitespace merge. + * java/lang/System.java(inheritedChannel): New. + * java/lang/Character.java: Remove stray`;'. + * java/net/MulticastSocket.java: Merged. + * java/text/DateFormatSymbols.java(getInstance): New, comment updates. + * java/text/Collator.java(getInstance): Merged. + * java/util/Calendar.java: New attributes ALL_STYLES, SHORT, LONG. + getDisplayName, getDisplayNames: New. + * java/util/logging/Logger.java: Merged. + * Regenerate .class and .h files. + +2007-06-03 Matthias Klose + + * java/io/File.java: Merge with classpath-0.95, new method + setFilePermissions, new attribute EXEC. + * java/io/natFilePosix.cc (setFilePermissions): New. + _access: Handle EXEC query. + * classpath/lib/java/io/File.class, java/io/File.h: Regenerate. + +2007-06-03 Matthias Klose + + Imported GNU Classpath 0.95. + + * classpath/Makefile.in, + classpath/native/jni/midi-dssi/Makefile.in, + classpath/native/jni/classpath/Makefile.in, + classpath/native/jni/Makefile.in, + classpath/native/jni/gconf-peer/Makefile.in, + classpath/native/jni/java-io/Makefile.in, + classpath/native/jni/native-lib/Makefile.in, + classpath/native/jni/java-util/Makefile.in, + classpath/native/jni/midi-alsa/Makefile.in, + classpath/native/jni/java-lang/Makefile.in, + classpath/native/jni/java-nio/Makefile.in, + classpath/native/jni/java-net/Makefile.in, + classpath/native/jni/xmlj/Makefile.in, + classpath/native/jni/qt-peer/Makefile.in, + classpath/native/jni/gtk-peer/Makefile.in, + classpath/native/Makefile.in, classpath/native/jawt/Makefile.in, + classpath/native/fdlibm/Makefile.in, + classpath/native/plugin/Makefile.in, + classpath/resource/Makefile.in, classpath/scripts/Makefile.in, + classpath/tools/Makefile.in, classpath/doc/Makefile.in, + classpath/doc/api/Makefile.in, classpath/lib/Makefile.in, + classpath/external/Makefile.in, classpath/external/jsr166/Makefile.in, + classpath/external/sax/Makefile.in, + classpath/external/w3c_dom/Makefile.in, + classpath/external/relaxngDatatype/Makefile.in, + classpath/include/Makefile.in, + classpath/examples/Makefile.in: Regenerate. + * classpath/config.guess, classpath/config.sub, + classpath/ltmain.sh : Update. + * classpath/configure, classpath/depcomp, classpath/missing, + classpath/aclocal.m4, classpath/install-sh: Regenerate. + + * gnu/classpath/Configuration.java (CLASSPATH_VERSION): Now 0.95. + * sources.am: Regenerate. + * Makefile.in: Regenerate. + + * Update the .class files and generated CNI header files, add new + .class and generated CNI header files. + * Remove generated files for removed java source files: + classpath/gnu/java/net/BASE64.java, + classpath/gnu/java/security/util/Base64.java, + classpath/gnu/java/awt/peer/gtk/GThreadMutex.java, + classpath/gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, + classpath/gnu/java/awt/font/autofit/Scaler.java, + classpath/gnu/classpath/jdwp/util/Value.java, + classpath/gnu/javax/net/ssl/Base64.java. + * Remove empty directories. + + * Makefile.am(nat_source_files): Add natVMOperatingSystemMXBeanImpl.cc. + * java/lang/Class.java(setAccessible): Merge from classpath. + * java/util/Locale.java: Remove. + * gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java, + gnu/java/lang/management/natVMOperatingSystemMXBeanImpl.cc: New. + * gcj/javaprims.h: Update class declarations. + * scripts/classes.pl: Update usage. + * HACKING: Mention to build all peers. + +2007-06-02 Paolo Bonzini + + * configure: Regenerate. + +2007-05-31 Andrew Haley + + * java/lang/natClassLoader.cc (_Jv_NewClassFromInitializer): Clear + INTERPRETED access modifier. + +2007-05-31 Paolo Bonzini + + PR libjava/32098 + * configure: Regenerated. + * aclocal.m4: Regenerated. + +2007-05-30 H.J. Lu + + PR libjava/32098 + * configure: Regenerated. + +2007-05-29 H.J. Lu + + * configure.ac: Don't include ../config/confsubdir.m4. + * aclocal.m4: Regenerated. + * configure: Likewise. + +2007-05-27 Paolo Bonzini + + PR bootstrap/32078 + * configure.ac: Include confsubdir.m4. + * configure: Regenerate. + +2007-05-24 Keith Seitz + + * include/java-interp.h (_Jv_InterpFrame::get_pc): Only deduct + one when pc_ptr is non-NULL. + + * prims.cc (parse_init_args): Enable JVMTI with agentlib + and agentpath options. + + * testsuite/lib/libjava.exp (exec_gij): Add new addl_flags + parameter. + * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): + Pass '-agentlib:dummyagent' when executing gij. + (gij_jvmti_run): Build dummy JVMTI agent before running tests, + and remove it when finished. + * testsuite/libjava.jvmti/dummyagent.c: New file. + +2007-05-23 Steve Ellcey + + * Makefile.in: Regenerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * gcj/Makefile.in: Regenerate. + * include/Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + +2007-05-17 Kyle Galloway + + * classpath/gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (executeMethods): Remove cast to ClassReferenceTypeId. + * classpath/lib/gnu/classpath/jdwp/processor/ + ReferenceTypeCommandSet.class: Rebuilt. + +2007-05-17 Kyle Galloway + + * gnu/classpath/jdwp/natVMMethod.cc (getModifiers): Check for native + classes and mark methods as native appropriately. + +2007-05-17 Kyle Galloway + + * gnu/classpath/jdwp/VMFrame.java (): Add parameter for "this" + pointer. + * gnu/classpath/jdwp/VMFrame.h: Regenerated. + * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. + * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrame): Use new + VMFrame constructor. + +2007-05-16 David Daney + + * include/java-stack.h (_Jv_FrameInfo): Remove union definition. + (_Jv_StackFrame): Remove commented out code. + (_Jv_UnwindState): Remove superfluous 'typedef'. + * sun/misc/natUnsafe.cc (spinlock): Add white space to quiet + compiler warnings. + * gnu/java/lang/management/natVMMemoryPoolMXBeanImpl.cc + (getCollectionUsage): Don't declare unused parameter n. + (getMemoryManagerNames): Same. + * gnu/gcj/util/natGCInfo.cc (gc_debug_info): Remove superfluous + 'typedef'. + +2007-05-16 Keith Seitz + + * include/java-interp.h (breakpoint_at): Declare. + * interpret.cc (breakpoint_at): New function. + * gnu/classpath/jdwp/VMVirtualMachine.java (_event_list): + New member. + * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): + Initialize _event_list. + (handle_single_step): If there is a breakpoint at the + location at which we are stopping, do not send the notification. + Instead add the event to a list of events that occur at this + location. + (jdwpBreakpointCB): If the event list is not empty, send + whatever events are in it and the breakpoint event in a single + notification. + Mark parameter jni_env as MAYBE_UNUSED. + * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: + Regenerated. + * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. + +2007-05-15 David Daney + + * classpath/lib/javax/swing/text/html/HTMLEditorKit.class: Regenerate + * gnu/java/awt/peer/gtk/ComponentGraphics.h: Same. + +2007-05-15 Keith Seitz + + * interpret.cc (STOREA): Rewrite using temporary variable to + avoid double-macro expansion side-effects. + (STOREI): Likewise. + (STOREF): Likewise. + (STOREL)[SIZEOF_VOID_P == 8]: Likewise. + (STORED)[SIZEOF_VOID_P == 8]: Likewise. + (STOREL)[SIZEOF_VOID_P != 8]: Likewise. + (STORED)[SIZEOF_VOID_P != 8]: Likewise. + (POKEI): Likewise. + +2007-05-12 David Daney + + PR libgcj/29324 + * include/posix-threads.h (_Jv_BlockSigchld): Declare. + (_Jv_UnBlockSigchld): Same. + * posix-threads.cc: Include posix-threads.h. + (block_sigchld) Rename to... + (_Jv_BlockSigchld) ... this. + (_Jv_UnBlockSigchld): New function. + (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld. + (_Jv_ThreadStart): Same. + * java/lang/PosixProcess$ProcessManager.h: Regenerate. + * java/lang/PosixProcess.java: Clean up imports. + (ProcessManager): Make final. + (ProcessManager.queue): Genericise and make private. + (ProcessManager.pidToProcess): Remove. + (ProcessManager.liveProcesses): New field. + (ProcessManager.reaperPID): Remove. + (ProcessManager.nativeData): New field. + (ProcessManager.removeProcessFromMap): Remove. + (ProcessManager.addProcessToMap):Remove. + (ProcessManager.addToLiveProcesses): New method. + (ProcessManager.run): Rewritten. + (ProcessManager.reap): Change method signature, + (getErrorStream): Correct formatting. + (getInputStream): Same. + (spawn): Add process to liveProcesses list. + (pid): Make package private. + * java/lang/PosixProcess.h: Regenerate. + * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h. + Add useing namespace java::lang. + (ProcessManagerInternal): New struct. + (sigchld_handler): Rewritten. + (init): Rewritten. + (waitForSignal): Same. + (reap): Same. + (signalReaper): Same. + (nativeDestroy): Call kill as ::kill. + (nativeSpawn): Correct formatting. + * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate. + * classpath/lib/java/lang/PosixProcess.class: Same. + * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. + +2007-05-07 Ian Lance Taylor + + PR java/31842 + * java/lang/natString.cc (_Jv_FormatInt): Avoid undefined signed + overflow. + +2007-05-07 Keith Seitz + + * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerate. + * classpath/lib/gnu/classpath/jdwp/Jdwp$1.class: Regenerate. + * classpath/lib/gnu/classpath/jdwp/event/Event.class: + Regenerate. + * classpath/lib/gnu/classpath/jdwp/transport/JdwpConnection.class: + Regenerate. + * gnu/classpath/jdwp/Jdwp.h: Regenerate. + * gnu/classpath/jdwp/event/Event.h: Regenerate. + * gnu/classpath/jdwp/transport/JdwpConnection.h: Regenerate. + +2007-05-04 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (getClassMethod): Change + to use JVMTI. + +2007-05-03 Keith Seitz + + * interpret.cc: Don't include ExceptionEvent.h. + * gnu/gcj/jvmti/natExceptionEvent.cc: Remove. + * Makefile.am (nat_source_files): Remove natExceptionEvent.cc. + * Makefile.in: Regenerated. + +2007-05-03 Keith Seitz + + * include/jvmti-int.h (_Jv_ReportJVMTIExceptionThrow): + Declare. + * interpret.cc (_Jv_ReportJVMTIExceptionThrow): New function. + (find_catch_location): New function. + (REPORT_EXCEPTION): New macro. + (throw_internal_error): Use REPORT_EXCEPTION. + (throw_incompatible_class_change_error): Likewise. + (throw_null_pointer_exception): Likewise. + (throw_class_format_error): Likewise. + * interpret-run.cc (INTERP_REPORT_EXCEPTION)[DEBUG]: Set + to REPORT_EXCEPTION. + (INTERP_REPORT_EXCEPTION)[!DEBUG]: Make nop. + (insn_new): Use INTERP_REPORT_EXCEPTION. + (insn_athrow): Likewise. + Remove previous JVMTI exception notifications. + Add JVMTI ExceptionCatch notificatin. + * jni.cc (_Jv_PopSystemFrame): Notify JVMTI clients of + exception throw. + * gnu/gcj/jvmti/ExceptionEvent.java: Removed. + * gnu/gcj/jvmti/ExceptionEvent.h: Removed. + * classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: Removed. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpExceptionCB): New function. + (jdwpVMInitCB): Set Exception event handler and enable. + * sources.am: Regenerated. + * Makefile.in: Regenerated. + +2007-05-03 Thomas Fitzsimmons + + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304 + * Makefile.in: Regenerate. + * scripts/makemake.tcl (scan_directory): Treat default.css as a + property file. + * classpath/javax/swing/text/html/default.css: Move to... + * classpath/resource/javax/swing/text/html/default.css: New file. + * classpath/javax/swing/text/html/HTMLEditorKit.java + (getStyleSheet): Throw RuntimeException when style loading fails. + * sources.am (property_files): Add + classpath/resource/javax/swing/text/html/default.css. + +2007-05-02 Tom Tromey + + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=238755 + * java/lang/natCharacter.cc (Character::getType): Handle negative + code points. + (Character::toLowerCase): Likewise. + (Character::toUpperCase): Likewise. + (Character::digit): Likewise. + (Character::getNumericValue): Likewise. + (Character::getDirectionality): Likewise. + (Character::toTitleCase): Likewise. + +2007-04-30 Keith Seitz + + * interpret-run.cc (NEXT_INSN)[DEBUG]: Advance PC before + executing the instruction. + * include/java-interp.h (_Jv_InterpFrame::get_pc): Subtract + one insn from the frame's PC. _Jv_InterpMethod::run et al + will advance the PC before executing the instruction. + +2007-04-27 Keith Seitz + + * classpath/lib/gnu/classpath/jdwp/Jdwp.class: Regenerated. + * classpath/lib/gnu/classpath/jdwp/event/EventManager.class: + Regenerated. + * gnu/classpath/jdwp/event/EventManager.h: Regenerated. + +2007-04-27 Keith Seitz + + * classpath/lib/gnu/classpath/jdwp/event/filters/ + LocationOnlyFilter.class: Regenerated; + * classpath/lib/gnu/classpath/jdwp/util/Location.class: + Regenerated. + * gnu/classpath/jdwp/VMMethod.java + * classpath/lib/gnu/classpath/jdwp/VMMethod.class: + Regenerated. + * gnu/classpath/jdwp/VMMethod.h: Regenerated. + * gnu/classpath/jdwp/util/Location.h: Regenerated. + +2007-04-27 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/CairoGraphics2D.h: Regenerate. + * gnu/java/awt/peer/gtk/ComponentGraphics.h: Regenerate. + +2007-04-25 Kyle Galloway + + * gnu/classpath/jdwp/VMIdManager.java (getObjectId): Deal with null + objects. + (get): Deal with ObjectId of 0. + +2007-04-24 John David Anglin + + PR libgcj/31084 + * java/lang/natVMProcess.cc: Include platform.h before jvm.h. + +2007-04-24 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine.java + (getThreadStatus): Implement. + +2007-04-24 Keith Seitz + + * headers.txt (gnu/gcj/jvmti/Breakpoint.h)[DIRECT_THREADED]: + Add _Jv_RewriteBreakpointInsn friend declaration. + * gnu/gcj/jvmti/natBreakpoint.cc (_Jv_RewriteBreakpointInsn) + [DIRECT_THREADED]: New function. + * gnu/gcj/jvmti/Breakpoint.h: Regenerate. + * interpret-run.cc: Define new REWRITE_INSN macro. + Changed all occurrences of insn rewriting to call REWRITE_INSN. + +2007-04-23 Keith Seitz + + * include/no-gc.h (_Jv_IsThreadSuspended): Declare. + * include/boehm-gc.h (_Jv_IsThreadSuspended): Likewise. + * boehm.cc (_Jv_IsThreadSuspended): New function. + * nogc.cc (_Jv_IsThreadSuspended): Likewise. + * jvmti.cc (_Jv_JVMTI_GetThreadState): New function. + (_Jv_JVMTI_Interface): Define GetThreadState. + +2007-04-23 Kyle Galloway + + * include/java-interp.h (_Jv_InterpFrame): Add pointer to the + interpreter PC. + (): Add a pointer to the interpreter PC as a parameter with + default value NULL. + (get_pc): New method. + * interpret-run.cc: If debugging, pass a pointer to the PC when + creating the stack frame. + * jvmti.cc (_Jv_JVMTI_GetStackTrace): Call _Jv_InterpFrame::get_pc + to get the PC. + +2007-04-23 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (getSourceFile): Check + for null source file and throw an exception indicating this. + +2007-04-20 Keith Seitz + + * gnu/gcj/jvmti/BreakpointManager.java (newBreakpoint): + Install the new breakpoint into the bytecode. + (deleteBreakpoint): Remove the breakpoint from the bytecode. + * classpath/lib/gnu/gcj/jvmti/BreakpointManager.class: + Regenerate. + * gnu/gcj/jvmti/natBreakpoint.cc (initialize_native): + Don't install the breakpoint here. + +2007-04-19 Keith Seitz + + * interpret-run.cc [insn_breakpoint]: Save the original + insn for the breakpoint before posting the JVMTI notification. + +2007-04-19 Tom Tromey + + * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.h: Rebuilt. + +2007-04-18 Tom Tromey + + * Regenerated headers with new gjavah. + +2007-04-18 Andrew Haley + + * java/lang/reflect/natVMProxy.cc (ncode_closure): Add + method_index. + (generateProxyClass): Add field $Proxy0.m. Store methods array in + it. + (run_proxy): Retrieve the method to invoke from in $Proxy0.m. + * java/lang/Class.h: Remove _Jv_LookupProxyMethod. + * java/lang/natClass.cc: Likewise. + * headers.txt: Likewise. + * java/lang/reflect/Method.h: Likewise. + +2007-04-16 Andrew Haley + + * gnu/gcj/runtime/BootClassLoader.java (getBootURLLoader): New + method. + (bootGetResource): Use getBootURLLoader() to load resources. + (bootGetResources): Likewise. + + * java/lang/reflect/natMethod.cc (Method::invoke): In invoke also + check that the method's declaring class is accessible. + +2007-04-10 Keith Seitz + + * sources.am: Regenerate. + * Makefile.in: Likewise. + +2007-04-09 Kyle Galloway + + * interpret-run.cc: If debugging, check if args is NULL before + getting the "this" pointer. + +2007-04-09 Kyle Galloway + + * classpath/gnu/classpath/jdwp/value/ArrayValue.java: New file. + * classpath/lib/gnu/classpath/jdwp/value/ArrayValue.class: New file. + * gnu/classpath/jdwp/ArrayValue.h: New file. + * gnu/classpath/jdwp/natVMFrame.cc (getValue): Add array case. + (setValue): Ditto. + +2007-04-09 David Daney + + PR libgcj/23758 + * java/lang/natPosixProcess.cc (nativeSpawn): Move building of + environment before the fork. + * testsuite/libjava.lang/Process_7.java: New test. + * testsuite/libjava.lang/Process_7.out: Its expected results. + * testsuite/libjava.lang/Process_7.jar: Generated file. + +2007-04-09 H.J. Lu + + * prims.cc (load_jvmti_agent): Add the missing `,'. + +2007-04-09 Kyle Galloway + + * gij.cc (main): Accept -agentlib and -agentpath options. + * prims.cc (parse_init_args): Deal with -agentlib and -agentpath. + (load_jvmti_agent): New function. + +2007-04-04 Tania Bento + + * java/text/DecimalFormatSymbols.java: Added the year 2007 to + Copyright information and introduced new variable, currency. + (DecimalFormatSymbols(Locale)): Define currency and intlCurrencySymbol + to "XXX", currencySymbol to "?" and localCurrency appropriately. + (getCurrency): Fixed documentation and return the value of currency. + (setCurrency): Fixed documentation and update the value of currency. + (setInternationalCurrencySymbol): Fixed documentation and update the + value of currency. + * java/util/Currency.java: Introduced two new variables, properties + and fractionDigits. In the static block, a properties object is + created and the currency resource is loaded. + (Currency(Locale)): fractionDigits is defined. + (Currency(String)): New method. + (getDefaultFractionDigits): Return the value of fractionDigits. + (getInstance(String)): Check if String is equal to "XXX". + +2007-04-04 Kyle Galloway + + * classpath/gnu/classpath/jdwp/util/VariableTable.java: Change longs + to ints for argCnt and slots. + (write): Replace writeLong with writeInt for the above. + +2007-04-03 Andrew Haley + + * testsuite/libjava.lang/ProxyTest.java: New test. + +2007-04-02 Tom Tromey + + http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205157 + * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Extend + file, when writing, if it is too short. + +2007-04-02 Tom Tromey + + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=233406 + * gnu/java/net/natPlainSocketImplPosix.cc (create): Return if + already created. + * gnu/java/net/PlainSocketImpl.java (getLocalAddress): Handle case + where localport is -1. + (create): Now public. + * gnu/java/nio/SocketChannelImpl.java (SocketChannelImpl): Call + 'create' on the socket. + +2007-04-02 Andrew Haley + + * java/lang/reflect/natVMProxy.cc (run_proxy): Use + _Jv_LookupProxyMethod to find the Method. + If parameter_types->length == 0, pass a null paramameter list, + not a zero-length parameter list. + * java/lang/natClass.cc (_Jv_LookupProxyMethod): New function. + * java/lang/Class.h (_Jv_LookupProxyMethod): Declare. + +2007-04-02 Kyle Galloway + + * interpret-run.cc: Add code to properly set up variable slots + when debugging. + * gnu/classpath/jdwp/natVMFrame.cc (checkJVMTIError): New function. + (getObjectJVMTI): New function. + (setObjectJVMTI): New function. + (getIntJVMTI): New function. + (setIntJVMTI): New function. + (getLongJVMTI): New function. + (setLongJVMTI): New function. + (getFloatJVMTI): New function. + (setFloatJVMTI): New function. + (getDoubleJVMTI): New function. + (setDoubleJVMTI): New function. + (getFrameDepth): New function. + (getValue): Implement. + (setValue): Implement. + +2007-04-02 Kyle Galloway + + * classpath/gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (executeResume): Call VMVirtualMachine.resumeThread. + +2007-03-29 Tom Tromey + + PR libgcj/29869: + * java/util/logging/LogManager.java (readConfiguration): Handle + comma-separated 'handlers'. Don't try to add a non-existing + handler. + +2007-03-27 Tom Tromey + + * sources.am, Makefile.in: Rebuilt. + * scripts/mime.types: Removed. + * scripts/MakeDefaultMimeTypes.java: Removed. + * gnu/gcj/io/MimeTypes.java: Removed. + * gnu/gcj/io/MimeTypes.h: Removed. + * gnu/gcj/io/DefaultMimeTypes.java: Removed. + * gnu/gcj/io/DefaultMimeTypes.h: Removed. + +2007-03-27 Keith Seitz + + * gnu/classpath/jdwp/VMFrame.java: Update from upstream + classpath. + * gnu/classpath/jdwp/natVMFrame.cc: Likewise. + * gnu/classpath/jdwp/VMVirtualMachine.java: Likewise. + * gnu/classpath/jdwp/natVMVirtualMachine.cc: Likewise. + (initialize): Fix compiler type-punning warning. + (getAllLoadedClasses): Return empty list instead of NULL. + (getLoadRequests): Likewise. + * gnu/classpath/jdwp/exception/InvalidTagException.h: New file. + * gnu/classpath/jdwp/exception/InvalidSlotException.h: New file. + * gnu/classpath/jdwp/exception/TypeMismatchException.h: New file. + * gnu/classpath/jdwp/VMVirtualMachine.h: Rebuilt. + * gnu/classpath/jdwp/value/CharValue.h: New file. + * gnu/classpath/jdwp/value/LongValue.h: New file. + * gnu/classpath/jdwp/value/ShortValue.h: New file. + * gnu/classpath/jdwp/value/Value.h: New file. + * gnu/classpath/jdwp/value/BooleanValue.h: New file. + * gnu/classpath/jdwp/value/VoidValue.h: New file. + * gnu/classpath/jdwp/value/ByteValue.h: New file. + * gnu/classpath/jdwp/value/FloatValue.h: New file. + * gnu/classpath/jdwp/value/ObjectValue.h: New file. + * gnu/classpath/jdwp/value/StringValue.h: New file. + * gnu/classpath/jdwp/value/ValueFactory.h: New file. + * gnu/classpath/jdwp/value/IntValue.h: New file. + * gnu/classpath/jdwp/value/DoubleValue.h: New file. + * gnu/classpath/jdwp/VMFrame.h: Rebuilt. + * gnu/classpath/jdwp/id/NullObjectId.h: New file. + * gnu/classpath/jdwp/util/MethodResult.h: Rebuilt. + * gnu/classpath/jdwp/util/NullObject.h: New file. + * gnu/classpath/jdwp/util/MonitorInfo.h: New file. + * Makefile.in: Rebuilt. + * sources.am: Rebuilt. + +2006-03-26 David Daney + + * configure.ac: Remove checks for mktime, alloca, ioctl, gmtime_r, + fork, execvp, execinfo.h, pthread_mutexattr_settype, + pthread_mutexattr_setkind_np and sys/wait.h. + * Makefile.in: Regenerate. + * include/Makefile.in: Regenerate. + * include/config.h.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + * configure: Regenerate. + * gcj/Makefile.in: Regenerate. + +2007-03-23 Gary Benson + + * link.cc (_Jv_Linker::resolve_method_entry): + Ensure that the argument types and the return type of the + found method match those expected by the calling method. + +2007-03-22 David Daney + + PR libgcj/31228 + * configure.ac: Add checks for getrlimit and sys/resource.h. + * include/posix.h (_Jv_platform_close_on_exec): Remove. + * include/config.h.in: Regenerate. + * configure: Regenerate. + * gnu/java/nio/channels/natFileChannelPosix.cc (open): Remove call to + _Jv_platform_close_on_exec; + * gnu/java/net/natPlainSocketImplPosix.cc (create): Likewise. + (accept): Likewise. + * gnu/java/net/natPlainDatagramSocketImplPosix.cc (create):Likewise. + * java/lang/natPosixProcess.cc: Include sys/resource.h. + (nativeSpawn): Close all file descriptors. Don't set FD_CLOEXEC on + pipes. + +2007-03-20 Andrew Haley + + * testsuite/libjava.lang/PR31264.java: New test. + +2007-03-14 Jakub Jelinek + + * Makefile.am (AM_MAKEFLAGS): Pass through mandir. + * Makefile.in: Rebuilt. + +2007-03-13 Keith Seitz + + * include/java-interp.h (_Jv_InterpClass): Declare + friend function _Jv_GetInterpClassSourceFile. + * java/lang/Class.h (Class): Likewise. + * java/lang/natClass.cc (_Jv_GetInterpClassSourceFile): + New function. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (getSourceFile): Implement. + +2007-03-13 Thomas Fitzsimmons + + * Makefile.am (AM_CXXFLAGS): Define ECJ_JAR_FILE. + * classpath/configure.ac: Add --with-ecj-jar configure option. + * classpath/gnu/classpath/Configuration.java.in (ECJ_JAR): New + field. + * classpath/INSTALL: Document --with-ecj-jar configure option and + ecj jar requirement for com.sun.tools.javac support. + * classpath/tools/Makefile.am: Build decendents of com and sun + directories. + * configure.ac: Substitute ECJ_JAR in stub Configuration.java. + * gnu/classpath/Configuration.java, + gnu/classpath/natConfiguration.cc (ecj): New method. + (ECJ_JAR): New field. + * scripts/makemake.tcl (scan_packages): Add com directory. + * sources.am (property_files): Add + classpath/resource/sun/rmi/rmic/messages.properties and + classpath/resource/com/sun/tools/javac/messages.properties. + * classpath/resource/com, classpath/resource/com/sun, + classpath/resource/com/sun/tools, + classpath/resource/com/sun/tools/javac, classpath/resource/sun, + classpath/resource/sun/rmi, classpath/resource/sun/rmi/rmic, + classpath/tools/classes/com, classpath/tools/classes/com/sun, + classpath/tools/classes/com/sun/javadoc, + classpath/tools/classes/com/sun/tools, + classpath/tools/classes/com/sun/tools/doclets, + classpath/tools/classes/sun, classpath/tools/classes/sun/rmi, + classpath/tools/classes/sun/rmi/rmic, classpath/tools/com, + classpath/tools/com/sun, classpath/tools/com/sun/javadoc, + classpath/tools/com/sun/tools, + classpath/tools/com/sun/tools/doclets, + classpath/tools/com/sun/tools/javac, classpath/tools/sun, + classpath/tools/sun/rmi, classpath/tools/sun/rmi/rmic: New + directories. + * classpath/resource/com/sun/tools/javac/messages.properties, + classpath/resource/sun/rmi/rmic/messages.properties, + classpath/tools/classes/com/sun/javadoc/ClassDoc.class, + classpath/tools/classes/com/sun/javadoc/ConstructorDoc.class, + classpath/tools/classes/com/sun/javadoc/Doc.class, + classpath/tools/classes/com/sun/javadoc/DocErrorReporter.class, + classpath/tools/classes/com/sun/javadoc/Doclet.class, + classpath/tools/classes/com/sun/javadoc/ExecutableMemberDoc.class, + classpath/tools/classes/com/sun/javadoc/FieldDoc.class, + classpath/tools/classes/com/sun/javadoc/MemberDoc.class, + classpath/tools/classes/com/sun/javadoc/MethodDoc.class, + classpath/tools/classes/com/sun/javadoc/PackageDoc.class, + classpath/tools/classes/com/sun/javadoc/ParamTag.class, + classpath/tools/classes/com/sun/javadoc/Parameter.class, + classpath/tools/classes/com/sun/javadoc/ProgramElementDoc.class, + classpath/tools/classes/com/sun/javadoc/RootDoc.class, + classpath/tools/classes/com/sun/javadoc/SeeTag.class, + classpath/tools/classes/com/sun/javadoc/SerialFieldTag.class, + classpath/tools/classes/com/sun/javadoc/SourcePosition.class, + classpath/tools/classes/com/sun/javadoc/Tag.class, + classpath/tools/classes/com/sun/javadoc/ThrowsTag.class, + classpath/tools/classes/com/sun/javadoc/Type.class, + classpath/tools/classes/com/sun/javadoc/TypeVariable.class, + classpath/tools/classes/com/sun/tools/doclets/Taglet.class, + classpath/tools/classes/sun/rmi/rmic/Main.class, + classpath/tools/classes/sun/rmi/rmic/Messages.class, + classpath/tools/com/sun/javadoc/ClassDoc.java, + classpath/tools/com/sun/javadoc/ConstructorDoc.java, + classpath/tools/com/sun/javadoc/Doc.java, + classpath/tools/com/sun/javadoc/DocErrorReporter.java, + classpath/tools/com/sun/javadoc/Doclet.java, + classpath/tools/com/sun/javadoc/ExecutableMemberDoc.java, + classpath/tools/com/sun/javadoc/FieldDoc.java, + classpath/tools/com/sun/javadoc/MemberDoc.java, + classpath/tools/com/sun/javadoc/MethodDoc.java, + classpath/tools/com/sun/javadoc/PackageDoc.java, + classpath/tools/com/sun/javadoc/ParamTag.java, + classpath/tools/com/sun/javadoc/Parameter.java, + classpath/tools/com/sun/javadoc/ProgramElementDoc.java, + classpath/tools/com/sun/javadoc/RootDoc.java, + classpath/tools/com/sun/javadoc/SeeTag.java, + classpath/tools/com/sun/javadoc/SerialFieldTag.java, + classpath/tools/com/sun/javadoc/SourcePosition.java, + classpath/tools/com/sun/javadoc/Tag.java, + classpath/tools/com/sun/javadoc/ThrowsTag.java, + classpath/tools/com/sun/javadoc/Type.java, + classpath/tools/com/sun/javadoc/TypeVariable.java, + classpath/tools/com/sun/tools/doclets/Taglet.java, + classpath/tools/com/sun/tools/javac/Main.java, + classpath/tools/com/sun/tools/javac/Messages.java, + classpath/tools/sun/rmi/rmic/Main.java, + classpath/tools/sun/rmi/rmic/Messages.java: New files. + * Makefile.in, classpath/Makefile.in, classpath/configure, + classpath/doc/Makefile.in, classpath/doc/api/Makefile.in, + classpath/examples/Makefile.in, classpath/external/Makefile.in, + classpath/external/jsr166/Makefile.in, + classpath/external/relaxngDatatype/Makefile.in, + classpath/external/sax/Makefile.in, + classpath/external/w3c_dom/Makefile.in, + classpath/include/Makefile.in, classpath/include/config.h.in, + classpath/lib/Makefile.in, + classpath/lib/gnu/classpath/Configuration.class, + classpath/native/Makefile.in, classpath/native/fdlibm/Makefile.in, + classpath/native/jawt/Makefile.in, + classpath/native/jni/Makefile.in, + classpath/native/jni/classpath/Makefile.in, + classpath/native/jni/gconf-peer/Makefile.in, + classpath/native/jni/gtk-peer/Makefile.in, + classpath/native/jni/java-io/Makefile.in, + classpath/native/jni/java-lang/Makefile.in, + classpath/native/jni/java-net/Makefile.in, + classpath/native/jni/java-nio/Makefile.in, + classpath/native/jni/java-util/Makefile.in, + classpath/native/jni/midi-alsa/Makefile.in, + classpath/native/jni/midi-dssi/Makefile.in, + classpath/native/jni/native-lib/Makefile.in, + classpath/native/jni/qt-peer/Makefile.in, + classpath/native/jni/xmlj/Makefile.in, + classpath/native/plugin/Makefile.in, + classpath/resource/Makefile.in, classpath/scripts/Makefile.in, + classpath/tools/Makefile.in, configure, + gnu/classpath/Configuration.h: Regenerate. + +2007-03-12 Kyle Galloway + + * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): Make wide type arrays count + as a sigle slot. + +2007-03-12 Marco Trudel + + * java/lang/natString.cc (getBytes (jstring enc)): + Fixed the loop for multiple cycles, Code cleanup + +2007-03-09 Tom Tromey + + * sources.am, Makefile.in: Rebuilt. + * scripts/makemake.tcl (scan_directory): Allow service files to be + omitted. + Omit all XML-related service files. + +2007-03-07 Tom Tromey + + * configure: Rebuilt. + * configure.ac: Clear vm-tools-packages. + +2007-03-07 Mohan Embar + + * java/lang/Win32Process.java: Added nested class EOFInputStream. + * java/lang/natWin32Process.cc (ChildProcessPipe): Added DUMMY + enum and implementation. + (startProcess): Use redirect flag. + * classpath/lib/java/lang/Win32Process.class: Regenerated. + * classpath/lib/java/lang/Win32Process$EOFInputStream.class: New. + * gcj/javaprims.h: Regenerated. + * java/lang/Win32Process$EOFInputStream.h: New. + +2007-03-07 Andrew Haley + + * libgcj_bc.c (JvRunMainName): Declare. + +2007-03-07 Gary Benson + + * sources.am, Makefile.in: Rebuilt. + +2007-03-07 Mohan Embar + + * gcj/javaprims.h: Regenerated. + +2007-03-07 Alexandre Oliva + + * include/jvm.h (_Jv_ClosureListFinalizer): New. + (_Jv_Linker::create_error_method): Adjust. + * boehm.cc (_Jv_ClosureListFinalizer): New. + * nogc.cc (_Jv_ClosureListFinalizer): New. + * java/lang/Class.h (class _Jv_ClosureList): New. + (class java::lang::Class): Declare it as friend. + * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New. + (_Jv_ClosureList::registerClousure): New. + * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list. + (_Jv_CompiledEngine::do_get_closure_list): New. + (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it. + (_Jv_IndirectCompiledClass): Add closures. + (_Jv_IndirectCompiledEngine::get_aux_info): New. + (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use + it. + (_Jv_IndirectCompiledEngine::do_get_closure_list): New. + (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it. + (_Jv_InterpreterEngine::do_get_closure_list): Declare. + (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it. + * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants. + (node_closure): Add closure list. + (_Jv_InterpMethod::ncode): Add jclass argument. Use + ffi_closure_alloc and the separate code pointer. Register the + closure for finalization. + (_Jv_JNIMethod::ncode): Likewise. + (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode. + (_Jv_InterpreterEngine::do_get_closure_list): New. + * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust. + (_Jv_InterpClass): Add closures field. + (_Jv_JNIMethod::ncode): Adjust. + * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust. + (_Jv_ClassReader::handleMethodsEnd): Likewise. + * link.cc (struct method_closure): Add closure list. + (_Jv_Linker::create_error_method): Add jclass argument. Use + ffi_closure_alloc and the separate code pointer. Register the + closure for finalization. + (_Jv_Linker::link_symbol_table): Remove outdated comment about + sharing of otable and atable. Adjust. + * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure + list. + (ncode): Add jclass argument. Use ffi_closure_alloc and the + separate code pointer. Register the closure for finalization. + (java::lang::reflect::VMProxy::generateProxyClass): Adjust. + * testsuite/libjava.jar/TestClosureGC.java: New. + * testsuite/libjava.jar/TestClosureGC.out: New. + * testsuite/libjava.jar/TestClosureGC.xfail: New. + * testsuite/libjava.jar/TestClosureGC.jar: New. + +2007-03-06 Kyle Galloway + + * classpath/gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. + * classpath/lib/gnu/classpath/jdwp/exception/AbsentInformationException.class: Ditto. + * gnu/classpath/jdwp/exception/AbsentInformationException.h: Ditto. + * gnu/classpath/jdwp/natVMMethod.cc: Add CHECK_INTERP_CLASS macro. + (VMMethod::getLineTable): Use new macro. + (VMMethod::getVariableTable): Implement. + * sources.am: Regenerated. + * Makefile.in: Ditto. + +2007-03-06 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (bin_PROGRAMS): Added gcjh. + (gcjh_SOURCES, gcjh_LDFLAGS, gcjh_LINK, gcjh_LDADD, + gcjh_DEPENDENCIES): New variables. + +2007-03-06 Kyle Galloway + + * jvmti.cc(_Jv_JVMTI_GetLocalVariableTable): Fix _Jv_Malloc parameters. + * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc + (do_getlocalvartable_tests): Add Deallocate calls to free strings. + +2007-03-05 Matthias Klose + + * Makefile.am (gij_LDFLAGS): Use dbexecdir. + * Makefile.in: Regnerate. + +2007-03-05 Mark Wielaard + + * java/lang/Character.java: Re-merged with Classpath. + * java/lang/natString.cc (nativeCompareTo): Renamed from + compareTo. + * java/lang/StringBuilder.java: Re-merged with Classpath. + * java/lang/String.java: Re-merged with Classpath. + (nativeCompareTo): Renamed from compareTo. + * java/lang/StringBuffer.java: Re-merged with Classpath. + * jni.cc (_Jv_JNI_GetAnyMethodID): Split calls to append. + +2007-03-05 Andrew Haley + + * java/lang/reflect/natVMProxy.cc (ncode_closure.meth): Delete. + (generateProxyClass): Don't pass method to ncode. + (run_proxy): Call _Jv_GetReflectedMethod to find the proxy method. + * java/lang/reflect/Method.h: Rebuild. + * java/lang/reflect/Method.java (internalGetParameterTypes, + internalGetExceptionTypes): New methods. + * headers.txt (class java/lang/reflect/Method): Declare + _Jv_GetReflectedMethod. Be its friend. + * java/lang/natClass.cc (_Jv_GetReflectedMethod): New method. + * java/lang/Class.h: Declare it. Be its friend. + +2007-03-05 Tom Tromey + + * sources.am, Makefile.in: Rebuilt. + * scripts/makemake.tcl (emit_package_rule): Don't omit + VMProcess.java. + * Makefile.am (nat_source_files): Added natVMProcess.cc. + (inner_nat_headers): Added ImmediateEOFInputStream.h. + * gcj/javaprims.h: Regenerated. + * java/lang/System.java (EnvironmentMap): Now package-private. + (EnvironmentMap(Map)): New constructor. + (EnvironmentMap.put): New method. + * java/lang/natWin32Process.cc (startProcess): Update. + * java/lang/Win32Process.java (Win32Process): Added 'redirect' + argument. + (startProcess): Likewise. + * java/lang/EcosProcess.java (EcosProcess): Added 'redirect' + argument. + * java/lang/natPosixProcess.cc (nativeSpawn): Handle redirection. + * java/lang/PosixProcess.java (redirect): New field. + (PosixProcess): Added 'redirect' argument. + * java/lang/natRuntime.cc (execInternal): Added 'redirect' + argument to Process creation. + * java/lang/natVMProcess.cc: New file. + * java/lang/ProcessBuilder.java: Removed. + * java/lang/VMProcess.java: New file. + +2007-03-03 Andrew Haley + + * java/lang/natClass.cc (parseAnnotationElement): Correct long + annotations to read JV_CONSTANT_Long, not JV_CONSTANT_Double. + +2007-03-02 Andrew Haley + + * sun/reflect/annotation/AnnotationInvocationHandler.java: + Generify in a few places. + (equals): Rewrite to use invoke on local proxy. + (deepToString): Remove most of it. + (toString): Make nonstatic. + (arrayClone): Delete. + (coerce): New method. + (invoke): Rewrite to handle gcj's structures correctly. + * java/lang/natClass.cc (getDeclaredAnnotations): Fix test for + null loader. + * sources.am: Regenerate. + * Makefile.am: Likewise. + +2007-03-02 Andrew Haley + + * sun/reflect/annotation/AnnotationInvocationHandler.java: + Whitespace only changes. + +2007-03-02 Andrew Haley + + * sun/reflect/annotation/AnnotationInvocationHandler.java: Moved + from Classpath to libgcj local. + +2007-03-01 Brooks Moses + + * Makefile.am: Add dummy install-pdf target. + * Makefile.in: Regenerate + * include/Makefile.in: Regenerate + * testsuite/Makefile.in: Regenerate + * gcj/Makefile.in: Regenerate + +2007-02-23 Gary Benson + + * gnu/gcj/tools/gcj_dbtool/Main.java: Updated copyright year. + +2007-02-23 Gary Benson + + * java/lang/VMCompiler.java + (compileClass): Don't lose zeros from within the digest. + +2007-02-22 Jakub Jelinek + + PR libgcj/17002 + PR classpath/28550 + * java/util/VMTimeZone.java (getDefaultTimeZoneId): To read + /etc/localtime, use ZoneInfo.readTZFile instead of + VMTimeZone.readtzFile. Get better timezone name for /etc/localtime, + either if it is a symlink or through /etc/sysconfig/clock. + (readSysconfigClockFile): New static method. + (readtzFile): Removed. + * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. + * posix.cc (_Jv_platform_initProperties): Set + gnu.java.util.zoneinfo.dir. + * sources.am (gnu_java_util_source_files): Add + classpath/gnu/java/util/ZoneInfo.java. + * Makefile.in: Regenerated. + * java/util/VMTimeZone.h: Regenerated. + * java/util/TimeZone.h: Regenerated. + * gnu/java/util/ZoneInfo.h: Generated. + +2007-02-22 Mohan Embar + + * include/win32-threads.h: Added #undef OUT. + +2007-02-21 Kyle Galloway + + * jvmti.cc (_Jv_JVMTI_GetArgumentsSize): New function. + * testsuite/libjava.jvmti/interp/getargssize.java: New test. + * testsuite/libjava.jvmti/interp/getargssize.h: Ditto. + * testsuite/libjava.jvmti/interp/getargssize.jar: Ditto. + * testsuite/libjava.jvmti/interp/getargssize.out: Ditto. + * testsuite/libjava.jvmti/interp/natgetargssize.cc: Ditto. + +2007-02-21 Gary Benson + + * java/util/GregorianCalendar.java: Removed. + * sources.am, Makefile.in: Rebuilt. + +2007-02-20 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpClassPrepareCB): Move class status stuff to ... + (getClassStatus): ... here. + +2007-02-20 Gary Benson + + * gnu/awt/xlib/XEventLoop.h: Regenerated. + * gnu/java/awt/peer/gtk/GThreadMutex.h: Likewise. + * gnu/java/rmi/server/ConnectionRunnerPool$ConnectionRunner.h: + Likewise. + * gnu/java/rmi/server/UnicastConnectionManager.h: Likewise. + * java/lang/SecurityManager.h: Likewise. + * java/lang/Thread.h: Likewise. + * java/security/VMSecureRandom$Spinner.h: Likewise. + * java/util/concurrent/atomic/AtomicBoolean.h: Likewise. + * java/util/concurrent/atomic/AtomicInteger.h: Likewise. + * java/util/concurrent/atomic/AtomicLong.h: Likewise. + * java/util/concurrent/atomic/AtomicReference.h: Likewise. + * java/util/concurrent/ConcurrentHashMap$HashEntry.h: Likewise. + * java/util/concurrent/ConcurrentHashMap$Segment.h: Likewise. + * java/util/concurrent/ConcurrentLinkedQueue.h: Likewise. + * java/util/concurrent/ConcurrentLinkedQueue$Node.h: Likewise. + * java/util/concurrent/ConcurrentSkipListMap.h: Likewise. + * java/util/concurrent/ConcurrentSkipListMap$Index.h: Likewise. + * java/util/concurrent/ConcurrentSkipListMap$Node.h: Likewise. + * java/util/concurrent/Exchanger.h: Likewise. + * java/util/concurrent/Exchanger$Node.h: Likewise. + * java/util/concurrent/FutureTask$Sync.h: Likewise. + * java/util/concurrent/LinkedBlockingQueue$Node.h: Likewise. + * java/util/concurrent/locks/AbstractQueuedLongSynchronizer.h: + Likewise. + * java/util/concurrent/locks/AbstractQueuedLongSynchronizer$Node.h: + Likewise. + * java/util/concurrent/locks/AbstractQueuedSynchronizer.h: Likewise. + * java/util/concurrent/locks/AbstractQueuedSynchronizer$Node.h: + Likewise. + * java/util/concurrent/ScheduledThreadPoolExecutor.h: Likewise. + * java/util/concurrent/SynchronousQueue.h: Likewise. + * java/util/concurrent/SynchronousQueue$TransferQueue.h: Likewise. + * java/util/concurrent/SynchronousQueue$TransferQueue$QNode.h: + Likewise. + * java/util/concurrent/SynchronousQueue$TransferStack.h: Likewise. + * java/util/concurrent/SynchronousQueue$TransferStack$SNode.h: + Likewise. + * java/util/concurrent/ThreadPoolExecutor.h: Likewise. + * java/util/concurrent/ThreadPoolExecutor$Worker.h: Likewise. + * java/util/logging/ErrorManager.h: Likewise. + * javax/swing/plaf/basic/BasicSpinnerUI$2.h: Likewise. + * javax/swing/plaf/basic/BasicSpinnerUI$4.h: Likewise. + +2007-02-16 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (get_line_table): New function. + (handle_single_step): New function. + (jdwpSingleStepCB): New function. + (jdwpVMInitCB): Define a JVMTI single step + callback, but don't enable it until needed. + +2007-02-16 David Daney + + * java/lang/Thread.java (Thread(ThreadGroup, Runnable, String)): Pass + new parameter constructor. + (Thread(ThreadGroup, Runnable, String, long)): Same. + (Thread(String, boolean)): New constructor. + (Thread(Thread, ThreadGroup, Runnable, String): Add parameter + noInheritableThreadLocal, don't call + InheritableThreadLocal.newChildThread if set. + * java/lang/PosixProcess.java(ProcessManager()): Set + noInheritableThreadLocal in super. + * java/lang/natThread.cc (_Jv_AttachCurrentThread): Pass new + parameter to Thread constructor. + (_Jv_AttachCurrentThreadAsDaemon): Same. + * java/lang/Thread.h: Regenerate. + * classpath/lib/java/lang/Thread.class: Same. + * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Same. + * classpath/lib/java/lang/PosixProcess.class: Same. + * classpath/lib/java/lang/Thread$State.class: Same. + * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. + +2007-02-16 Kyle Galloway + + * interpret.cc: Add extra DEBUG_LOCALS_INSN calls for multi-slot + variables to maintain type info. + * interpret-run.cc: Add local variable info to frame in the debug + interpreter. + * jvmti.cc (getLocalFrame): New method. + (_Jv_JVMTI_GetLocalObject): New method. + (_Jv_JVMTI_GetLocallInt): New method. + (_Jv_JVMTI_GetLocalFloat): New method. + (_Jv_JVMTI_GetLocalLong): New method. + (_Jv_JVMTI_GetLocalDouble): New method. + (_Jv_JVMTI_SetLocalObject): New method. + (_Jv_JVMTI_SetLocalInt): New method. + (_Jv_JVMTI_SetLocalFloat): New method. + (_Jv_JVMTI_SetLocalLong): New method. + (_Jv_JVMTI_SetLocalDouble): New method. + +2007-02-16 Gary Benson + + * gnu/gcj/tools/gcj_dbtool/Main.java + (bytesToString): Don't lose zeros from within the digest. + +2007-02-15 Andrew Haley + + * Makefile.am (nat_source_files): Remove + java/lang/management/natVMManagementFactory.cc. + * java/lang/Thread.java (getStackTrace): Use reflection to call + the ManagementFactory. + * java/lang/management/VMManagementFactory.java: Remove native + methods. + * java/lang/management/natVMManagementFactory.cc: Deleted. + * sources.am: Regnerate. + * scripts/makemake.tcl: Add new "bcheaders" type. + Move java/lang/management and gnu/classpath/management to "bc". + Move gnu/java/lang/management to "bcheaders". + +2007-02-15 Kyle Galloway + + * interpret.cc (_Jv_InterpMethod::check_handler): New method. + * interpret-run.cc: Change the catch section to report exception + events and to use the new check_handler method. + * include/java-interp.h (_Jv_InterpMethod): Add check_handler. + * gnu/gcj/jvmti/ExceptionEvent.java: New file. + * gnu/gcj/jvmti/ExceptionEvent.h: New file. + * gnu/gcj/jvmti/natExceptionEvent.cc: New file. + * libjava/classpath/lib/gnu/gcj/jvmti/ExceptionEvent.class: New + file. + * sources.am: Added ExceptionEvent.java. + * Makefile.am: Added natExceptionEvent.cc + * Makefile.in: Regenerated. + * include/Makefile.in: Regenerated. + * gcj/Makefile.in: Regenerated. + +2007-02-15 Johannes Schmidt + David Daney + + * configure.ac: Create vm-tools-packages file. Add + gnu/gcj/tools/gc_analyze to standard.omit and vm-tools-packages. + Check for /proc/self/maps. + * Makefile.am (bin_PROGRAMS): Added gc-analyze. + (gc_analyze_SOURCES): New. + (gc_analyze_LDFLAGS): New. + (gc_analyze_LINK): New. + (gc_analyze_LDADD): New. + (gc_analyze_DEPENDENCIES): New. + (nat_source_files): Add gnu/gcj/util/natGCInfo.cc. + * Makefile.in: Regenerated. + * configure: Regenerated. + * include/config.h.in: Regenerated. + * sources.am: Regenerated. + * scripts/makemake.tcl: Don't include gc-analyze classes in libgcj. + * gnu/gcj/tools/gc_analyze/SymbolLookup.java: New. + * gnu/gcj/tools/gc_analyze/ObjectMap.java: New. + * gnu/gcj/tools/gc_analyze/MemoryMap.java: New. + * gnu/gcj/tools/gc_analyze/SymbolTable.java: New. + * gnu/gcj/tools/gc_analyze/BlockMap.java: New. + * gnu/gcj/tools/gc_analyze/BytePtr.java: New. + * gnu/gcj/tools/gc_analyze/ItemList.java: New. + * gnu/gcj/tools/gc_analyze/ToolPrefix.java: New. + * gnu/gcj/tools/gc_analyze/MemoryAnalyze.java: New. + * gnu/gcj/util/GCInfo.java: New. + * gnu/gcj/util/GCInfo.h: New. + * gnu/gcj/util/natGCInfo.cc: New. + * gnu/gcj/util/UtilPermission.java: New. + * gnu/gcj/util/UtilPermission.h: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolTable.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap$ObjectItem.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$RangeComparator.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$PtrMarks.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap$Range.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BytePtr.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$SubstringComparator.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ItemList.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ToolPrefix.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1$Info.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$1.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$2.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$3.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$4.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryAnalyze$OptionParser.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/BlockMap$SizeKind.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/SymbolLookup.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/ObjectMap.class: New. + * classpath/tools/gnu/gcj/tools/gc_analyze/MemoryMap.class: New. + * classpath/lib/gnu/gcj/util/GCInfo.class: New. + * classpath/lib/gnu/gcj/util/UtilPermission.class: New. + +2007-02-15 David Daney + + * gnu/java/net/PlainSocketImpl.h: Regenerate. + * gnu/classpath/jdwp/VMVirtualMachine.h: Same. + * gnu/classpath/jdwp/VMFrame.h: Same. + * java/net/Socket.h: Same. + * java/util/Collections$UnmodifiableMap$UnmodifiableEntrySet.h: Same. + +2007-02-15 Kyle Galloway + + * defineclass.cc (_Jv_ClassReader::read_one_code_attribute): + Added LocalVariableTable attribute handling. + (_Jv_ClassReader::pool_Utf8_to_char_arr): New method. + * jvmti.cc (_Jv_JVMTI_GetLocalVariableTable): New method. + * include/java-interp.h: Added local_var_table and + local_var_table_len fields to _Jv_InterpMethod. + (_Jv_InterpMethod::get_local_var_table): New method. + * testsuite/libjava.jvmti/interp/getlocalvartable.java: New test. + * testsuite/libjava.jvmti/interp/getlocalvartable.jar: New test. + * testsuite/libjava.jvmti/interp/getlocalvartable.out: Output + for new test. + * testsuite/libjava.jvmti/interp/getlocalvartable.h: New test. + * testsuite/libjava.jvmti/interp/natgetlocalvartable.cc: New test. + +2007-02-15 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine (getFrames): Implement. + +2007-02-13 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpBreakpointCB): New function. + (jdwpVMInitCB): Define and enable the breakpoint + callback. + +2007-02-13 Andrew Haley + + * testsuite/libjava.lang/Divide_2.out + * testsuite/libjava.lang/Divide_2.java: New test. + +2007-02-12 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast + from jthread to Thread *; it is no longer needed. + (_Jv_JVMTI_GetFrameCount): Likewise. + Fix small formatting typo. + +2007-02-12 Tom Tromey + + * sources.am, Makefile.in: Rebuilt. + * java/lang/Socket.java: Removed override. + * java/lang/DatagramSocket.java: Removed override. + * gnu/java/net/PlainSocketImpl.java (localSocketAddress): New + field. + (getLocalAddress): New method. + * gnu/java/net/PlainDatagramSocketImpl.java + (PlainDatagramSocketImpl): Throws IOException. + * gnu/java/net/natPlainSocketImplPosix.cc (write): Remove + 'sizeof'. + (read): Likewise. + +2007-02-09 Jakub Jelinek + + * java/util/VMTimeZone.java: Rewrite to handle both the old + 'TZif\0' format and the new one. + +2007-02-10 Andrew Haley + + PR java/30742 + * gnu/classpath/natVMStackWalker.cc (GET_CALLING_CLASS): New. + (getCallingClass): Call GET_CALLING_CLASS. + (getCallingClassLoader): Likewise. + +2007-02-10 Mohan Embar + + * configure: Rebuilt. + * configure.ac (GCJH): Reverted second part of patch of 2006-12-20. + +2007-02-10 Mohan Embar + + * Makefile.in: Rebuilt. + * Makefile.am (BUILD_ECJ1): Unify the command for renaming ecjx to + the host's ecj1 executable. + +2007-02-09 Richard Henderson + + * sysdep/alpha/locks.h (read_barrier): New. + +2007-02-09 Keith Seitz + + * gnu/classpath/jdwp/VMVirtualMachine.java + (_stepping_threads): New member. + * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: + Regenerated. + * gnu/classpath/jdwp/VMVirtualMachine.h: + Regenerated. + * gnu/claspath/jdwp/natVMVirtualMachine.cc + (get_request_step_filter): New function. + (DISABLE_EVENT): New macro. + (initialize): Initialize _stepping_threads. + (registerEvent): Implement EVENT_SINGLE_STEP. + (unregisterEvent): Likewise. + +2007-02-08 Keith Seitz + + * sources.am: Regenerate. + * Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + * gcj/Makefile.in: Regenerate. + * include/Makefile.in: Regenerate. + + * classpath/lib/javax/management/MBeanServerFactory.class: + Regenerate. + +2007-02-08 Kyle Galloway + + * classpath/gnu/classpath/jdwp/processor/ + StackFrameCommandSet.java (executeGetValues): Pass jlong instead + of ByteBuffer. + (executeSetValues): Ditto. + (executeThisObject): Ditto. + * classpath/gnu/classpath/jdwp/processor/ + StackFrameCommandSet.class: Rebuilt. + * classpath/lib/gnu/classpath/jdwp/VMVirtualMachine.class: + Rebuilt. + * classpath/lib/gnu/classpath/jdwp/VMFrame.class: Rebuilt. + * classpath/lib/gnu/classpath/jdwp/exception/ + InvalidFrameException.java: New file. + * gnu/classpath/jdwp/VMFrame.java: Added field for thread of + frame. + (Constructor): New method. + * gnu/classpath/jdwp/VMFrame.h: Regenerated. + * gnu/classpath/jdwp/VMVirtualMachine.java + (getFrame): Changed ByteBuffer to jlong. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (getFrame): Implement. + * gnu/classpath/jdwp/VMVirtualMachine.h: Regenerated. + +2007-02-08 Kyle Galloway + + * include/java-interp.h (_Jv_InterpFrame): obj_ptr field added + to hold "this" pointer for frame. + (_Jv_InterpFrame::get_this_ptr): New method. + * interpret-run.cc: Copy the "this" pointer into obj_ptr. + +2007-02-07 Keith Seitz + + * include/java-interp.h (_Jv_Frame::depth): + New function. + * jvmti.cc (_Jv_JVMTI_GetFrameCount): Use _Jv_Frame::depth. + +2007-02-07 Kyle Galloway + + * jvmti.cc (CHECK_FOR_NATIVE_METHOD): New macro. + (_Jv_JVMTI_GetMaxLocals): New method. + * include/java-interp.h + (_Jv_InterpMethod::get_max_locals): New method. + +2007-02-01 Marco Trudel + + * jni.cc (_Jv_JNI_DeleteWeakGlobalRef): Check for NULL objects. + +2007-02-07 Tom Tromey + + * testsuite/libjava.jni/init.c: New file. + * testsuite/libjava.jni/init.java: New file. + * testsuite/libjava.jni/init.out: New file. + * testsuite/libjava.jni/init.jar: New file. + * testsuite/libjava.jni/init.h: New file. + * testsuite/libjava.jni/init$NativeClass.h: New file. + +2007-02-07 Jakub Jelinek + + PR libgomp/28468 + * configure: Regenerate. + +2007-02-06 Andrew Haley + + * scripts/makemake.tcl (emit_bc_rule): Set the source filename. + * sources.am: Rebuild. + +2007-02-05 Keith Seitz + + * jvmti.cc (_envListLock): Change type to + ReentrantReadWriteLock. + (_Jv_JVMTI_DisposeEnvironment): Switch to read/write + lock. + (check_enabled_event): Likewise. + (_Jv_GetJVMTIEnv): Likewise. + (_Jv_JVMTI_Init): Likewise. + (_Jv_JVMTI_PostEvent): Likewise. + +2007-02-05 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (registerEvent): Implement EVENT_BREAKPOINT. + (unregisterEvent): Likewise. + (get_request_location): New function. + +2007-02-05 Matthias Klose + + testsuite/Makefile.am (compile-tests): Fix typo. + testsuite/Makefile.in: Regenerate. + +2007-02-02 Kyle Galloway + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (getFrameCount): + Implment. + +2007-02-02 Jakub Jelinek + + * configure.ac (libjava_cv_anon_version_script): New test. + (ANONVERSCRIPT): New AM_CONDITIONAL. + * configure: Rebuilt. + * Makefile.am (extra_ldflags_libjava): Link with -Wl,--version-script + if ANONVERSCRIPT. + * Makefile.in: Rebuilt. + (libgcj_la_DEPENDENCIES): Depend on libgcj.ver. + * libgcj.ver: New file. + +2007-02-01 David Daney + + * scripts/makemake.tcl: Replace gnu/xml build with build of all + its subpackages. + * sources.am: Regenerate. + * Makefile.in: Regenerate. + +2007-02-01 Tom Tromey + + * java/lang/ClassLoader.java (getResources): No longer final. + +2007-02-01 Tom Tromey + + * java/util/logging/LogManager.java (loggers): Genericized. + (addLogger): Merged. + (findAncestor): Likewise. + (getLogger): Likewise. + (getLoggerNames): Genericized. + (reset): Merged. + (getLevelProperty): Likewise. + * java/lang/reflect/Method.java (getDeclaringClass): Genericized. + * java/lang/reflect/Constructor.java (getParameterTypes): + Genericized. + (getExceptionTypes): Likewise. + (newInstance): Likewise. + * java/lang/reflect/Array.java (newInstance): Genericized. + * java/lang/Object.java (getClass): Genericized. + * java/nio/charset/spi/CharsetProvider.java (charsets): + Genericized. + * java/text/Collator.java: Implement Comparable. + +2007-02-01 Tom Tromey + + * java/util/Calendar.java: Implement Comparable. Update + comments. + (clear): Call complete. + (setTimeZone): Call computeTime, computeFields. + (compareTo): New method. + * java/nio/charset/Charset.java: Implement Comparable. + (availableCharsets): Genericized. + (aliases): Likewise. + (compareTo): Changed argument type. + * java/lang/ClassLoader.java (loadClass): Genericized. + (findClass): Likewise. + (defineClass): Likewise. + (resolveClass): Likewise. + (findSystemClass): Likewise. + (setSigners): Likewise. + (findLoadedClass): Likewise. + (getResources): Likewise. + (findResources): Likewise. + (getSystemResources): Likewise. + (checkInitialized): New method. + * java/lang/Class.java (getCanonicalName): New method. + +2007-01-31 Keith Seitz + + * include/jvmti-int.h (JVMTI): Declare member "enabled". + * jvmti.cc (JVMTI): Add member "enabled". + (_Jv_GetJVMTIEnv): Mark JVMTI enabled. + * interpret.cc (_Jv_InterpMethod::ncode): Use JVMTI::enabled + instead of gnu::classpath::jdwp::Jdwp::isDebugging. + (_Jv_CompileMethod): If JVMTI is enabled, use run_debug + instead of run to compile the method. + + * interpret-run.cc [DEBUG] (NEXT_INSN): Add JVMTI single step + notification. + +2007-01-31 Andreas Tobler + + * testsuite/libjava.jvmti/jvmti-interp.exp (gij_jvmti_test_one): Add + -shared-libgcc to the cxxflaglist for Darwin. + +2007-01-31 Tom Tromey + + * scripts.am, Makefile.in: Rebuilt. + * scripts/makemake.tcl (gnu/javax/swing/text/html/parser): Build + as 'ordinary'. + (emit_ordinary_rule): New proc. + +2007-01-31 Keith Seitz + + * testsuite/libjava.jvmti/getmethodname.h: New file. + * testsuite/libjava.jvmti/getmethodname.jar: New file. + +2007-01-31 Andrew Haley + + * prims.cc (_Jv_Abort): fflush (stderr). + * java/lang/natClassLoader.cc (_Jv_CheckABIVersion): Abort. + +2007-01-31 Tom Tromey + + * configure, Makefile.in: Rebuilt. + * configure.ac (JAR): Check for -@ feature. + * Makefile.am (libgcj-$(gcc_version).jar): Use find -prune. + +2007-01-31 Tom Tromey + + PR libgcj/30606: + * configure, include/config.h.in: Rebuilt. + * configure.ac: Check for magic_t in magic.h. + * java/net/natVMURLConnection.cc: Use HAVE_MAGIC_T. + +2007-01-30 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (libgcj-$(gcc_version).jar): Rewrote. + +2007-01-30 Andreas Tobler + + * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use a + cast to print it right. + +2007-01-29 Kaloian Doganov + + PR libgcj/30600: + * gnu/gcj/convert/BytesToCharsetAdaptor.java (read): Fix call to + 'limit'. + +2007-01-29 Kyle Galloway + + * include/java-interp.h: Added _Jv_Frame class and its two + subclasses _Jv_InterpFrame and _Jv_NativeFrame. Also moved + _Jv_FrameType from java-stack.h. + * include/java-stack.h: Removed _Jv_FrameType. + * java/lang/Thread.java: Added frame member to hold new + composite frame stack. + * java/lang/Thread.h: Regenerated. + * java/lang/Thread.class: Rebuilt. + * jni.cc (_Jv_JNIMethod::call): Push a frame onto the stack when + calling a JNI method. + * jvmti.cc (_Jv_JVMTI_GetStackTrace): New Method. + (_Jv_JVMTI_GetFrameCount): New method. + * stacktrace.cc (UnwindTraceFn): Modified to use new _Jv_Frame + classes. + * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. + * testsuite/libjava.jvmti/interp/natgetstacktrace.cc: New test. + * testsuite/libjava.jvmti/interp/getstacktrace.h: New test. + * testsuite/libjava.jvmti/interp/getstacktrace.jar: New test. + * testsuite/libjava.jvmti/interp/getstacktrace.out: Output file + for test. + +2007-01-29 Tom Tromey + + * interpret.cc (run_debug): Remove comment. + (STOREA): Reformat. + (STOREI): Likewise. + (STOREF): Likewise. + (STOREL): Likewise. + (STORED): Likewise. + (POKEI): Likewise. + (run_normal_debug): Likewise. + (run_synch_object_debug): Likewise. + (run_class_debug): Likewise. + (run_synch_class_debug): Likewise. + (get1s): Likewise. + (get1u): Likewise. + (get2u): Likewise. + (get4): Likewise. + (NULLARRAYCHECK): Likewise. + (ARRAYBOUNDSCHECK): Likewise. + * interpret-run.cc (insn_target) : Tidy. + +2007-01-29 Tom Tromey + + * configure, Makefile.in: Rebuilt. + * Makefile.am (bin_SCRIPTS): Never install scripts/jar. + * configure.ac (BASH_JAR): Removed conditional. + (JAR): Prefer the jar found by AC_CHECK_PROGS. + +2007-01-29 Tom Tromey + + * Makefile.in: Rebuilt. + * Makefile.am (interpret.lo): New target. Add -fwrap to + AM_CXXFLAGS. + +2007-01-29 Keith Seitz + + * include/jvmti_md.h (_CLASSPATH_VM_JVMTI_TYPES_DEFINED): + Define. + [__GCJ_JNI_IMPL__]: Define our own JVMTI types when building + gcj. All jvmti object types now are defined to be their + corresponding java classes. + * jvmti.cc (_Jv_JVMTI_SuspendThread): Remove casting from + jthread to Thread*. + (_Jv_JVMTI_ResumeThread): Likewise. + (_Jv_JVMTI_InterruptThread): Likewise. + (_Jv_JVMTI_SetEventNotificationMode): Likewise. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (jdwpClassPrepareCB): Likewise. + (jdwpThreadEndCB): Likewise. + (jdwpThreadStartCB): Likewise. + (jdwpVMInitCB): Likewise. + +2007-01-28 Michele Sandri + + * gnu/java/nio/channels/natFileChannelWin32.cc + (lock): Implemented. + (unlock): Implemented. + +2007-01-27 Andreas Tobler + + PR libgcj/30513 + * configure.host: Add forgottten sysdep_dir to sparc. Add a flag to + libgcj_flags to undefine 'sun' at compile time. + * sysdep/sparc/locks.h (read_barrier): New functions for 32 and 64 bit + Sparc. + (write_barrier): Likewise. + +2007-01-27 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (getAllClassMethods): Move error handling to ... + (throw_jvmti_error): ... here. + (jdwpClassPrepareCB): New function. + (jdwpThreadEndCB): New function. + (jdwpThreadStartCB): New function. + (jdwpVMDeathCB): New function. + (jdwpVMInitCB): Define and enable callbacks for + ClassPrepare, ThreadEnd, ThreadStart, and VMDeath. + +2007-01-27 Jakub Jelinek + + * Makefile.am (generic_header_files): Add $(inner_nat_headers). + * testsuite/Makefile.am (check-dejaGNU): Depend on compile-tests. + (MYGCJH): New variable. + (compile-tests): New goal. + * Makefile.in: Rebuilt. + * testsuite/Makefile.in: Rebuilt. + +2007-01-26 Andrew Haley + + * java/lang/natClass.cc (initializeClass): Re-throw + SecurityExceptions. + * java/lang/natVMClassLoader.cc (loadClass): checkPackageAccess. + * java/lang/ClassLoader.java: (loadClass): Likewise. + +2007-01-26 Tom Tromey + + * Updated headers. + +2007-01-25 Tom Tromey + + PR libgcj/29594: + * gnu/gcj/convert/Convert.java (main): Correctly handle missing + input or output encodings. Removed unused local variables. + +2007-01-25 Keith Seitz + + * include/jvmti-int.h (_Jv_GetJDWP_JVMTIEnv): Declare. + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (_Jv_GetJDWP_JVMTIEnv): New function. + * gnu/classpath/jdwp/natVMMethod.cc (getName): Implement. + (getSignature): Implement. + (getModifiers): Implement. + +2007-01-25 Andrew Haley + + * configure, Makefile.in, include/config.h.in: Rebuilt. + * Makefile.am (libgcj_la_LIBADD): Removed $(LIBMAGIC). + * configure.ac: Don't check for libmagic. + * java/net/natVMURLConnection.cc (p_magic_open, p_magic_load, + p_magic_close, p_magic_buffer): New globals. + (init): Look up 'magic' functions. + (guessContentTypeFromBuffer): Updated. + +2007-01-25 Keith Seitz + + * jvmti.cc (_Jv_JVMTI_GetMethodName): New function. + (_Jv_JVMTI_Interface): Define GetMethodName. + * testsuite/libjava.jvmti/getmethodname.java: New file. + * testsuite/libjava.jvmti/natgetmethodname.cc: New file. + * testsuite/libjava.jvmti/getmethodname.out: New file. + +2007-01-24 Kyle Galloway + + * libjava/testsuite/libjava.jvmti/jvmti-interp.exp: New file. + * libjava/testsuite/libjava.jvmti/interp: New folder. + * libjava/testsuite/lib/libjava.exp (exec_gij): New Method. + +2007-01-24 Keith Seitz + + * link.cc (_Jv_Linker::wait_for_state): Add JVMTI + CLASS_PREPARE notification. + +2007-01-24 Keith Seitz + + * interpret.cc: Include gnu/gcj/jvmti/Breakpoint.h, + gnu/gcj/jvmti/BreakpointManager.h, jvmti.h, and jvmti-int.h + * interpret-run.cc: Implement insn_breakpoint. + +2007-01-24 Keith Seitz + + * prims.cc (_Jv_RunMain): Send JVMTI event notifications + for VM_INIT and VM_DEATH instead of the JDWP notifications. + +2007-01-24 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (getAllClassMethods): Implement. + +2007-01-24 Andrew Haley + + * gnu/classpath/natVMStackWalker.cc: Call InitClass everywhere. + (getClassContext) Add a barrier to prevent GetStackWalkerStack() + from being sibcalled. + +2007-01-24 Andrew Haley + + * scripts/makemake.tcl (emit_bc_rule): Set the source filename. + * sources.am: Rebuild. + +2007-01-24 Andreas Krebbel + + * exception.cc (parse_lsda_header, PERSONALITY_FUNCTION): Replaced + _Unwind_Word with _uleb128_t and _Unwind_SWord with _sleb128_t. + +2007-01-23 H.J. Lu + + PR libgcj/30550 + * Makefile.am (ecjx_DEPENDENCIES): Add libgcj_bc.la if needed. + * Makefile.in: Regenerated. + +2007-01-22 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc + (getClassMethod): Implement. + +2007-01-22 Keith Seitz + + * java/lang/Class.h (_Jv_GetClassStatus): Declare. + * java/lang/natClass.cc (_Jv_GetClassStatus): New function. + * jvmti.cc (_Jv_JVMTI_GetClassStatus): New function. + (_Jv_JVMTI_Interface): Define GetClassStatus. + +2007-01-22 Tom Tromey + + * configure: Rebuilt. + * configure.ac (GCJ): Reverted patch of 2006-12-20. + +2007-01-22 Tom Tromey + + PR java/29812: + * testsuite/libjava.jni/pr29812.java: New file. + * testsuite/libjava.jni/pr29812_injar.java: New file. + * testsuite/libjava.jni/pr29812_injar.jar: New file. + * testsuite/libjava.jni/pr29812.out: New file. + * testsuite/libjava.jni/pr29812_injar.c: New file. + * testsuite/libjava.jni/pr29812_injar.h: New file. + * testsuite/libjava.jni/pr29812.jar: New file. + * testsuite/libjava.jni/pr29812.c: New file. + * testsuite/libjava.jni/pr29812.h: New file. + * testsuite/libjava.jni/jni.exp (gcj_jni_get_cxxflags_invocation): + New proc. + (gcj_jni_invocation_test_one): Use it. + (gcj_jni_pr29812): New proc. + (gcj_jni_run): Use it. + * java/lang/natRuntime.cc (_load): Push a new system frame before + calling JNI_OnLoad. + * include/jvm.h (_Jv_JNI_PopSystemFrame): Declare. + (_Jv_GetJNIEnvNewFrameWithLoader): Likewise. + * jni.cc (struct _Jv_JNI_LocalFrame) : Now unsigned char. + : Now bool. + : New field. + (_Jv_JNI_EnsureLocalCapacity): Updated. + (_Jv_JNI_NewLocalRef): Likewise. + (_Jv_JNI_NewLocalRef): Likewise. + (_Jv_JNI_PopLocalFrame): Likewise. + (_Jv_JNI_FindClass): Likewise. + (_Jv_GetJNIEnvNewFrame): Likewise. + (_Jv_JNI_AttachCurrentThread): Likewise. + (_Jv_GetJNIEnvNewFrameWithLoader): New function. + (_Jv_GetJNIEnvNewFrame): Use it. + * include/jni_md.h (_CLASSPATH_JNIENV_CONTENTS): Removed 'klass'. + +2007-01-22 Tom Tromey + + * libtool-version: Bump current to 9. + +2007-01-22 Andrew Haley + + * sysdep/alpha/locks.h (write_barrier): New. + +2007-01-21 Matthias Klose + + * Makefile.am (install-exec-hook): Use transformed name. + * Makefile.in: Regenerate. + +2007-01-19 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc: Mark unused parameters + in methods and reformat. + + * gnu/classpath/jdwp/natVMFrame.cc: Mark unused parameters with + MAYBE_UNUSED. + +2007-01-18 Keith Seitz + + From Macro Trudel : + * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): + Use JNICALL. + +2007-01-18 Marco Trudel + + * jni.cc (_Jv_JNI_FindClass): Initialize class. + * testsuite/libjava.jni/findclass2.jar: New file. + * testsuite/libjava.jni/findclass2.h: New file. + * testsuite/libjava.jni/findclass2.java: New file + * testsuite/libjava.jni/findclass2.c: New file. + * testsuite/libjava.jni/findclass2.out: New file. + +2007-01-18 Tom Tromey + + * configure: Rebuilt. + * configure.ac: Use multi_basedir instead of libgcj_basedir. + +2007-01-18 Gary Benson + + * gnu/java/nio/natVMPipeEcos.cc: + Renamed from gnu/java/nio/natPipeImplEcos.cc. + * gnu/java/nio/natVMPipePosix.cc: + Renamed from gnu/java/nio/natPipeImplPosix.cc. + * gnu/java/nio/natVMPipeWin32.cc: + Renamed from gnu/java/nio/natPipeImplWin32.cc. + * gnu/java/nio/natVMSelectorEcos.cc: + Renamed from gnu/java/nio/natSelectorImplEcos.cc. + * gnu/java/nio/natVMSelectorPosix.cc: + Renamed from gnu/java/nio/natSelectorImplPosix.cc. + * gnu/java/nio/natVMSelectorWin32.cc: + Renamed from gnu/java/nio/natSelectorImplWin32.cc. + * java/io/natVMObjectInputStream.cc: + Renamed from java/io/natObjectInputStream.cc. + * java/lang/natVMDouble.cc: + Renamed from java/lang/natDouble.cc. + * java/lang/natVMFloat.cc: + Renamed from java/lang/natFloat.cc. + * Makefile.am, configure.ac: Reflect the above. + * Makefile.in, configure: Rebuilt. + +2007-01-17 Andrew Haley + + * Makefile.in: Rebuilt. + * Makefile.am (ecjx_LDFLAGS): Pass -fbootclasspath. + +2007-01-17 Keith Seitz + + * java/lang/natThread.cc (finish_): Add JVMTI ThreadEnd notification. + (_Jv_NotifyThreadStart): Add JVMTI ThreadStart notification. + +2007-01-16 Jack Howarth + + * configure.ac: Use multi.m4 from aclocal rather than custom + code. Use multi_basedir instead libgcj_basedir. Test for + /proc/self/exe when not cross-compiling. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2007-01-17 Gary Benson + + * java/nio/natVMDirectByteBufferImpl.cc: + Renamed from java/nio/natDirectByteBufferImpl.cc. + * Makefile.am: Reflect the above. + * Makefile.in: Rebuilt. + +2007-01-17 Marco Trudel + + * jvmti.cc (_Jv_JVMTI_GetAllThreads): Now static. Use JNICALL. + Fixed indentation. Removed unused variable. + +2007-01-16 Tom Tromey + + * java/lang/natThread.cc (finalize_native): Remove cast. + (_Jv_GetCurrentJNIEnv): Likewise. + * include/jvm.h (struct natThread) : Declare as + _Jv_JNIEnv*. + +2007-01-16 Keith Seitz + + * testsuite/libjava.jvmti/natevents.cc (FieldModificationCB): Use + %#llx instead of %d for new_value. + * testsuite/libjava.jvmti/events.out: Update expected output. + * testsuite/libjava.jvmti/events.jar: Regenerate. + +2007-01-16 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (DEFINE_CALLBACK): + New macro. + (ENABLE_EVENT): New macro. + (initialize): Define and enable JVMTI VM_INIT callback. + (jdwpVMInitCB): New function. + +2007-01-16 Kyle Galloway + + * jvmti.cc (_Jv_JVMTI_GetAllThreads): New function. + * testsuite/libjava.jvmti/getallthreads.java: New test. + * testsuite/libjava.jvmti/natgetallthreads.cc: Ditto. + * testsuite/libjava.jvmti/getallthreads.out: Ditto. + * testsuite/libjava.jvmti/getallthreads.h: Ditto. + * testsuite/libjava.jvmti/getallthreads.jar: Ditto. + +2007-01-15 Keith Seitz + + * gnu/classpath/jdwp/natVMVirtualMachine.cc (suspendThread): Use + java.lang.StringBuilder instead of java.lang.StringBuffer. + (resumeThread): Likewise. + +2007-01-15 Gary Benson + + * java/nio/MappedByteBuffer.java: Removed. + * sources.am, Makefile.in: Rebuilt. + +2007-01-15 Gary Benson + + * java/net/URLClassLoader.java: Removed. + * gnu/java/net/loader/Load_gcjlib.java: New file. + * gnu/gcj/runtime/BootClassLoader.java: Ensure core + URL handler is present in static executables. + * sources.am, Makefile.in: Rebuilt. + +2007-01-14 H.J. Lu + + * Makefile.am (libgcj_la_LDFLAGS): Add + $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS). + (libgcj_tools_la_LDFLAGS): Likewise. + (libgcj_bc_la_LDFLAGS): Likewise. + * Makefile.in: Regenerated. + + * configure.ac: Use ACX_PROG_LD_GNU_SYMBOLIC. Set + LIBGCJ_LD_SYMBOLIC_FUNCTIONS to $SYMBOLIC_LDFLAGS. Set + libgcj_ld_symbolic to $SYMBOLIC_LDFLAGS if it isn't set. + Substitute LIBGCJ_LD_SYMBOLIC_FUNCTIONS. + * configure: Regenerated. + * aclocal.m4: Likewise. + * gcj/Makefile.in: Likewise. + * include/Makefile.in: Likewise. + * testsuite/Makefile.in: Likewise. + +2007-01-12 Kaz Kojima + + * sysdep/sh/locks.h (read_barrier): New. + (write_barrier): Likewise. + +2007-01-12 Andrew Haley + + * include/i386-signal.h: Rewrite to use rt_sigaction. + +2007-01-11 Andrew Haley + + * prims.cc (jdwpOptions) Fix deprecated cast from char[] constant + to char*. + * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Rewrite to fix + aliasing violation. + +2007-01-10 Tom Tromey + + * gnu/gcj/xlib/*.h: New files. + * gnu/awt/xlib/*.h: Likewise. + * classpath/lib/gnu/gcj/xlib: New class files. + * classpath/lib/gnu/awt/xlib: Likewise. + +2007-01-10 Tom Tromey + + * HACKING: Various updates. + +2007-01-10 Tom Tromey + + * java/lang/natDouble.cc (toString): Added parens. + * gnu/gcj/io/shs.h (PROTO): Define. + * link.cc (resolve_pool_entry): Added missing braces. + +2007-01-10 H.J. Lu + + PR libgcj/30424 + * sysdep/ia64/locks.h (read_barrier): New. + (write_barrier): New. + +2007-01-10 Gary Benson + + * java/net/URL.java: Removed. + * sources.am, Makefile.in: Rebuilt. + +2007-01-10 Matthias Klose + + * Makefile.am (install-exec-hook): Support $(DESTDIR). + * Makefile.in: Regenerated. + +2007-01-05 Tom Tromey + + * testsuite/libjava.loader/loader.exp (gcj_loader_run): Find + dummy.class in srcdir. + +2007-01-03 Tom Tromey + + * testsuite/libjava.cni/cni.exp (gcj_cni_compile_cxx_to_o): Add -I + for srcdir. + +2007-01-03 Tom Tromey + + * testsuite/*: Added many .jar and .h files. + * testsuite/libjava.special/special.exp + (gcj_special_try_compiler): New proc. + * testsuite/libjava.loader/loader.exp (gcj_loader_run): Don't + bytecompile source. Search for .jar files. + (gcj_loader_test_one): Don't look for MyLoader.java. + * testsuite/libjava.jvmti/jvmti.exp (gcj_jvmti_test_one): Don't + bytecompile sources or build headers. + (gcj_jvmti_run): Look for .jar files. + * testsuite/libjava.jni/jni.exp (gcj_jni_run): Compile .jar + files. + (gcj_jni_test_one): Don't bytecompile sources or build headers. + Set classpath when invoking gij. + (gcj_jni_invocation_test_one): Likewise. + * testsuite/libjava.cni/cni.exp (gcj_cni_test_one): Don't build + headers or bytecompile sources. + (gcj_cni_run): Use .jar files, not .java files. + * testsuite/libjava.lang/lang.exp: Compile .jar files. + +2007-01-02 Tom Tromey + + * configure: Rebuilt. + * configure.ac: Check for gjar. + +2007-01-02 Tom Tromey + + * testsuite/libjava.jacks/jacks.exp: Removed. + * testsuite/libjava.jacks/jacks.xfail: Removed. + diff --git a/libjava/Makefile.in b/libjava/Makefile.in index ec33ea7..c42c692 100644 --- a/libjava/Makefile.in +++ b/libjava/Makefile.in @@ -167,11 +167,11 @@ libgcj_tools_la_OBJECTS = $(am_libgcj_tools_la_OBJECTS) @INTERPRETER_TRUE@ gnu/classpath/jdwp/util.lo \ @INTERPRETER_TRUE@ gnu/classpath/jdwp/value.lo gnu/gcj/jvmti.lo am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ - gnu/classpath/debug.lo gnu/gcj.lo gnu/gcj/convert.lo \ - gnu/gcj/io.lo gnu/gcj/runtime.lo gnu/gcj/util.lo \ - gnu/java/awt.lo gnu/java/awt/color.lo gnu/java/awt/dnd.lo \ - gnu/java/awt/font.lo gnu/java/awt/font/autofit.lo \ - gnu/java/awt/font/opentype.lo \ + gnu/classpath/debug.lo gnu/classpath/toolkit.lo gnu/gcj.lo \ + gnu/gcj/convert.lo gnu/gcj/io.lo gnu/gcj/runtime.lo \ + gnu/gcj/util.lo gnu/java/awt.lo gnu/java/awt/color.lo \ + gnu/java/awt/dnd.lo gnu/java/awt/font.lo \ + gnu/java/awt/font/autofit.lo gnu/java/awt/font/opentype.lo \ gnu/java/awt/font/opentype/truetype.lo gnu/java/awt/image.lo \ gnu/java/awt/java2d.lo gnu/java/awt/peer.lo \ gnu/java/awt/peer/headless.lo gnu/java/awt/print.lo \ @@ -259,7 +259,8 @@ am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ javax/accessibility.lo javax/activity.lo javax/crypto.lo \ javax/crypto/interfaces.lo javax/crypto/spec.lo \ javax/management.lo javax/management/loading.lo \ - javax/management/openmbean.lo javax/naming.lo \ + javax/management/openmbean.lo javax/management/remote.lo \ + javax/management/remote/rmi.lo javax/naming.lo \ javax/naming/directory.lo javax/naming/event.lo \ javax/naming/ldap.lo javax/naming/spi.lo javax/net.lo \ javax/net/ssl.lo javax/print.lo javax/print/attribute.lo \ @@ -278,7 +279,7 @@ am__DEPENDENCIES_2 = gnu/awt.lo gnu/awt/j2d.lo gnu/classpath.lo \ javax/swing/table.lo javax/swing/text.lo \ javax/swing/text/html.lo javax/swing/text/html/parser.lo \ javax/swing/text/rtf.lo javax/swing/tree.lo \ - javax/swing/undo.lo javax/transaction.lo \ + javax/swing/undo.lo javax/tools.lo javax/transaction.lo \ javax/transaction/xa.lo org/ietf/jgss.lo sun/awt.lo \ sun/misc.lo sun/reflect.lo sun/reflect/annotation.lo \ sun/reflect/misc.lo $(am__DEPENDENCIES_1) @@ -1352,6 +1353,10 @@ classpath/gnu/classpath/jdwp/value/ValueFactory.java \ classpath/gnu/classpath/jdwp/value/VoidValue.java gnu_classpath_jdwp_value_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_jdwp_value_source_files))) +gnu_classpath_toolkit_source_files = \ +classpath/gnu/classpath/toolkit/DefaultDaemonThreadFactory.java + +gnu_classpath_toolkit_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_classpath_toolkit_source_files))) gnu_gcj_source_files = \ gnu/gcj/Core.java \ gnu/gcj/RawData.java \ @@ -1488,7 +1493,8 @@ classpath/gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java gnu_java_awt_font_source_files = \ classpath/gnu/java/awt/font/FontDelegate.java \ classpath/gnu/java/awt/font/FontFactory.java \ -classpath/gnu/java/awt/font/GNUGlyphVector.java +classpath/gnu/java/awt/font/GNUGlyphVector.java \ +classpath/gnu/java/awt/font/OpenTypeFontPeer.java gnu_java_awt_font_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_awt_font_source_files))) gnu_java_awt_font_autofit_source_files = \ @@ -1533,6 +1539,8 @@ classpath/gnu/java/awt/font/opentype/truetype/ZonePathIterator.java gnu_java_awt_font_opentype_truetype_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_awt_font_opentype_truetype_source_files))) gnu_java_awt_image_source_files = \ +classpath/gnu/java/awt/image/AsyncImage.java \ +classpath/gnu/java/awt/image/ImageConverter.java \ classpath/gnu/java/awt/image/ImageDecoder.java \ classpath/gnu/java/awt/image/XBMDecoder.java @@ -1544,6 +1552,7 @@ classpath/gnu/java/awt/java2d/AlphaCompositeContext.java \ classpath/gnu/java/awt/java2d/CubicSegment.java \ classpath/gnu/java/awt/java2d/ImagePaint.java \ classpath/gnu/java/awt/java2d/LineSegment.java \ +classpath/gnu/java/awt/java2d/PixelCoverage.java \ classpath/gnu/java/awt/java2d/Pixelizer.java \ classpath/gnu/java/awt/java2d/PolyEdge.java \ classpath/gnu/java/awt/java2d/PolyEdgeComparator.java \ @@ -1554,6 +1563,8 @@ classpath/gnu/java/awt/java2d/ScanlineConverter.java \ classpath/gnu/java/awt/java2d/ScanlineCoverage.java \ classpath/gnu/java/awt/java2d/Segment.java \ classpath/gnu/java/awt/java2d/ShapeCache.java \ +classpath/gnu/java/awt/java2d/ShapeWrapper.java \ +classpath/gnu/java/awt/java2d/TextCacheKey.java \ classpath/gnu/java/awt/java2d/TexturePaintContext.java gnu_java_awt_java2d_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(gnu_java_awt_java2d_source_files))) @@ -1690,12 +1701,11 @@ classpath/gnu/java/awt/peer/swing/SwingWindowPeer.java gnu_java_awt_peer_x_source_files = \ classpath/gnu/java/awt/peer/x/GLGraphics.java \ -classpath/gnu/java/awt/peer/x/ImageConverter.java \ classpath/gnu/java/awt/peer/x/KeyboardMapping.java \ classpath/gnu/java/awt/peer/x/PixmapVolatileImage.java \ classpath/gnu/java/awt/peer/x/XDialogPeer.java \ classpath/gnu/java/awt/peer/x/XEventPump.java \ -classpath/gnu/java/awt/peer/x/XFontPeer2.java \ +classpath/gnu/java/awt/peer/x/XFontPeer.java \ classpath/gnu/java/awt/peer/x/XFramePeer.java \ classpath/gnu/java/awt/peer/x/XGraphics2D.java \ classpath/gnu/java/awt/peer/x/XGraphicsConfiguration.java \ @@ -1991,6 +2001,8 @@ gnu/java/nio/channels/FileChannelImpl.java gnu_java_nio_channels_header_files = $(patsubst %.java,%.h,$(gnu_java_nio_channels_source_files)) gnu_java_nio_charset_source_files = \ classpath/gnu/java/nio/charset/ByteCharset.java \ +classpath/gnu/java/nio/charset/ByteDecodeLoopHelper.java \ +classpath/gnu/java/nio/charset/ByteEncodeLoopHelper.java \ classpath/gnu/java/nio/charset/Cp424.java \ classpath/gnu/java/nio/charset/Cp437.java \ classpath/gnu/java/nio/charset/Cp737.java \ @@ -2347,6 +2359,7 @@ gnu_java_util_source_files = \ classpath/gnu/java/util/Base64.java \ classpath/gnu/java/util/DoubleEnumeration.java \ classpath/gnu/java/util/EmptyEnumeration.java \ +classpath/gnu/java/util/LRUCache.java \ classpath/gnu/java/util/WeakIdentityHashMap.java \ classpath/gnu/java/util/ZoneInfo.java @@ -5296,6 +5309,16 @@ classpath/javax/management/openmbean/TabularDataSupport.java \ classpath/javax/management/openmbean/TabularType.java javax_management_openmbean_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_management_openmbean_source_files))) +javax_management_remote_source_files = \ +classpath/javax/management/remote/NotificationResult.java \ +classpath/javax/management/remote/TargetedNotification.java + +javax_management_remote_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_management_remote_source_files))) +javax_management_remote_rmi_source_files = \ +classpath/javax/management/remote/rmi/RMIConnection.java \ +classpath/javax/management/remote/rmi/RMIServer.java + +javax_management_remote_rmi_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_management_remote_rmi_source_files))) javax_naming_source_files = \ classpath/javax/naming/AuthenticationException.java \ classpath/javax/naming/AuthenticationNotSupportedException.java \ @@ -6328,6 +6351,12 @@ classpath/javax/swing/undo/UndoableEdit.java \ classpath/javax/swing/undo/UndoableEditSupport.java javax_swing_undo_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_swing_undo_source_files))) +javax_tools_source_files = \ +classpath/javax/tools/Diagnostic.java \ +classpath/javax/tools/DiagnosticListener.java \ +classpath/javax/tools/FileObject.java + +javax_tools_header_files = $(patsubst classpath/%,%,$(patsubst %.java,%.h,$(javax_tools_source_files))) javax_transaction_source_files = \ classpath/javax/transaction/HeuristicCommitException.java \ classpath/javax/transaction/HeuristicMixedException.java \ @@ -7260,6 +7289,7 @@ all_packages_source_files = \ gnu/awt/j2d.list \ gnu/classpath.list \ gnu/classpath/debug.list \ + gnu/classpath/toolkit.list \ gnu/gcj.list \ gnu/gcj/convert.list \ gnu/gcj/io.list \ @@ -7450,6 +7480,8 @@ all_packages_source_files = \ javax/management.list \ javax/management/loading.list \ javax/management/openmbean.list \ + javax/management/remote.list \ + javax/management/remote/rmi.list \ javax/naming.list \ javax/naming/directory.list \ javax/naming/event.list \ @@ -7491,6 +7523,7 @@ all_packages_source_files = \ javax/swing/text/rtf.list \ javax/swing/tree.list \ javax/swing/undo.list \ + javax/tools.list \ javax/transaction.list \ javax/transaction/xa.list \ org/ietf/jgss.list \ @@ -7506,6 +7539,7 @@ ordinary_header_files = \ $(gnu_awt_j2d_header_files) \ $(gnu_classpath_header_files) \ $(gnu_classpath_debug_header_files) \ + $(gnu_classpath_toolkit_header_files) \ $(gnu_gcj_header_files) \ $(gnu_gcj_convert_header_files) \ $(gnu_gcj_io_header_files) \ @@ -7693,6 +7727,8 @@ ordinary_header_files = \ $(javax_management_header_files) \ $(javax_management_loading_header_files) \ $(javax_management_openmbean_header_files) \ + $(javax_management_remote_header_files) \ + $(javax_management_remote_rmi_header_files) \ $(javax_naming_header_files) \ $(javax_naming_directory_header_files) \ $(javax_naming_event_header_files) \ @@ -7734,6 +7770,7 @@ ordinary_header_files = \ $(javax_swing_text_rtf_header_files) \ $(javax_swing_tree_header_files) \ $(javax_swing_undo_header_files) \ + $(javax_tools_header_files) \ $(javax_transaction_header_files) \ $(javax_transaction_xa_header_files) \ $(org_ietf_jgss_header_files) \ @@ -7784,23 +7821,10 @@ bc_objects = \ org-xml.lo property_files = \ - classpath/resource/gnu/classpath/tools/appletviewer/messages.properties \ - classpath/resource/gnu/classpath/tools/common/Messages.properties \ - classpath/resource/gnu/classpath/tools/getopt/Messages.properties \ - classpath/resource/gnu/classpath/tools/jar/messages.properties \ - classpath/resource/gnu/classpath/tools/jarsigner/MessageBundle.properties \ - classpath/resource/gnu/classpath/tools/jarsigner/messages.properties \ - classpath/resource/gnu/classpath/tools/keytool/MessageBundle.properties \ - classpath/resource/gnu/classpath/tools/keytool/messages.properties \ - classpath/resource/gnu/classpath/tools/native2ascii/messages.properties \ - classpath/resource/gnu/classpath/tools/orbd/messages.properties \ - classpath/resource/gnu/classpath/tools/rmic/messages.properties \ - classpath/resource/gnu/classpath/tools/rmid/messages.properties \ - classpath/resource/gnu/classpath/tools/rmiregistry/messages.properties \ - classpath/resource/gnu/classpath/tools/serialver/messages.properties \ - classpath/resource/gnu/classpath/tools/tnameserv/messages.properties \ + classpath/resource/gnu/java/awt/font/fonts.properties \ classpath/resource/gnu/java/awt/peer/gtk/font.properties \ classpath/resource/gnu/java/awt/peer/x/fonts.properties \ + classpath/resource/gnu/java/awt/peer/x/xfonts.properties \ classpath/resource/gnu/java/locale/LocaleInformation.properties \ classpath/resource/gnu/java/locale/LocaleInformation_aa.properties \ classpath/resource/gnu/java/locale/LocaleInformation_aa_DJ.properties \ @@ -8081,8 +8105,6 @@ property_files = \ classpath/resource/javax/imageio/plugins/jpeg/MessagesBundle.properties \ classpath/resource/javax/swing/text/html/default.css \ classpath/resource/org/ietf/jgss/MessagesBundle.properties \ - classpath/resource/sun/rmi/rmic/messages.properties \ - classpath/resource/com/sun/tools/javac/messages.properties \ classpath/resource/META-INF/services/java.util.prefs.PreferencesFactory \ classpath/resource/META-INF/services/java.util.prefs.PreferencesFactory.in \ classpath/resource/META-INF/services/javax.sound.midi.spi.MidiDeviceProvider \ @@ -10424,6 +10446,12 @@ gnu/classpath/jdwp/value.list: $(gnu_classpath_jdwp_value_source_files) -include gnu/classpath/jdwp/value.deps +gnu/classpath/toolkit.list: $(gnu_classpath_toolkit_source_files) + @$(mkinstalldirs) $(dir $@) + echo $(srcdir)/classpath/lib/gnu/classpath/toolkit/*.class > gnu/classpath/toolkit.list + +-include gnu/classpath/toolkit.deps + gnu/gcj.list: $(gnu_gcj_source_files) @$(mkinstalldirs) $(dir $@) echo $(srcdir)/classpath/lib/gnu/gcj/*.class > gnu/gcj.list @@ -11692,6 +11720,18 @@ javax/management/openmbean.list: $(javax_management_openmbean_source_files) -include javax/management/openmbean.deps +javax/management/remote.list: $(javax_management_remote_source_files) + @$(mkinstalldirs) $(dir $@) + echo $(srcdir)/classpath/lib/javax/management/remote/*.class > javax/management/remote.list + +-include javax/management/remote.deps + +javax/management/remote/rmi.list: $(javax_management_remote_rmi_source_files) + @$(mkinstalldirs) $(dir $@) + echo $(srcdir)/classpath/lib/javax/management/remote/rmi/*.class > javax/management/remote/rmi.list + +-include javax/management/remote/rmi.deps + javax/naming.list: $(javax_naming_source_files) @$(mkinstalldirs) $(dir $@) echo $(srcdir)/classpath/lib/javax/naming/*.class > javax/naming.list @@ -11943,6 +11983,12 @@ javax/swing/undo.list: $(javax_swing_undo_source_files) -include javax/swing/undo.deps +javax/tools.list: $(javax_tools_source_files) + @$(mkinstalldirs) $(dir $@) + echo $(srcdir)/classpath/lib/javax/tools/*.class > javax/tools.list + +-include javax/tools.deps + javax/transaction.list: $(javax_transaction_source_files) @$(mkinstalldirs) $(dir $@) echo $(srcdir)/classpath/lib/javax/transaction/*.class > javax/transaction.list diff --git a/libjava/aclocal.m4 b/libjava/aclocal.m4 index 5369251..096db24 100644 --- a/libjava/aclocal.m4 +++ b/libjava/aclocal.m4 @@ -350,7 +350,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], # with or without modifications, as long as this notice is preserved. AC_DEFUN([AM_PROG_GCJ],[ -AC_CHECK_PROGS(GCJ, [gcj gcj-3.2 gcj-3.1 gcj-3.0 gcj-2.95], gcj) +AC_CHECK_PROGS(GCJ, gcj, gcj) test -z "$GCJ" && AC_MSG_ERROR([no acceptable gcj found in \$PATH]) if test "x${GCJFLAGS-unset}" = xunset; then GCJFLAGS="-g -O2" diff --git a/libjava/classpath/AUTHORS b/libjava/classpath/AUTHORS index 4efc086..be17176 100644 --- a/libjava/classpath/AUTHORS +++ b/libjava/classpath/AUTHORS @@ -39,7 +39,9 @@ Bryce McKinlay (bryce@waitaki.otago.ac.nz) Audrius Meskauskas (audriusa@Bioinformatics.org) Raif S. Naffah (raif@swiftdsl.com.au) Aaron M. Renn (arenn@urbanophile.com) +Ian Rogers (ian.rogers@manchester.ac.uk) Andrew Selkirk (aselkirk@sympatico.ca) +Robert Schuster (robertschuster@fsfe.org) Christian Thalinger (twisti@complang.tuwien.ac.at) Andreas Tobler (a.tobler@schweiz.org) Mario Torre (neugens@limasoftware.net) diff --git a/libjava/classpath/ChangeLog b/libjava/classpath/ChangeLog index 3b0c3c3..10a167c 100644 --- a/libjava/classpath/ChangeLog +++ b/libjava/classpath/ChangeLog @@ -60,3686 +60,1191 @@ * scripts/Makefile.in: Regenerate. * tools/Makefile.in: Regenerate. -2008-04-18 Paolo Bonzini +2008-06-06 Andrew John Hughes - PR bootstrap/35457 - * aclocal.m4: Regenerate. - * configure: Regenerate. - -2008-04-18 Ralf Wildenhues - - * lib/gen-classlist.sh.in: Avoid grepping each omission, by - building an awk script with a hash for literal files, and - awk regular expressions for the rest. - * configure.ac: Call AC_PROG_AWK. - * configure: Regenerate. - - * m4/gcc_attribute.m4 (GCC_ATTRIBUTE): Fix cache variable name. - * tools/Makefile.am (gappletviewer, gjarsigner, gkeytool, gjar) - (gnative2ascii, gserialver, gjavah, grmiregistry, gtnameserv) - (gorbd, grmid, grmic) [!CREATE_WRAPPERS]: Add stub dependencies - for these scripts, to trick automake into hiding the respective - rules for the programs below the CREATE_WRAPPERS conditional. - * aclocal.m4: Regenerate. - * configure: Likewise. - * Makefile.in: Likewise. - * native/jni/Makefile.in: Likewise. - * native/jni/classpath/Makefile.in: Likewise. - * native/jni/gstreamer-peer/Makefile.in: Likewise. - * native/jni/midi-dssi/Makefile.in: Likewise. - * native/jni/gconf-peer/Makefile.in: Likewise. - * native/jni/java-io/Makefile.in: Likewise. - * native/jni/native-lib/Makefile.in: Likewise. - * native/jni/java-util/Makefile.in: Likewise. - * native/jni/java-lang/Makefile.in: Likewise. - * native/jni/midi-alsa/Makefile.in: Likewise. - * native/jni/java-nio/Makefile.in: Likewise. - * native/jni/java-net/Makefile.in: Likewise. - * native/jni/xmlj/Makefile.in: Likewise. - * native/jni/qt-peer/Makefile.in: Likewise. - * native/jni/gtk-peer/Makefile.in: Likewise. - * native/Makefile.in: Likewise. - * native/jawt/Makefile.in: Likewise. - * native/fdlibm/Makefile.in: Likewise. - * native/plugin/Makefile.in: Likewise. - * resource/Makefile.in: Likewise. - * scripts/Makefile.in: Likewise. - * tools/Makefile.in: Likewise. - * doc/Makefile.in: Likewise. - * doc/api/Makefile.in: Likewise. - * lib/Makefile.in: Likewise. - * external/Makefile.in: Likewise. - * external/jsr166/Makefile.in: Likewise. - * external/sax/Makefile.in: Likewise. - * external/w3c_dom/Makefile.in: Likewise. - * external/relaxngDatatype/Makefile.in: Likewise. - * include/Makefile.in: Likewise. - * examples/Makefile.in: Likewise. - -2008-03-10 Jim Meyering - - Don't leak upon failed realloc. - * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc, - free the original buffer before throwing the exception. + * configure.ac: Set version to 0.97.2. + * NEWS: Add 0.97.2. -2008-03-09 Ralf Wildenhues +2008-05-10 Andrew John Hughes - * doc/cp-hacking.texinfo: Fix spacing after periods. - * doc/cp-tools.texinfo: Likewise. - * doc/cp-vmintegration.texinfo: Likewise. + * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: + Remove use of 1.5 language constructs. - * doc/cp-hacking.texinfo: Fix some typos. - * doc/cp-tools.texinfo: Likewise. - * doc/cp-vmintegration.texinfo: Likewise. +2008-06-06 Andrew John Hughes -2008-01-27 Bernhard Fischer + * tools/gnu/classpath/tools/common/ClasspathToolParser.java: + Fixed indentation and changed to use OptionException. + * tools/gnu/classpath/tools/getopt/OptionException.java: + (OptionException(String,Throwable)): Added. - * java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment. - * gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in - exception message. - -2008-01-27 Ralf Wildenhues - - * doc/README.jaxp: Fix typos. - -2008-01-24 Tom Tromey - - * resource/gnu/classpath/tools/native2ascii/messages.properties - (Native2ASCII.ReversedHelpCompat): New. - * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java - (createParser): Add -reverse. Update -reversed. +2008-06-03 Robert Schuster -2008-01-21 Luciano Chavez + * tools/gnu/classpath/tools/jar/Main.java: + (run): Call different ClasspathToolParser.parse() variant. + (getParser): Changed return type to ClasspathToolParser. + * tools/gnu/classpath/tools/javah/GcjhMain.java: + (getParser): Changed return type to ClasspathToolParser. + * tools/gnu/classpath/tools/javah/Main.java: + (getParser): Changed return type to ClasspathToolParser. + * tools/gnu/classpath/tools/getopt/Parser.java: Make 'programName' + protected. + * tools/gnu/classpath/tools/common/ClasspathToolParser.java: + (parse(String[], FileArgumentCallback,boolean): New method. + (parse(String[], boolean): New method. + (parseFileList): New method. + (parseLine): New method. + (AtFileArgumentCallback): New inner class. - PR libgcj/34369: - * java/net/URI.java (relativize): Check initial segment for - trailing "/". +2008-06-03 Andrew John Hughes -2007-12-05 Thomas Fitzsimmons + * tools/gnu/classpath/tools/getopt/OptionException.java, + * tools/gnu/classpath/tools/jar/Main.java: + Revert previous changes to allow Schuster's patch to + do the same. - * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, - native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c - (isWindowUnderMouse): New method. - * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: - Regenerate. - * gnu/java/awt/peer/gtk/GtkComponentPeer.java - (getLocationOnScreen): Move WindowPeer section to... - * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen): - New method. - * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java - (isWindowUnderMouse): Implement. - * java/awt/Component.java (getMousePosition): New method. - (getMousePositionHelper): Likewise. - (mouseOverComponent): Likewise. - * java/awt/Container.java (getMousePosition): New method. - (mouseOverComponent): Likewise. - * classpath/lib/java/awt/Component.class, - classpath/lib/java/awt/Component$BltBufferStrategy.class, - classpath/lib/java/awt/Container$GfxPaintAllVisitor.class, - classpath/lib/java/awt/Component$AccessibleAWTComponent - $AccessibleAWTFocusHandler.class, - classpath/lib/java/awt/Component$FlipBufferStrategy.class, - classpath/lib/java/awt/Container$GfxVisitor.class, - classpath/lib/java/awt/Component$AccessibleAWTComponent - $AccessibleAWTComponentHandler.class, - classpath/lib/java/awt/Container$AccessibleAWTContainer - $AccessibleContainerHandler.class, - classpath/lib/java/awt/Container.class, - classpath/lib/java/awt/Container$AccessibleAWTContainer.class, - classpath/lib/java/awt/Container$GfxPrintAllVisitor.class, - classpath/lib/java/awt/Component$AccessibleAWTComponent.class, - classpath/lib/java/awt/Container$GfxPaintVisitor.class, - classpath/lib/java/awt/Container$GfxPrintVisitor.class, - classpath/lib/java/awt/Component$HeavyweightInLightweightListener.class, - classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer.class, - classpath/lib/gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.class, - classpath/lib/gnu/java/awt/peer/gtk/GtkMouseInfoPeer.class, - classpath/lib/gnu/java/awt/peer/gtk/GtkWindowPeer.class, - classpath/lib/gnu/java/awt/peer/gtk/GtkComponentPeer - $RepaintTimerTask.class: - Regenerate. - -2007-10-01 Alexandre Oliva - - * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring - a single trailing whitespace. - -2007-08-22 Andrew John Hughes - - * java/util/EnumSet.java: - Documented. - (complementOf(EnumSet)): Fixed to flip only - the bits used by the enumset. - -2007-07-31 Dalibor Topic - - PR 32844 - * java/util/EnumSet.java: - Made class abstract per API spec. - (size, iterator, add, addAll, clear, contains, - containsAll, remove, removeAll, retainAll) Moved - into an anonymous inner class in of(T). - (allOf, noneOf, copyOf, of, range) Made more - implementation independent. - (of(T)) return an instance of an anonymous class - implementing EmptySet. - -2007-07-28 Matthias Klose - - * include/jvmti.h(jniNativeInterface): Rename type. - -2007-07-24 Tom Tromey - - PR java/32862: - * java/util/EnumMap.java (get): Special case emptySlot. - (clone): Rewrote. - -2007-07-23 Christian Thalinger - - * gnu/java/nio/charset/ISO_8859_1.java: Added ISO8859-1 to - aliases. - -2007-07-23 Christian Thalinger - - * vm/reference/sun/misc/Unsafe.java (unpark): Changed signature to - be compatible with OpenJDK. - -2007-07-13 Roman Kennke - - * gnu/java/awt/java2d/AbstractGraphics2D.java - (clip(Shape)): Call setClip when the clip changes. - (drawImage): Add translation. - (drawLine): Add translation. - * gnu/java/awt/peer/x/PixmapVolatileImage.java - (getPixmap): New method. - * gnu/java/awt/peer/x/XEventPump.java - (XEventPump): Name thread. Start as daemon thread. - * gnu/java/awt/peer/x/XGraphics2D.java - (rawDrawImage): Special handling for PixmapVolatileImage. - (rawDrawLine): Don't add translation here. This is done in - the superclass. - (rawFillRect): Don't add translation here. This is done in - the superclass. - (renderScanline): Added null check. - -2007-07-13 Roman Kennke - - * gnu/java/awt/peer/x/PixmapVolatileImage.java: New class. - * gnu/java/awt/peer/x/XGraphicsConfiguration.java - (createCompatibleImage(int,int)): Delegate to the 3-int overload. - (createCompatibleImage(int,int,int)): Implemented. Using - the ZPixmapDataBuffer for OPAQUE images. - (createCompatibleVolatileImage(int,int)): Delegate to the 3-int - overload. - (createCompatibleVolatileImage(int,int,int)): Implemented. Using - PixmapVolatileImage. - * gnu/java/awt/peer/x/XWindowPeer.java - (createImage): Return a PixmapVolatileImage (for now). - (createVolatileImage): Implemented, using PixmapVolatileImage. - * gnu/java/awt/peer/x/ZPixmapDataBuffer.java - New class. - -2007-07-10 Roman Kennke - - PR 32645 - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c - (copyPixbuf): Swap asserts. - -2007-07-09 Chris Burdess - - Fixes #32672 - * gnu/xml/dom/DomElement.java, - * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in - setNamedNode when cloning. - -2007-07-08 Mario Torre - - * gnu/javax/sound/sampled/gstreamer: new package hierarchy. - * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file. - * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java: - likewise. - * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise. - * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise. - * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise. - * gnu/javax/sound/AudioSecurityManager.java: likewise. - * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise. - * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise. - * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise. - * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise. - * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in: - likewise. - * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in: - likewise. - * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider: - likewise. - * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise. - * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise. - * native/jni/gstreamer-peer/gstinputstream.c: likewise. - * native/jni/gstreamer-peer/gstinputstream.h: likewise. - * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise. - * native/jni/gstreamer-peer/Makefile.am: likewise. - * native/jni/gstreamer-peer/.cvsignore: likewise. - * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h: - likewise. - * include/Makefile.am: add gstreamer generated headers. - * configure.ac: add gstreamer sound backend configuration. - The backend is currently disabled by default. - * native/jni/Makefile.am: code to allow compilation of the gstreamer - sound backend. - * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported): - indentation fixes. - * javax/sound/sampled/AudioFormat.java (toString): fix method to display - informations only when available. - * javax/sound/sampled/DataLine.java: - (Info.isFormatSupported): indentation fixes. - (Info): indentation fixes. - (Info.toString): indentation fixes. - (Info.matches): indentation fixes. - -2007-07-03 Tania Bento +2008-06-06 Andrew John Hughes * java/lang/Integer.java: - (parseInt(String,int,boolean)): Throw NumberFormatException if - String is just "+". - -2007-07-01 Chris Burdess - - * gnu/xml/transform/WithParam.java: Handle case where content is - empty. - -2007-06-28 Tom Tromey - - * include/jni.h: Fixed local variables. - -2007-06-26 Ito Kazumitsu - - * ChangeLog: Correction of a bug fix number. - -2007-06-25 Roman Kennke - - * gnu/java/awt/peer/ClasspathFontPeer.java - (canDisplay): Take character as integer codepoint. - * gnu/java/awt/peer/gtk/GdkFontPeer.java - (canDisplay): Take character as integer codepoint. - * gnu/java/awt/peer/gtk/GtkComponentPeer.java - (postMouseEvent): Use MouseEvent constructor with absolute coordinates - to avoid deadlock (over getLocationOnScreen()). - * gnu/java/awt/peer/gtk/VolatileImageGraphics.java - (getDeviceConfiguration): Fall back to the default configuration - if the component is not set. - * gnu/java/awt/peer/qt/QtFontMetrics.java - (canDisplay): Take character as integer codepoint. - * gnu/java/awt/peer/qt/QtFontPeer.java - (canDisplay): Take character as integer codepoint. - * gnu/java/awt/peer/x/XFontPeer2.java - (canDisplay): Take character as integer codepoint. - * include/gnu_java_awt_peer_qt_QtFontMetrics.h - (canDisplay): Take character as integer codepoint. - * java/awt/Font.java - (DIALOG): New constant. - (DIALOG_INPUT): New constant. - (MONOSPACED): New constant. - (SANS_SERIF): New constant. - (SERIF): New constant. - (Font(Font)): New constructor. - (canDisplay(char)): Use new canDisplay(int) method. - (canDisplay(int)): New method. - (hasLayoutAttributes): New method. - * java/awt/event/MouseEvent.java - (absX,absY): New fields. - (MouseEvent): New constructor with absolute coordinates. - (getLocationOnScreen): New method. - (getXOnScreen): New method. - (getYOnScreen): New method. - * native/jni/qt-peer/qtfontmetrics.cpp - (canDisplay): Take character as integer codepoint. - -2007-06-25 Mark Wielaard - - * native/jni/native-lib/cpnet.c - (cpnet_aton) Moved variable declaration of inet6_addr so it is - actually in the scope of its use. - -2007-06-25 Dalibor Topic - - * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c - (THROW_NO_IPV6): New macro. - (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally - build code if IPv6 facilities are available, otherwise - throw an error. - (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6, - Java_gnu_java_net_VMPlainSocketImpl_join6, - Java_gnu_java_net_VMPlainSocketImpl_leave6, - Java_gnu_java_net_VMPlainSocketImpl_joinGroup6, - Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6) - Use THROW_NO_IPV6. - - * native/jni/java-net/java_net_VMInetAddress.c - (Java_java_net_VMInetAddress_getHostByAddr, - Java_java_net_VMInetAddress_getHostByName, - Java_java_net_VMInetAddress_aton) Build IPv6 dependant - code conditionally on IPv6 facilities being available. - Switched if-else blocks where necessary to allow that. - - * native/jni/java-net/javanet.c - (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally - on IPv6 facilities being available. - - * native/jni/native-lib/cpnet.c - (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant - code conditionally on IPv6 facilities being available. - (cpnet_aton) Moved variable declaration of inet6_addr to the scope - of its use. Build IPv6 dependant code conditionally - on IPv6 facilities being available. - - * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address, - cpnet_isIPV6Address, cpnet_IPV6AddressToBytes, - cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions - available conditionally on IPv6 facilities being available. - -2007-06-25 Dalibor Topic - - * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an - explicit argument to configure, just use it, and don't attempt to - run AC_CHECK_PROG. This makes --with-javac="javac -J-Xmx512M" work. - -2007-06-25 Dalibor Topic - - * configure.ac: Check for MSG_WAITALL, since it does not exist on - Cygwin. - - * native/jni/java-nio/gnu_java_nio_VMChannel.c - (Java_gnu_java_nio_VMChannel_receive): Define MSG_WAITALL as 0 if - it does not exist. - -2007-06-24 Ito Kazumitsu - - Fixes bug #31927 - * native/jni/java-nio/gnu_java_nio_VMChannel.c - (Java_gnu_java_nio_VMChannel_available): Retry using fstat if ioctl - fails with ENOTTY. - -2007-06-22 Tania Bento - - * java/util/Currency.java: - (getInstance (Locale)): Check that the country of the - locale given is valid. If it is not, throw an - IllegalArgumentException. - -2007-06-22 Roman Kennke - - * gnu/java/awt/peer/GLightweightPeer.java - * gnu/java/awt/peer/gtk/GdkRobotPeer.java - * gnu/java/awt/peer/gtk/GtkCompoonentPeer.java - * gnu/java/awt/peer/gtk/GtkFramePeer.java - * gnu/java/awt/peer/gtk/GtkWindowPeer.java - * gnu/java/awt/peer/qt/QtComponentPeer.java - * gnu/java/awt/peer/qt/QtFramePeer.java - * gnu/java/awt/peer/qt/QtWindowPeer.java - * gnu/java/awt/peer/swing/SwingComponentPeer.java - * gnu/java/awt/peer/swing/SwingWindowPeer.java - * gnu/java/awt/peer/x/XFramePeer.java: - Removed @Override annotations from some interface implementation - methods to ensure 1.5 compatibility. - -2007-06-22 Christian Thalinger - - * include/jni.h (JNINativeInterface): Renamed to - JNINativeInterface_, added const to arguments where necessary. - (JNIInvokeInterface): Renamed to JNIInvokeInterface_. - -2007-06-22 Roman Kennke - - * sun/awt/CausedFocusEvent.java: New class. Needed for compatibility - in java.awt.peer. - * java/awt/Dialog.java - (ModalExclusionType): New enum. - (ModalityType): New enum. - * java/awt/Toolkit.java - (isModalExclusionTypeSupported): New abstract method. - (isModalityTypeSupported): New abstract method. - * java/awt/peer/ComponentPeer.java - (requestFocus): New method. - * java/awt/peer/FramePeer.java - (getBoundsPrivate): New method. - * java/awt/peer/RobotPeer.java - (dispose): New method. - * java/awt/peer/WindowPeer.java - (setAlwaysOnTop): New method. - (updateFocusableWindowState): New method. - (setModalBlocked): New method. - (updateMinimumSize): New method. - (updateIconImages): New method. - * gnu/java/awt/peer/GLightweightPeer.java - (requestFocus): New method. - * gnu/java/awt/peer/gtk/GdkRobotPeer.java - (dispose): New method. - * gnu/java/awt/peer/gtk/GtkComponentPeer.java - (requestFocus): New method. - * gnu/java/awt/peer/gtk/GtkFramePeer.java - (getBoundsPrivate): New method. - * gnu/java/awt/peer/gtk/GtkToolkit.java - (isModalExclusionTypeSupported): New method. - (isModalityTypeSupported): New method. - * gnu/java/awt/peer/gtk/GtkWindowPeer.java - (updateIconImages): New method. - (updateMinimumSize): New method. - (setModalBlocked): New method. - (updateFocusableWindowState): New method. - (setAlwaysOnTop): New method. - * gnu/java/awt/peer/headless/HeadlessToolkit.java - (isModalExclusionTypeSupported): New method. - (isModalityTypeSupported): New method. - * gnu/java/awt/peer/qt/QtComponentPeer.java - (requestFocus): New method. - * gnu/java/awt/peer/qt/QtFramePeer.java - (getBoundsPrivate): New method. - * gnu/java/awt/peer/qt/QtToolkit.java - (isModalExclusionTypeSupported): New method. - (isModalityTypeSupported): New method. - * gnu/java/awt/peer/qt/QtWindowPeer.java - (updateIconImages): New method. - (updateMinimumSize): New method. - (setModalBlocked): New method. - (updateFocusableWindowState): New method. - (setAlwaysOnTop): New method. - * gnu/java/awt/peer/swing/SwingComponentPeer.java - (requestFocus): New method. - * gnu/java/awt/peer/swing/SwingToolkit.java - (isModalExclusionTypeSupported): New method. - (isModalityTypeSupported): New method. - * gnu/java/awt/peer/swing/SwingWindowPeer.java - (updateIconImages): New method. - (updateMinimumSize): New method. - (setModalBlocked): New method. - (updateFocusableWindowState): New method. - (setAlwaysOnTop): New method. - * gnu/java/awt/peer/x/XFramePeer.java - (getBoundsPrivate): New method. - * gnu/java/awt/peer/x/XToolkit.java - (isModalExclusionTypeSupported): New method. - (isModalityTypeSupported): New method. - -2007-06-21 Andrew John Hughes - - * tools/Makefile.am: - Compile in com.sun.tools.javah - * tools/com/sun/tools/javah/Main.java: - Javah Sun-->Classpath wrapper. - -2007-06-21 Christian Thalinger + (parseInt(String, int, boolean)): Disallow "-+". - * javax/swing/text/html/parser/AttributeList.java (getValues): - Check if values is null. +2008-05-11 Andrew John Hughes -2007-06-21 Roman Kennke - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: - Fix some type signatures. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: - Fix intendation. - -2007-06-21 Jeroen Frijters - - * java/io/ObjectStreamClass.java (getClassUID): Return 0L for - enums and proxies. - -2007-06-21 Jeroen Frijters - - * java/net/URLClassLoader.java - (URLClassLoader(URL[],ClassLoader,URLStreamHandlerFactory): - Add factory to cache before calling addURLS. - (run): Don't call initCause() on ClassNotFoundException. - -2007-06-21 Jeroen Frijters - - Fixes #32356 - * java/lang/reflect/Array.java - (newInstance(Class,int[])): Call createMultiArray correctly. - (createMultiArray): Fixed dimensions processing order. - -2007-06-21 Jeroen Frijters - - * gnu/java/net/loader/URLLoader.java - (URLLoader(URLClassLoader,URLStreamHandlerCache, - URLStreamHandlerFactory,URL,URL)): Disabiguate CodeSource constructor - invocation. - * java/awt/AWTKeyStroke.java - (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile - error when compiled against OpenJDK java.util package. - * java/awt/AlphaComposite.java - (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile - error when compiled against OpenJDK java.util package. - -2007-06-21 Jeroen Frijters - - * gnu/java/security/Engine.java - (getInstance(String,String,Provider,Object[]): Use correctly cased - property name. - -2007-07-19 Keith Seitz - - * classpath/gnu/classpath/jdwp/value/StringValue.java - (StringValue): Tag of StringValue is STRING not OBJECT. - (write): String values are written to the wire as tag byte - and object ID, not JdwpString. - -2007-07-19 Keith Seitz - - * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java - (executeInvokeMethod): No need to use ValueFactory any more; - MethodResult.getReturnedValue now returns a Value. - (executeNewInstance): Double-check that return result is - an ObjectValue; throw JdwpInternalErrorException if it is not. - (invokeMethod): Method IDs come from VMMethod, not VMIdManager. - Arguments are Values not Objects. - Use ValueFactory to create arguments. - Pass invocation options to VMVirtualMachine.executeMethod. - Don't do any thread suspend/resume work: VMVM.executeMethod - will take care of it. - * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java - (executeInvokeMethod): Method IDs come from VMMethod, not - VMIdManager. - Arguments should be Values instead of Objects. - Use ValueFactory to create Values. - Remove specific option handling and pass options to - VMVirtualMachine.executeMethod. - Remove thread suspension. - Use MethodResult.getReturnedValue to get method's result. - * gnu/classpath/jdwp/util/MethodResult.java - (returnedValue): Change type to Value. - (thrownException): Change type to Throwable. - (resType): Remove. - (MethodResult): New constructor. - (setReturnedValue): Remove. - (SetThrownException): Remove. - (getResultType): Remove. - (setResultType): Remove. - * gnu/classpath/jdwp/value/ObjectValue.java (getValue): - New method. - * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java - (executeMethod): Replace "nonVirtual" parameter with more - generic "options" parameter. - Replace java.lang.reflect.Method parameter with VMMethod. - Replace Objet[] parameter with Value[] parameter. - -2007-07-10 Dalibor Topic - - * configure.ac (FOUND_CACAO): Removed. - -2007-06-01 Robin Garner - - Fixes #32162 - * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep - cloning nodes. - -2007-05-30 Mark Wielaard - - Fixes bug #32030 reported by Steve.Blackburn@anu.edu.au - * native/jni/java-nio/gnu_java_nio_VMChannel.c - (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when - CPNIO_APPEND is not, but O_WRONLY is set. - -2007-05-25 Robert Schuster + Reported by Nicolas Geoffray + * java/lang/Integer.java: + (parseInt(String,int,boolean)): Parse +x + as x, not -x. - * gnu/java/awt/peer/x/XGraphics2D.java: - (rawDrawLine): Added addition of translation. - (rawFillRect): Dito. - -2007-05-25 Robert Schuster - - * gnu/java/awt/font/opentype/OpenTypeFont.java: - (getGlyphIndex): Call getGlyphCharMap() instead of - accessing cmap field directly. - -2007-05-24 Ito Kazumitsu - - * native/jni/java-nio/gnu_java_nio_VMChannel.c - (Java_gnu_java_nio_VMChannel_available): Use fstat or select as an - alternative to ioctl. - * native/jni/native-lib/cpio.c(cpio_availableBytes): Corrected typo. - -2007-05-24 Roman Kennke - - * gnu/java/math/Fixed.java - (trunc): New method. - -2007-05-24 Roman Kennke - - * gnu/java/awt/java2d/AbstractGraphics2D.java - (fillShape): Pass rendering hints to scanline converter. - * gnu/java/awt/java2d/ScanlineConverter.java - (ONE): New constant for the number 1 as fixed point number. - (Y_RESOLUTION): New constant for the Y resolution. - (doScanline): Handle the Y resolution. - (renderShape): Accept rendering hints. - (setResolution): Adjust maximum resolution with Y resolution. - * gnu/java/awt/java2d/ScanlineCoverage.java - (Iterator.handledPixelCoverage): New field. - (Iterator.next): Handle single pixel coverage. - (Iterator.hasNext): Handle single pixel coverage. - (Iterator.reset): Reset single pixel coverage. - (Range.toString): New method. - (Coverage.pixelCoverage): New field. - (add): Include Y (pixel) coverage. - (findOrInsert): Reset Y coverage in reused entries. - -2007-05-24 Roman Kennke - - * gnu/java/awt/java2d/ScanlineCoverage.java - (Iterator): New class. - (Range): New class. - (Coverage.covDelta): Made field package private. - (Coverage.xPos): Made field package private. - (iterator): New field. Stores the iterator that is reused. - (ScanlineCoverage): Initialize iterator. - (assertion): Removed. - (isEmpty): Refined conditions. - (iterate): Return Iterator instance. - (next): Removed. This is done by the Iterator class now. - (test): Removed. - * gnu/java/awt/java2d/ScanlineConverter.java - (main): Removed. - * gnu/java/awt/peer/x/XGraphics2D.java - (renderScanline): Adjust to new coverage iterator stuff. - * gnu/java/awt/java2d/AbstractGraphics2D.java - (renderScanline): Adjust to new coverage iterator stuff. - -2007-05-23 Jeroen Frijters - - * java/util/Arrays.java - (copyOfRange(T,int,int)): Fixed to instantiate right array type. - -2007-05-22 Robert Schuster - - * gnu/java/awt/peer/x/XEventQueue.java: - (handleEvent): Calculate modifier value for mouse presse - and release events, clip button values. - (buttonToModifier): New method. - * gnu/java/awt/peer/x/KeyboardMapping.java: - (mapModifiers): Added cases for alt gr and the meta key. - -2007-05-22 Robert Schuster - - * gnu/java/awt/peer/x/XEventQueue.java: - (handleEvent): Use Input.event_window_id for - key presses/releases. - -2007-05-22 Robert Schuster - - * gnu/java/awt/peer/x/XEventQueue.java: - (handleEvent): Use Input.event_window_id instead of - Input.child_window_id for mouse presses/releases & - movement. - -2007-05-22 Roman Kennke - - * gnu/java/awt/peer/x/XFontPeer2.java - (XFontMetrics.charWidth): Use cached Point2D instance. - * gnu/java/awt/peer/x/XGraphics2D.java - (renderScanline): New method. Renders a scanline according to - the coverage information. - (setPaint): Call super, so that the state is updated correctly. - -2007-05-19 Andreas Tobler - - PR libgcj/31659 - * m4/ax_create_stdint_h.m4: Apply patch from PR31659. - -2007-05-18 Andreas Tobler - - * autogen.sh (have_libtool): Update comments for Darwin. - -2007-05-18 Roman Kennke - - * gnu/java/awt/java2d/AbstractGraphics2D.java - (fillScanlineAA): Removed. Replaced by renderScanline(). - (fillScanline): Dito. - (renderScanline): New method. Renders a scanline according to - the coverage information from the scanline converter. - * gnu/java/awt/java2d/Pixelizer.java: New interface. Describes - the targets of the rasterizer. - * gnu/java/awt/java2d/ScanlineConverter.java - (alphaRes): Removed. - (ONE): Removed. - (scanlineCoverage): New field. Manages the coverage information. - (scanlinesPerPixel): Removed. - (scanlineXCov): Removed. - (scanlineYCov): Removed. - (slPix0): Removed. - (ScanlineConverter): Initialize scanline coverage data structure. - (clear): Also clear the scanline coverage. - (doScanline): Work with Pixelizer objects. - Use the ScanlineCoverage datastructure. - (main): New method. Performs some tests. - (renderShape): Work with pixelizer objects rather than directly - on AbstractGraphic2D. Adjust to use ScanlineCoverage datastructure. - (setResolution): Set resolution on ScanlineCoverage data too. - * gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores - and manages scanline coverage information. - -2007-05-14 Andrew John Hughes - - * java/rmi/MarshelledObject.java, - * java/rmi/activation/Activatable.java, - * java/rmi/activation/ActivationDesc.java, - * java/rmi/activation/ActivationGroup.java, - * java/rmi/activation/ActivationGroupDesc.java, - * java/rmi/activation/ActivationInstantiator.java, - * java/rmi/activation/ActivationMonitor.java, - * java/rmi/activation/Activator.java: - Genericized. - -2007-05-13 Andrew John Hughes +2008-06-05 Andrew John Hughes * configure.ac: - Check if nsl library is needed for inet_pton. - * tools/gappletviewer.in, - * tools/gjar.in, - * tools/gjarsigner.in, - * tools/gjavah.in, - * tools/gkeytool.in, - * tools/gnative2ascii.in, - * tools/gorbd.in, - * tools/grmic.in, - * tools/grmid.in, - * tools/grmiregistry.in, - * tools/gserialver.in, - * tools/gtnameserv.in: - Remove spaces around '=' in setting of datarootdir. - -2007-05-11 Kyle Galloway - - * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java - (executeMethods): Remove cast to ClassReferenceTypeId. - -2007-05-11 Jeroen Frijters - - * java/lang/Float.java - (toString(float)): Call VMFloat instead of VMDouble. - (parseFloat): Call VMFloat. Fixed comment. - * vm/reference/java/lang/VMFloat.java - (toString, parseFloat): New methods. - NEWS: added note about these changes. - -2007-05-08 Kyle Galloway - - * vm/reference/VMFrame.java (): Add a parameter for the "this" - pointer of the frame. - -2007-05-08 Roman Kennke - - * gnu/java/awt/peer/x/XFontPeer.java: Removed. - * gnu/java/awt/peer/x/XGraphics.java: Removed - * gnu/java/awt/peer/x/XFontPeer2.java - (XLineMetrics.getDescent): Use cached idendity transform. - (XFontMetrics.cachedPoint): New field. Caches a Point2D instance - for reuse. - (XFontMetrics.getAscent): Use cached idendity transform. - (XFontMetrics.getDescent): Use cached idendity transform. - (XFontMetrics.getHeight): Use cached idendity transform. - (XFontMetrics.charWidth): Map character to glyph index first. - (XFontMetrics.stringWidth): Use cached idendity transform. - (IDENDITY): New static field. A reused AffineTransform instance. - -2007-05-08 Roman Kennke - - * gnu/java/awt/font/FontDelegate.java - (getGlyphIndex): New method. Maps characters to their - glyph index in the font. - M gnu/java/awt/font/opentype/OpenTypeFont.java - (getGlyphIndex): New method. Maps characters to their - glyph index in the font. - -2007-05-08 Roman Kennke - - * gnu/java/awt/java2d/AbstractGraphics2D.java - (AA_SAMPLING): Removed. - (alpha): Removed field. - (edgeTable): Removed field. - (fillScanlineAA): Removed obsolete method. - (drawPolyline): Implemented by using a GeneralPath. - (drawPolygon): Reset the cached polygon. - (fillPolygon): Reset the cached polygon. - (fillShape): Default to antialias on for text. - (rawDrawLine): Use ShapeCache. - (rawDrawRect): Use ShapeCache. - (rawFillRect): Use ShapeCache. - (fillScanlineAA): New method for antialiased rendering. - * gnu/java/awt/java2d/ScanlineConverter.java - (scanlinesPerPixel): New field. - (minX,maxX): New fields. - (scanlineYCov,scanlineXCov): New fields. - (slPix0): New field. - (alphaRes): New field. - (renderShape): Add antialiasing functionality. - (doScanline): Add antialiasing functionality. - (setResolution): Add antialiasing functionality. - (addShape): Determine span in X direction. - (fit): Fix thinko. - * gnu/java/awt/java2d/ShapeCache.java - (polyline): New field for caching polylines. - -2007-05-08 Roman Kennke - - * examples/gnu/classpath/examples/awt/HintingDemo.java - Add support for showing the original vs the hinted glyphs plus - a grid. - -2007-05-08 Andrew John Hughes - - * lib/Makefile.am: Print property files as well. - -2007-05-08 Andrew John Hughes - - * native/jni/gtk-peer/gtkpeer.c: - Added support for 64-bit architectures. + Check for --with-glibj too when disabling + the javac check. -2007-05-04 Chris Burdess - - Fixes PR #31814 - * gnu/xml/dom/DomDocument.java, - gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when mode is - #IMPLIED and value is not specified. - * gnu/xml/stream/XMLParser.java: Add debugging info. - -2007-05-03 Keith Seitz - - * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call - new array-based method. - (notify): New function. - (sendEvent): Rewrite to use sendEvents. - (sendEvents): New method. - * gnu/classpath/jdwp/event/Event.java (toPacket): Make static. - Change parameters to use arrays for events and requests. - Add suspendPolicy parameter. - Move per-event data transformation to... - (_toData): ... here. - * gnu/classpath/jdwp/transport/JdwpConnection.java - (sendEvent): Renamed to ... - (sendEvents): ... this. - Change parameters to use arrays for events and requests. - Add suspendPolicy parameter. - -2007-05-03 Thomas Fitzsimmons - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304 - * javax/swing/text/html/HTMLEditorKit.java - (getStyleSheet): Throw RuntimeException when style loading fails. - * lib/Makefile.am: Treat css files as a property files. - * javax/swing/text/html/default.css: Move to... - * resource/javax/swing/text/html/default.css: New file. - -2007-05-03 Andrew Haley - - * gnu/javax/management/Server.java (Server): Record the delegate. - (registerMBean): Notify the delegate. - (unregisterMBean): Likewise. - (notify): New method. - -2007-04-30 Roman Kennke - - * gnu/java/awt/peer/x/XLightweightPeer.java: Removed. - * gnu/java/awt/peer/x/XEventPump.java - (handleEvent): Improved handling of event ids to window mapping. - * gnu/java/awt/peer/x/XFontPeer2.java: - Load font.properties at startup. - (XLineMetrics.glyphVector): New field. - (XLineMetrics.XLineMetrics): Get glyphVector from font delegate. - (XLineMetrics.getHeight): Implemented using glyph vector. - (XLineMetrics.getLeading): Implemented. - (XFontPeer2): Change hardwired font to something more common. - (encodeFont): New methods, encodes a font to the font.properties - format. - (validName): New method. Checks and returns a valid font name. - * gnu/java/awt/peer/x/XGraphics2D.java - (foreground): New field. - (rawSetPixel): Removed. - (rawDrawLine): Draw a segment. - (rawSetForeground): Removed. - (fillScanline): New method. - (fillScanlineAA): New method. - (setPaint): Set the foreground color. - (fillShape): Synchronize super behaviour. - (rawDrawImage): Optimize XImage. - * gnu/java/awt/peer/x/XGraphicsDevice.java - (getDisplay): Improve creation of socket. - (createLocalSocket): New helper method to create a local socket. - * gnu/java/awt/peer/x/XImage.java - (getGraphics): Return an XGraphics2D. - * gnu/java/awt/peer/x/XToolkit.java - (getClasspathFontPeer): Use XFontPeer2. - (createComponent): Removed. - * gnu/java/awt/peer/x/XWindowPeer.java - (getGraphics): Return an XGraphics2D. - (show): Clear the window. - (getFontMetrics): Use XFontPeer2. - -2007-04-30 Roman Kennke - - * gnu/java/awt/peer/swing/SwingButtonPeer.java - (SwingButton.handleFocusEvent): New method. Handles focus events. - (SwingButton.requestFocus): Overridden to avoid loop into peer - and back. - (SwingButton.requestFocus(boolean)): Overridden to avoid loop - into peer and back. - * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class. - Implements CheckboxPeer for Swing toolkit. - * gnu/java/awt/peer/swing/SwingComponent.java - (handleFocusEvent): New method. Handles focus events. - * gnu/java/awt/peer/swing/SwingComponentPeer.java - (getMinimumSize): Delegate to minimumSize(). - (getPreferredSize): Delegate to preferredSize(). - (handleEvent): Only paint when component is showing. Coalesce - paint event in any case. Reformat. Handle focus events. - (requestFocus): Post FOCUS_GAINED event. - (handleFocusEvent): New method. Delegate to SwingComponent - object. - * gnu/java/awt/peer/swing/SwingContainerPeer.java - (addHeavyweightDescendent): Make this protected. - (removeHeavyweightDescendent): Make this protected. - (getHeavyweightDescendents): New method. Returns all registered - heavyweights. - (handleKeyEvent): Delegate to peer's handleEvent() method. - * gnu/java/awt/peer/swing/SwingLabelPeer.java - (SwingLabel.handleFocusEvent): New method. - * gnu/java/awt/peer/swing/SwingListPeer.java - (SwingList.handleFocusEvent): New method. - * gnu/java/awt/peer/swing/SwingPanelPeer.java - Fix typo and import. - * gnu/java/awt/peer/swing/SwingTextAreaPeer.java - Wrap up text area in viewport. - * gnu/java/awt/peer/swing/SwingTextFieldPeer.java - (SwingTextField.handleFocusEvent): New method. - (SwingTextField.requestFocus): New method. - (SwingTextField.requestFocus(boolean)): New method. - -2007-04-27 Keith Seitz - - * gnu/classpath/jdwp/event/EventManager.java - (getEventRequest): Rename to... - (getEventRequests): ...this. - Change return type to array of requests. - Construct a list of all matching events and return - them all. - * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests - and send event notifications for all matching requests. - -2007-04-27 Keith Seitz - - * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java - (matches): Use Location.equals to determine equality. - * vm/reference/gnu/classpath/jdwp/VMMethod.java (equals): - New method. - * gnu/classpath/jdwp/util/Location.java (equals): - New method. - -2007-04-27 Roman Kennke - - * java/nio/CharViewBufferImpl.java - (slice): Fixed offset for slice buffer. - * java/nio/DoubleViewBufferImpl.java - (slice): Fixed offset for slice buffer. - * java/nio/FloatViewBufferImpl.java - (slice): Fixed offset for slice buffer. - * java/nio/IntViewBufferImpl.java - (slice): Fixed offset for slice buffer. - * java/nio/LongViewBufferImpl.java - (slice): Fixed offset for slice buffer. - * java/nio/ShortViewBufferImpl.java - (slice): Fixed offset for slice buffer. - -2007-04-25 Roman Kennke - - * gnu/java/awt/peer/gtk/GdkFontPeer.java, - * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, - * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, - * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, - * gnu/java/awt/peer/gtk/GtkGenericPeer.java, - * gnu/java/awt/peer/gtk/GtkToolkit.java: - Added fields to hold the native state. Added class initialization - things to fetch the JNI field IDs. - * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, - * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h, - * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h, - * include/gnu_java_awt_peer_gtk_GtkToolkit.h: - Added / changed class init methods for field ID initialization. - * native/jni/classpath/Makefile.am: Removed native_state stuff. - * native/jni/classpath/native_state.c, - * native/jni/classpath/native_state.h: Removed. - * native/jni/gconf-peer/Makefile.am: Removed native_state stuff. - * native/jni/gtk-peer/Makefile.am: Removed native_state stuff. - * native/jni/gtk-peer/cairographics2d.h, - * native/jni/gtk-peer/gdkdisplay.h, - * native/jni/gtk-peer/gdkfont.h, - * native/jni/gtk-peer/GtkDragSourceContextPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, - * native/jni/gtk-peer/gtk_jawt.c: - Removed native state stuff and replaced that with an approach - to store the native state of an object directly in that object. - * native/jni/gtk-peer/gtkpeer.c: New file. Implements the new native - state management. - * native/jni/gtk-peer/gtkpeer.h: Remove NSA stuff and added - prototypes for new native state handling. - -2007-04-23 Mark Wielaard - - * doc/www.gnu.org/newsitems.txt: Add 0.95. - * doc/www.gnu.org/downloads/downloads.wml: Likewise. - * doc/www.gnu.org/announce/20070423.wml: New file. - -2007-04-23 Mark Wielaard - - * NEWS: Add new 0.95 features. - -2007-04-23 Jeroen Frijters - - PR classpath/31646: - * java/util/Arrays.java (qsort): Corrected initial median calculation. - -2007-04-22 Dalibor Topic - - * Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var - LOCAL_AUTORECONF_AMFLAGS to allow for systems where the user - has a mix of system & hacked-up autotools. - -2007-04-22 Dalibor Topic - - * autogen.sh: Removed unnecessary -I m4 flag. - -2007-04-19 Casey Marshall - - PR classpath/31626: - * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java - (createSocket): New method. - -2007-04-19 Dalibor Topic - - * tools/gappletviewer.in, - tools/gjar.in, - tools/gjarsigner.in, - tools/gjavah.in, - tools/gkeytool.in, - tools/gnative2ascii.in, - tools/gorbd.in, - tools/grmic.in, - tools/grmid.in, - tools/grmiregistry.in, - tools/gserialver.in, - tools/gtnameserv.in: Set datarootdir to fix a warning from - configure. - -2007-04-19 Dalibor Topic - - * INSTALL: Removed file generated by autogen.sh. - - * .cvsignore: Added INSTALL. - -2007-04-19 Dalibor Topic - - * INSTALL: Replaced by generic install file. - - * autogen.sh: Removed redundant and no longer necessary - sections. Use autoreconf. - -2007-04-19 Andrew John Hughes - - * m4/acinclude.m4 - (CLASSPATH_FIND_JAVAC): Allow detected JAVAC. - -2007-04-19 Dalibor Topic - - * lib/Makefile.am (propertyfiles, cssfiles, metafiles, - iconfiles) Removed variables, inlined them into resource - target to avoid use of shell construct and fix portability - warning from automake 1.10. - -2007-04-18 Tom Tromey - - * tools/gnu/classpath/tools/javah/MethodHelper.java (print): - Changed arguments. Directly print method name. - * tools/gnu/classpath/tools/javah/ClassWrapper.java - (methodNameMap): New field. - (makeVtable): Initialize it. - (printMethods): Compute name for bridge targets. - -2007-04-18 Andrew Haley +2008-06-02 Andrew John Hughes - * gnu/java/rmi/server/UnicastConnectionManager.java - (UnicastConnectionManager(int port, RMIServerSocketFactory)): - Listen on "localhost", not localhost. + * tools/gnu/classpath/tools/getopt/OptionException.java: + (OptionException(String,Throwable)): New constructor. + * tools/gnu/classpath/tools/jar/Main.java: + (fileLists): New queue for streams containing lists of files. + (HandleFile.NotifyFile(String)): Check for '@' arguments + and add to stream queue. + (parsed(String)): Add stdin to queue instead of setting flag. + (readNames()): Work with the queue rather than just stdin. + (run(String[])): Always execute readNames(). -2007-04-18 Dalibor Topic +2008-05-06 Andrew John Hughes - * include/GtkDragSourceContextPeer.h: Removed, renamed to .. - - * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h: - New file. + PR classpath/35482 + * java/lang/String.java: + (toLowerCase()): Fix calculation of number + of characters to copy. + (toLowerCaseTurkish()): Likewise. - * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include - gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h. +2008-04-18 Mario Torre - * include/Makefile.am (GTKPEER_H_FILES): Renamed - GtkDragSourceContextPeer.h to - gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h - per current convention. Use portable construct to create - gtk and libxmlj peer headers. Depend on the java source code, - rather then the class files in order to avoid spurious - regeneration. + PR classpath/35974 + * java/util/logging/Logger.java: fix a deadlock and reformat code. + Now all the methods of the class get a lock on a static lock, this + avoids a lock when getLogger and log are used concurrently. -2007-04-18 Dalibor Topic +2008-04-16 Ralf Wildenhues - * include/Makefile.am: Use portable construct to create - qt peer headers. Depend on the java source code, - rather then the class files in order to avoid spurious - regeneration. + * m4/gcc_attribute.m4 (GCC_ATTRIBUTE): Fix cache variable name. + * tools/Makefile.am (gappletviewer, gjarsigner, gkeytool, gjar) + (gnative2ascii, gserialver, gjavah, grmiregistry, gtnameserv) + (gorbd, grmid, grmic) [!CREATE_WRAPPERS]: Add stub dependencies + for these scripts, to trick automake into hiding the respective + rules for the programs below the CREATE_WRAPPERS conditional. -2007-04-18 Dalibor Topic +2008-04-18 Tom Tromey - * include/Makefile.am: Use portable construct to create - alsa and dssi peer headers. Depend on the java source code, - rather then the class files in order to avoid spurious - regeneration. - -2007-04-18 Dalibor Topic + * lib/gen-classlist.sh.in: Skip 'sed' steps if no vm_omitlist + found. - * include/Makefile.am: Use portable construct to create - gconf peer header. Depend on the java source code, rather - the class file to avoid spurious regeneration. +2008-04-17 Ralf Wildenhues -2007-04-18 Dalibor Topic + * lib/gen-classlist.sh.in: Avoid grepping each omission, by + building an awk script with a hash for literal files, and + awk regular expressions for the rest. + * configure.ac: Call AC_PROG_AWK. - * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h: - Removed empty header file. +2008-03-27 Mario Torre + + * gnu/xml/stream/SAXParser.java (getProperty): throw + SAXNotRecognizedException instead of SAXNotSupportedException + after fall through all known properties. + * javax/xml/namespace/QName.java (valueOf): throw + IllegalArgumentException if string is null. + * java/util/concurrent/CopyOnWriteArrayList.java (lastIndexOf): + fixed indentation. + (indexOf): likewise. + +2008-03-26 Mario Torre + + * java/util/concurrent/CopyOnWriteArrayList.java (SubList.set): + (SubList.clear): new method. + (SubList.checkMod): fix indentation. + (SubList.checkBoundsInclusive): likewise. + (SubList.checkBoundsExclusive): likewise. + (SubList): added synchronization. Now throw + IndexOutOfBoundsException instead of IllegalArgumentException + when index are out of range. + (SubList.size): added synchronization. + (SubList.get): likewise. + (SubList.listIterator): fixed indentation. + (SubList.set): added synchronization. Update the state of the storage + after modification. + (SubList.add): likewise. + (SubList.remove): likewise. + (SubList.addAll): likewise. + +2008-03-26 Mario Torre + + * java/util/concurrent/CopyOnWriteArrayList.java (equals): removed + useless local variable. + (hashCode): new method. + +2008-03-25 Mario Torre + + * java/util/concurrent/CopyOnWriteArrayList.java (clone): clone method + in CopyOnWriteArrayList should just do a shallow copy. Fixed. + (equals): new method, override from base class. + (toString): likewise. + +2008-03-12 Andrew John Hughes + + * java/util/concurrent/CopyOnWriteArrayList.java: + Don't extend AbstractList. + (containsAll(Collection)): Implemented. + (listIterator()): Likewise. + (subList(int,int)): Likewise. + +2008-03-31 Andrew John Hughes + + * doc/www.gnu.org/events/events.wml: + Correct layout and fix GSoC link. + +2008-03-30 Andrew John Hughes + + * doc/www.gnu.org/external.wml: + Corrected Jalopy tag name. + * doc/www.gnu.org/home.wml: + Update link to tasks. + * doc/www.gnu.org/announce/20080222.wml: + Correct IcedTea and builder links. + * doc/www.gnu.org/downloads/downloads.wml: + Add 0.97 and 0.97.1. + * doc/www.gnu.org/events/events.wml: + Fix links and add FOSDEMs/GSoC. + +2008-03-24 Andrew John Hughes + + PR classpath/22883 + * doc/www.gnu.org/home.wml: + Fix a typo. + * doc/www.gnu.org/docs/docs.wml: + Fix links to point to current versions of + vmintegration and hacking, and add links to + tools. + +2008-03-24 Andrew John Hughes + + PR classpath/22883 + * doc/www.gnu.org/home.wml: + Update home page to reflect current state of + affairs. + +2008-03-11 Andrew John Hughes + + * doc/www.gnu.org/newsitems.txt: + Add new announcement. + * doc/www.gnu.org/announce/20080311.wml: + Added. + * doc/www.gnu.org/cp-tools/.cvsignore: + Ignore generated HTML files. - * include/Makefile.am (QTPEER_H_FILES): - Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h. +2008-03-10 Jim Meyering -2007-04-18 Dalibor Topic + Don't leak upon failed realloc. + * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc, + free the original buffer before throwing the exception. - * native/jni/xmlj/xmlj_xpath.c: Don't include - gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h. +2008-03-09 Ralf Wildenhues - * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h: - Removed empty header file. + * doc/cp-hacking.texinfo: Fix some typos. + * doc/cp-tools.texinfo: Likewise. + * doc/cp-vmintegration.texinfo: Likewise. - * include/Makefile.am (XMLJ_H_FILES): Removed - gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h. +2008-03-09 Ralf Wildenhues -2007-04-18 Dalibor Topic + * doc/cp-hacking.texinfo: Fix spacing after periods. + * doc/cp-tools.texinfo: Likewise. + * doc/cp-vmintegration.texinfo: Likewise. - * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed - empty header file. +2008-02-27 Andrew John Hughes - * include/Makefile.am (QTPEER_H_FILES): Removed - gnu_java_awt_peer_qt_QtContainerPeer.h. + * configure.ac: + Check for sys/loadavg.h. + * native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c: + Include sys/loadavg.h if found. -2007-04-17 Andrew John Hughes +2008-06-02 Andrew John Hughes - * native/jni/java-net/local.c: - Fix import of FIONREAD. - * native/jni/java-nio/gnu_java_nio_VMChannel.c, - * native/jni/native-lib/cpnet.c: - Likewise. + * include/Makefile.am: Don't delete headers + when not rebuilding them. -2007-04-17 Dalibor Topic - - * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH): - Use AC_CHECK_PROGS and AC_MSG_ERROR. Check for - gjavah, gcjh-wrapper-4.1 and gcjh-4.1. Error out - when no javah implementation can be found. - -2007-04-17 Dalibor Topic - - * configure.ac (CLASSPATH_WITH_JAVAH): Only check if - the JNI headers need to be regenerated. - - * m4/acinclude.m4 (USER_SPECIFIED_JAVAH): Removed unused - conditional. - -2007-04-17 Dalibor Topic - - * lib/Makefile.am (JAVAH): Removed unused variable. - -2007-04-17 Casey Marshall - - PR classpath/31302: - * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl): - Always make a new socket. - (bind, connect, getInetAddress, getLocalAddress, getPort, - getLocalPort, getRemoteSocketAddress, getLocalSocketAddress, - setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger, - setOOBInline, getOOBInline, setSoTimeout, getSoTimeout, - setSendBufferSize, getSendBufferSize, setReceiveBufferSize, - getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass, - getTrafficClass, setReuseAddress, getReuseAddress, close, - shutdownInput, shutdownOutput, isConnected, isBound, isClosed, - isInputShutdown, isOutputShutdown): Always use - 'underlyingSocket'. - -2007-04-16 Dalibor Topic - - * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10 - warning. - -2007-04-16 Dalibor Topic - - * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS): - Added AM_LDFLAGS for automake 1.10. - -2007-04-16 Tom Tromey - - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614 - * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java - (createSocket): Change order of delegation. - -2007-04-16 Andrew Haley - - * java/io/ObjectInputStream.java: (parseContent): Call (String, - Object) version of dumpElementln. - (dumpElementln(String, Object)): New method. - * java/io/ObjectOutputStream.java (writeObject): Call (String, - Object) version of dumpElementln. - (dumpElementln(String, Object)): New method. - -2007-04-16 Mark Wielaard - - Fixes bug #31590 - * java/net/URI.java (parseServerAuthority): Allow empty portStr. - -2007-04-16 Andrew Haley - - * org/omg/IOP/TaggedComponentHelper.java (read): Use - read_octet_array(), not read(). - (write): Use write_octet_array(), not write(). - - * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no - delegate has been set. - -2007-04-16 Chris Burdess - - * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly - formatted file URLs. - -2007-04-15 Dalibor Topic - - * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD): - Fix portability warnings from automake 1.10. - -2007-04-15 Dalibor Topic - - * Makefile.am (EXTRA_DIST): Add ChangeLog-2006. - -2007-04-15 Dalibor Topic - - * native/target/.cvsignore: Removed. - -2007-04-15 Dalibor Topic - - * doc/Makefile.am: Fix portability warnings from - automake 1.10. - -2007-04-15 Roman Kennke - - * native/target/Linux/.cvsignore, - * native/target/generic/.cvsignore: Removed. - -2007-04-15 Dalibor Topic - - * depcomp, install-sh, missing, mkinstalldirs, - doc/texinfo.tex: Removed files generated by autogen.sh. - - * .cvsignore: Ignore generated files depcomp, install-sh, - missing, mkinstalldirs. - - * doc/.cvsignore: Ignore generated file doc/texinfo.tex. - -2007-04-15 Dalibor Topic - - * doc/cp-hacking.texinfo: Updated with information from - INSTALL file. Removed duplicate and outdated information. - Updated compiler information. Fixed versioning information - where entries diverged. Turned command, option, file and - URL strings into proper texinfo elements. - -2007-04-15 Dalibor Topic - - * configure.ac: Added support for Iceape libraries as - a substitute for Mozilla for Debian. - -2007-04-12 Roman Kennke - - * java/nio/Buffer.java - (array): New abstract method. - (hasArray): New abstract method. - (arrayOffset): New abstract method. - (isDirect): New abstract method. - -2007-04-12 Roman Kennke - - * java/nio/CharBuffer.java - (wrap(CharSequence,int,int)): Reimplemented using specialized - subclass. - * java/nio/CharSequenceBuffer.java: New class. Implements char - buffers that wrap CharSequences. - -2007-04-12 Francis Kung - - PR 23887 - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (drawGlyphVector): Check for transforms before using optimized path. - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java - (FreetypeGlyphVector(FreetypeGlyphVector)): Initialize glyphTransforms array - to null and check for nulls in copied array. - (hasTransforms): New method. - (performDefaultLayout): Check for identity transform. - (setGlyphTransform): Check for equality before making changes. - -2007-04-12 Francis Kung - - PR 23887 - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java - (getGlyphLogicalBounds): Fix number of coordinates in transform call. - (performDefaultLayout): Respect transformation in font attributes. - * javax/swing/plaf/basic/BasicProgressBarUI.java - (getStringPlacement): Handle vertical orientations. - (paintString): Space vertical text properly. - -2007-04-12 Francis Kung - - PR 31539 - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c - (ft2_map): New static variable. - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState): Set up ft2_map. - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Use cached ft2_map. - -2007-04-12 Christian Thalinger - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c - (clipboard_get_func): Call DeleteLocalRef. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c - (clipboard_targets_received): Likewise. - (clipboard_uris_received): Likewise. - -2007-04-12 Christian Thalinger - - * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license. - * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check. - * m4/ax_func_which_gethostbyname_r.m4: New file. - * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for - different number of arguments of gethostbyname_r. - -2007-04-12 Mark Wielaard - - * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static - inner class. - (transCache): New static LRUChache field. - (copyTransformToAttrs): Check whether a TransformAttribute already - exists in the transCache for the given AffineTransform. - -2007-04-12 Mark Wielaard - - * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8. - -2007-04-11 Christian Thalinger - - * native/jni/java-nio/javanio.c: Include fcntl.h instead of - sys/fcntl.h. - -2007-04-11 Christian Thalinger - - * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed - warning on some compilers, e.g. MIPSpro. - -2007-04-11 Francis Kung - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded - object reference. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font. - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks. +2008-06-01 Andrew John Hughes -2007-04-11 Christian Thalinger + * configure.ac: Only regenerate headers by + default if the headers aren't in the source tree. - * configure.ac: Added AC_C_INLINE. +2008-06-01 Andrew John Hughes -2007-04-10 Mark Wielaard - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c - (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile): - Destroy surface after it is used to create a cairo context. - -2007-04-09 Andrew John Hughes - - * javax/management/ObjectName.java: - (parse(String)): Catch multiple wildcards, - initialise with an empty string (so null isn't - appended), and emit comma even when wildcard - ends the list. - (checkComponents()): Catch newlines. - (quote(String)): Handle newlines and quotes - correctly. - -2007-04-09 Francis Kung - - PR 31311 - * gnu/java/awt/peer/gtk/ComponentGraphics.java - (dispose): Removed method. - (disposeSurface): Removed method. - * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c - (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed. - (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface - after it is used to create a cairo context. - -2007-04-07 Andrew John Hughes - - * javax/management/ObjectName.java: - (propertyValuePattern): New cache variable. - (parse(String)): Record in propertyListPattern - not propertyPattern and set propertyValuePattern. - (isPropertyPattern()): Semantics altered to be the - OR of isPropertyListPattern() and isPropertyValuePattern(). - (isPropertyListPattern()): Implemented. - (isPropertyValuePattern()): Implemented. - (isPropertyValuePattern(String)): Implemented. + * configure.ac: Only run javac check + if examples, tools and/or class library are + being built. + * scripts/check_jni_methods.sh.in: + Remove duplicates in the list of JNI methods + for when builddir==srcdir. -2007-04-07 Andrew John Hughes +2008-06-01 Andrew John Hughes - * javax/management/ObjectName.java: - (parse(String)): Fix result of getKeyPropertyListString(). + * lib/Makefile.am: + Replace explicit mkinstalldirs with $(mkinstalldirs). -2007-04-07 Mark Wielaard - - * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor, - resource/META-INF/services/javax.xml.parsers.SAXParserFactory, - resource/META-INF/services/javax.xml.parsers.TransformerFactory, - resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory, - resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList, - resource/META-INF/services/org.xml.sax.driver: Removed. - -2007-04-07 Andrew John Hughes +2008-06-01 Andrew John Hughes - * javax/management/ObjectName.java: - (checkComponents()): Separate value and - key illegal characters to allow value wildcards. + * scripts/check_jni_methods.sh.in: + Search the source directory as well for + when headers are in the tarball. -2007-04-07 Andrew John Hughes +2008-06-01 Andrew John Hughes - * javax/management/ObjectName.java - (parse(String)): Fix parsing where the wildcard - is juxtaposed between other pairs. + * Makefile.am: Replace tools with + $(TOOLSDIR). + * m4/acinclude.m4: Include option + to disable building the tools. -2007-04-06 Mark Wielaard - - * configure.ac (VERSION): Set to 0.96-pre. - -2007-04-06 Andrew John Hughes - - * javax/management/MBeanAttributeInfo.java: - (serialVersionUID): Added. - * javax/management/MBeanFeatureInfo.java: - (writeObject(ObjectOutputStream)): Added for - later 1.6 support. - * javax/management/Notification.java: - (serialVersionUID): Added. - (Notification(String,Object,long,long)): Make - default message the empty string not null. - (Notification(String,Object,long,long,String)): - Set source explicitly. - (writeObject(ObjectOutputStream)): Added to match - Sun. +2008-06-01 Andrew John Hughes + + * Makefile.am: Use default makedistcheck + flags that test all optional dependencies. + * configure.ac: Set version to 0.97.2-pre. + * include/Makefile.am: Add header files to dist. + * lib/Makefile.am: Trick class files into being + built for dist, so headers can be generated. -2007-04-06 Andrew John Hughes +2008-03-11 Andrew John Hughes - * java/util/Hashtable.java: - (putAllInternal(Map)): Remove redundant semi-colon. + * configure.ac: Set version to 0.97.1 + * NEWS: Add 0.97.1. -2007-04-06 Mark Wielaard +2008-03-10 Andrew John Hughes - * lib/mkcollections.pl.in: Add externalclasses. - * java/util/Collections.java: Unroll enhanced for loops. - * java/util/HashMap.java: Likewise. - * java/util/Hashtable.java: Likewise. - * java/util/TreeMap.java: Likewise. + PR classpath/35422 + * doc/api/Makefile.am: Include external/jsr166. -2007-04-06 Andrew John Hughes +2008-03-04 Robert Schuster - * gnu/javax/management/Translator.java: - (getTypeName(type)): Move type name creation to its own method. - * javax/management/ObjectName.java: - (WILDCARD): Added. - -2007-04-04 Andrew Haley + * gnu/xml/stream/AttributeImpl.java: Changed type field to String. + (getDTDType): Changed return type to String. + * gnu/xml/stream/XMLEventAllocatorImpl.java: + (allocate): Removed wrapping of string in QName object. + * gnu/xml/stream/XMLEventFactoryImpl.java: + (createAttribute(String, String)): Removed wrapping of string in + QName object. + (createAttribute(QName, String)): Ditto. + (createAttribute(String, String, String, String)): Ditto. + * javax/xml/stream/events/Attribute.java: + (getDTDType): Changed return type to String. - * javax/management/ObjectName.java: - (serialVersionUID): Declare. - Make all fields transient. - (parse): Break out from constructor. - (writeObject, readObject): New methods. - -2007-04-05 Francis Kung +2008-03-03 Andrew John Hughes - * include/Makefile.am: Remove old entry. - -2007-04-05 Francis Kung - - * gnu/java/awt/peer/gtk/GtkToolkit.java - (createDragGestureRecognizer): Remove failing subClass call. + * tools/Makefile.am: + Distribute property files. -2007-04-05 Gary Benson +2008-02-22 Andrew John Hughes - * java/util/GregorianCalendar.java - (computeFields): Fix WEEK_OF_MONTH calculation. - -2007-04-05 Christian Thalinger - - PR classpath/22800: - * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits) - (doubleToRawLongBits, longBitsToDouble): Swap the byte - ordering for little-endian arms without VFP. - -2007-04-05 Christian Thalinger + * NEWS: Set date for 0.97. + * configure.ac: Set version to 0.97 + +2008-02-22 Andrew John Hughes - * native/jni/java-net/java_net_VMNetworkInterface.c - [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added - #ifdef. - (getVMInterfaces): Added UNUSED argument attribute. - -2007-04-05 Christian Thalinger + PR classpath/33751: + * configure.ac: + Don't check for readdir_r. + * native/jni/native-lib/cpio.c: + (cpio_readDir): Remove use of readdir_r, zero errno + before starting and always leave a \0 at the end after + strncpy. + * vm/reference/java/io/VMFile.java: + (list(String)): Make synchronized. + +2008-02-21 Andrew John Hughes - * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, - native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c - [HAVE_ICONV] (createRawData, getData, infid, outfid): Added - #ifdef. - (openIconv): Added UNUSED argument attribute, so we can build with - -Werror. - (decode): Likewise. - (closeIconv): Likewise. - -2007-04-05 Mark Wielaard - - * autogen.sh: Recognize automake 1.10. - * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability. - * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS. - * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise. - * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise. - * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise. - * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise. - * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise. - -2007-04-04 Mark Wielaard - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c - (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL. - * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and - call deliver() after pixels have been set. - * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only - set icon when image has been properly loaded. + * gnu/java/util/prefs/EventDispatcher.java: + Re-added. + * gnu/java/util/prefs/GConfBasedPreferences.java, + * gnu/java/util/prefs/gconf/GConfNativePeer.java, + * java/util/prefs/AbstractPreferences.java, + * native/jni/gconf-peer/GConfNativePeer.c: + Regress to 0.96 versions. -2007-04-04 Francis Kung - - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (drawCairoSurface): Made protected. - * gnu/java/awt/peer/gtk/ComponentGraphics.java - (cairoDrawGlyphVector): Removed method. - (cairoSetFont): Removed method. - (disposeNative): Removed method. - (drawCairoSurface): New method. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added - locking. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking. - -2007-04-04 Gary Benson - - * java/util/GregorianCalendar.java - (GregorianCalendar(TimeZone, Locale)): Remove redundant complete(). +2008-02-21 Andrew John Hughes -2007-04-04 Roman Kennke + * java/net/URI.java: + (compareTo(URI)): Change comparison sign so it + operates in the correct direction. + +2008-02-21 Andrew John Hughes - * java/nio/channels/spi/SelectorProvider.java - (inheritedChannel): Make method concrete and move default impl - to here. Perform security checks as mandated by the spec. - * gnu/java/nio/SelectorProviderImpl.java - (inheritedChannel): Removed. Default impl is in SelectorProvider. - -2007-04-04 Roman Kennke - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c - (init_glib_threads): Create global reference on lock object. - -2007-04-04 Roman Kennke - - * java/awt/Frame.java - (weakFrames): Make private. - (weakFramesQueue): New field. A reference queue to collect - GCed references. - (getFrames): Only do one iterations to avoid collecting null - references. - (hasDisplayableFrames): New helper method. Checks if there - are any displayable frames. This is used by the event queue - shutdown check. - (noteFrame): Clean up GCed frames in the list. - * java/awt/EventQueue.java - (isShutdown): Move frame checking code into Frame. - -2007-04-03 Roman Kennke - - * java/lang/System.java - (inheritedChannel): New method, wraps - SelectorProvider.inheritedChannel(). - * java/nio/channels/spi/SelectorProvider.java - (inheritedChannel): New abstract method. - * gnu/java/nio/SelectorProviderImpl.java - (inheritedChannel): New method, return null as default. - -2007-04-03 Roman Kennke - - * java/nio/ByteOrder.java - (nativeByteOrder): Let this fail when the corresponding - property is not set properly. - -2007-04-03 Roman Kennke - - * javax/swing/plaf/basic/BasicTreeUI.java - (getPathBounds): Consider the tree's insets. Added a bunch of - null checks. - -2007-04-03 Roman Kennke - - * javax/swing/plaf/basic/BasicLabelUI.java - (cachedInsets): New field. Used for reusing the insets instance. - (getFontMetrics): New helper method for fetching a suitable - FontMetrics object. - (getPreferredSize): Use new helper method for font metrics. - (paint): Only do something if we have an icon or text. - Use cached Insets instance and new font metrics helper. - (paintDisabledText): Don't restore the graphics' color. - (paintEnabledText): Don't restore the graphics' color. - -2007-04-03 Roman Kennke - - * javax/swing/plaf/metal/MetalButtonUI.java - (paintButtonPressed): Fill the whole button not only visibleRect. - * javax/swing/plaf/metal/MetalLookAndFeel.java - (LAF_defaults): Removed. - (getDefaults): Always fetch super's defaults. - * javax/swing/plaf/metal/MetalMenuBarUI.java - (update): Don't leave 2 pixel gap. - -2007-04-03 Roman Kennke - - * native/target/.cvsignore, - * native/target/Linux/.cvsignore, - * native/target/generic/.cvsignore: Some new ignores. - -2007-04-03 Roman Kennke - - * gnu/java/awt/peer/gtk/GThreadMutex.java, - * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, - * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c, - * native/jni/gtk-peer/gthread-jni.c, - * native/jni/gtk-peer/gthread-jni.h: Removed. - * native/jni/gtk-peer/Makefile.am: Removed obsolete entries - for removed files. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c - Removed unused bits from gthread-jni.c. - -2007-04-03 Francis Kung - - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java - (getGlyphs(int[], int[], long[])): Return void. - -2007-04-03 Kyle Galloway - - * gnu/classpath/jdwp/value/ArrayValue.java: New file. - -2007-04-03 Roman Kennke - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c - (global_lock): New global variable that holds the object reference - to the global GTK lock. - (init_glib_threads): Add lock argument. Use - gdk_threads_set_lock_functions to replace GTK's locking function - with two callbacks that allow reentrant locking, based on - JNI's MonitorEnter() and MonitorExit(). - (jni_lock_cb): New callback function for GTK locking. - (jni_unlock_cb): New callback function for GTK unlocking. - (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument. - Call init_glib_threads() with lock object. - * include/gnu_java_awt_peer_gtk_GtkToolkit.h - Regenerated. - * gnu/java/awt/peer/gtk/GtkToolkit.java - (GTK_LOCK): New static field. This is used as the global lock for - GTK. - (gtkInit): Add lock parameter. - (static_init): Initialize global lock and call gtkInit() with - that lock. - -2007-04-02 Francis Kung - - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java - (fontSet): Initialize to null. - (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet - array with default font if needed. - (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields. - (getNativeFontPointer): New native method. - * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer): - New function. - -2007-04-02 Francis Kung - - * INSTALL: Document known bug in at-spi, atk, and gail packages prior to - version 1.18.0. - -2007-04-02 Francis Kung - - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (cairoDrawGlyphVector): Added parameter. - (drawGlyphVector): Retrieve and pass fontset parameter. - * gnu/java/awt/peer/gtk/ComponentGraphics.java - (cairoDrawGlyphVector): Added parameter. - (lock): Removed unnecessary cast. - (unlock): Removed unnecessary cast and explicitly set to ONE variable. - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java - (fontSet): New field. - (dispose): New native method. - (finalize): New method. - (getGlyphFonts): New method. - (getGlyphOutline): Pass fontSet parameter to native method. - (getGlyphOutlineNative): Added parameter. - (getGlyphs): Pass extra parameters to native method. - (getGlyphsNative): Added parameters. - (getKerning): Added fontSet parameter. - (getMetricsNative): Added fontSet parameter. - (performDefaultLayout): Only check kerning if glyphs use the same font. - (setupGlyphMetrics): Pass extra parameters to native methods. - * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h, - * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated. - * native/jni/gtk-peer/gdkfont.h: Enable pango engine. - (peerfont): Add variable for fontset. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept - array of font pointers to use when drawing glyphs. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c - (getFontSet): New function. - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function. - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative): - Added and use new fontSet parameter. - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango - to retrieve glyphs and estimate font, if the current font does not contain - a requested glyph. - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use - new fontSet parameter. - (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added - and use new fontSet parameter. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset. - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset. - -2007-04-02 Andrew Haley - - * javax/management/ObjectName.java: Handle 0-length names. - * javax/management/MBeanServerFactory.java: Use the domain that - we've been passed, not the fixed string "DefaultDomain". - -2007-04-01 Mark Wielaard - - * org/omg/CORBA/DynAny.java: Mark as deprecated. - * org/omg/CORBA/DynArray.java: Likewise. - * org/omg/CORBA/DynEnum.java: Likewise. - * org/omg/CORBA/DynFixed.java: Likewise. - * org/omg/CORBA/DynSequence.java: Likewise. - * org/omg/CORBA/DynStruct.java: Likewise. - * org/omg/CORBA/DynUnion.java: Likewise. - * org/omg/CORBA/DynValue.java: Likewise. - * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise. - (create_dyn_any): Likewise. - (create_dyn_array): likewise. - (create_dyn_enum): Likewise. - (create_dyn_sequence): Likewise. - (create_dyn_struct): Likewise. - (create_dyn_union): Likewise. - -2007-04-01 Andrew John Hughes + * m4/acinclude.m4: + Remove check for gcjh. + * m4/ac_prog_javac.m4: + Check for ecj-3.2 and ecj-3.3, and add + -Xlint:unchecked for javac. + +2008-02-21 Andrew John Hughes * gnu/javax/management/Translator.java: - (fromJava(Object[],Method)): Use the array from the - parameter not the newly created one... - (fromJava(Object, Type)): Support MXBeans. - * javax/management/JMX.java: - (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)): - Call newMXBeanProxy rather than newMBeanProxy. - * javax/management/StandardMBean.java: - (setAttribute(Attribute)): Use InvocationTargetException - as cause. + (fromJava(Object[],Method)): Don't cast to Class. + (fromJava(Object,Type)): Use ParameterizedType + and don't assume that List will work for Sets. -2007-03-31 Jeroen Frijters +2008-02-21 David Walluck - PR classpath/31402: - * java/util/concurrent/CopyOnWriteArrayList.java - (remove): Fixed ArrayIndexOutOfBoundsException when index == 0. - -2007-03-30 Andrew John Hughes - - * javax/management/openmbean/CompositeDataInvocationHandler.java: - New file. + PR classpath/27204: + * m4/acinclude.m4: + (REGEN_WITH_JAY): Handle 'yes' as a default, + not a directory and give more user-friendly output. -2007-03-30 Kyle Galloway - - * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints. - (write): Replace writeLong with writeInt for above. - -2007-03-30 Tom Tromey - - PR libgcj/29869: - * gnu/java/util/jar/JarUtils.java (log): Commented out. - (readSFManifest): Don't log. - -2007-03-29 Tom Tromey - - PR libgcj/29869: - * java/util/logging/LogManager.java (readConfiguration): Handle - comma-separated 'handlers'. Don't try to add a non-existing - handler. - -2007-03-29 Keith Seitz +2008-02-21 Andrew John Hughes + + * gnu/java/util/regex/REException.java: + (REException(String,Throwable,int,int)): Added + constructor which also includes the cause. + * gnu/java/util/regex/RETokenNamedProperty.java: + (getHandler(String)): Add support for \p{javaX}. + (JavaCategoryHandler): New class. + +2008-02-21 Andrew John Hughes - * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event): - Event type is "THREAD_START" not "THERAD_END". + PR classpath/35274: + * m4/acinclude.m4: + Increase maximum heap size to 768mb. - * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport): - Handle configure strings ":port" and "port". +2008-02-21 Roman Kennke -2007-03-29 Francis Kung + * java/awt/image/PixelInterleavedSampleModel.java + (createCompatibleSampleModel): Adjust scanline stride for new + width and optimize band offsets. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c - (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch. +2008-02-21 Andrew John Hughes -2007-03-29 Mark Wielaard + PR classpath/35111: + * resource/com/sun/tools/javac/messages.properties, + * resource/gnu/classpath/tools/appletviewer/messages.properties, + * resource/gnu/classpath/tools/common/Messages.properties, + * resource/gnu/classpath/tools/getopt/Messages.properties, + * resource/gnu/classpath/tools/jar/messages.properties, + * resource/gnu/classpath/tools/jarsigner/messages.properties, + * resource/gnu/classpath/tools/keytool/messages.properties, + * resource/gnu/classpath/tools/native2ascii/messages.properties, + * resource/gnu/classpath/tools/orbd/messages.properties, + * resource/gnu/classpath/tools/rmic/messages.properties, + * resource/gnu/classpath/tools/rmid/messages.properties, + * resource/gnu/classpath/tools/rmiregistry/messages.properties, + * resource/gnu/classpath/tools/serialver/messages.properties, + * resource/gnu/classpath/tools/tnameserv/messages.properties, + * resource/sun/rmi/rmic/messages.properties: + Removed. + * tools/Makefile.am: + Copy .jav template files and use resource subdirectory + of tools. + * tools/gnu/classpath/tools/rmic/templates/ImplTie.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub.jav, + * tools/gnu/classpath/tools/rmic/templates/StubMethod.jav, + * tools/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub_12.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub_12Method.jav, + * tools/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav, + * tools/gnu/classpath/tools/rmic/templates/Tie.jav, + * tools/gnu/classpath/tools/rmic/templates/TieMethod.jav, + * tools/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav: + Removed. + * tools/resource/com/sun/tools/javac/messages.properties, + * tools/resource/gnu/classpath/tools/appletviewer/messages.properties, + * tools/resource/gnu/classpath/tools/common/Messages.properties, + * tools/resource/gnu/classpath/tools/getopt/Messages.properties, + * tools/resource/gnu/classpath/tools/jar/messages.properties, + * tools/resource/gnu/classpath/tools/jarsigner/messages.properties, + * tools/resource/gnu/classpath/tools/keytool/messages.properties, + * tools/resource/gnu/classpath/tools/native2ascii/messages.properties, + * tools/resource/gnu/classpath/tools/orbd/messages.properties, + * tools/resource/gnu/classpath/tools/rmic/messages.properties, + * tools/resource/gnu/classpath/tools/rmic/templates/ImplTie.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/StubMethod.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/StubMethodVoid.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12Method.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Stub_12MethodVoid.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/Tie.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/TieMethod.jav, + * tools/resource/gnu/classpath/tools/rmic/templates/TieMethodVoid.jav, + * tools/resource/gnu/classpath/tools/rmid/messages.properties, + * tools/resource/gnu/classpath/tools/rmiregistry/messages.properties, + * tools/resource/gnu/classpath/tools/serialver/messages.properties, + * tools/resource/gnu/classpath/tools/tnameserv/messages.properties, + * tools/resource/sun/rmi/rmic/messages.properties: + Added. + +2008-02-18 Roman Kennke - * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative. + * gnu/java/awt/peer/x/XGraphics2D.java + (RENDER_OPAQUE): New constant with system property to + turn on opaque image rendering. + (rawDrawImage): Render images opaque when system property + is set. This is for demonstration and debugging purposes only. + +2008-02-18 Roman Kennke + + * gnu/java/awt/image/AsyncImage.java: New file. Implements + asynchronous image loading. + * gnu/java/awt/image/ImageConverter.java: New file. + An image consumer that creates a concrete image with + asynchronous behaviour. + * gnu/java/awt/peer/x/ImageConverter.java: Removed. + * gnu/java/awt/peer/x/XToolkit.java: + (createImage(ImageProducer)): Use new ImageConverter. + * gnu/java/awt/peer/x/XGraphics2D.java: + (rawDrawImage): Unwrap AsyncImages before painting. + (unwrap): New helper method. -2007-03-28 Andrew John Hughes +2008-02-18 Jakub Jelinek - * javax/management/StandardMBean.java: - (setAttribute(Attribute)): Add handling of primitive - types and subtype parameters. - (getMutator(String,Class)): New helper method to - return the mutator. - -2007-03-28 Roman Kennke - - * java/io/OutputStreamWriter.java, - * java/io/InputStreamReader.java: Revert big stream patch due to - problems. - -2007-03-28 Tom Tromey - - PR classpath/31303: - * external/sax/org/xml/sax/helpers/XMLReaderFactory.java - (createXMLReader): Code in Classpath default. - -2007-03-28 Tom Tromey - - PR classpath/31276: - * native/jni/java-lang/java_lang_VMDouble.c - (parseDoubleFromChars): Use %p, not %i. - -2007-03-28 Mark Wielaard - - * native/jni/java-nio/Makefile.am (LIBADD): Don't add - libclasspathnative. - * native/jni/java-nio/gnu_java_nio_VMChannel.c - (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask. - -2007-03-27 Francis Kung - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c - (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of - accessibility modules as temporary workaround for Gnome bug. - -2007-03-27 Kyle Galloway - - * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java - (executeResume): Change to call VMVirtualMachine.resumeThread. - -2007-03-27 Roman Kennke - - * java/io/InputStreamReader.java - (BUFFER_SIZE): New constant. - (bytesCache): Removed. - (cacheLock): Removed. - (hasSavedSurrogate): Removed. - (lastArray): New field. Used for caching CharBuffers. - (lastBuffer): New field. Used for caching CharBuffers. - (maxBytesPerChar): Removed. - (oneChar): New field. Caches a char array for read(). - (savedSurrogate): New field. - (InputStreamReader): (all constructors) Cleaned up. - Use initDecoderAndBuffer() method. Check for null parameters. - Use new EncodingHelper.getDefaultCharset() for fetching the - default charset. - (decode): New helper method. Decodes using the NIO decoder or - using a raw Latin1 decoding. - (getCharBuffer): New helper method. Implements caching of - CharBuffers for output arrays. - (initDecoderAndBuffer): New helper method. Initializes the decoder - and input buffer. - (read): Use cached array. - (read(char[],int,int)): Reworked using a cleaner NIO based - implementation. This decodes the incoming data in bigger chunks - rather then calling the decoder for each character. - (ready): Also check the input buffer. - (refillInputBuffer): New helper methods. Refills the input buffer - when it runs out of data. - * java/io/OutputStreamWriter.java - (lastArray): Implements caching of the output array buffer. - (lastBuffer): Implements caching of the output array buffer. - (oneChar): New field. Caches a char array for write(). - (outputBuffer): Make this a ByteBuffer. - (OutputStreamWriter): (all constructors) Cleaned up. - Use initEncoderAndBuffer() method. Check for null parameters. - Use new EncodingHelper.getDefaultCharset() for fetching the - default charset. - (encode): New helper method. Encodes the input buffer to the output - buffer using either the NIO encoder or a raw Latin1 encoding. - (encodeChars): New helper method. The encoding loop. - (flush): Directly use the array of the output buffer. - (getCharBuffer): New helper method. Implements caching of the - output buffer. - (initEncoderAndBuffer): New helper method for initialization. - (write(char[],int,int)): Reworked to make better use of the NIO - encoders. - (write): Use cached array. - (write(String,int,int)): Don't copy the string but rather wrap it - and handle it the same as the wrapped char array. - (writeConvert): Removed. - * gnu/java/nio/charset/EncodingHelper.java - (getDefaultCharset): New method. Returns the default charset for - the case when the file.encoding charset is not valid. This - always returns an UTF8 codec. - -2007-03-27 Roman Kennke - - * java/awt/Frame.java - (weakFrames): Make this generic and package private. - (noteFrame): Use generic WeakReference. - * java/awt/EventQueue.java - (isShutdown): Iterate over the weakFrames directly, rather than - using Frame.getFrames(). The latter iterates several times over - weakFrames completely and creates a new array on each call. The - former iterates only once and aborts when it finds a frame which - is displayable. - -2007-03-27 Roman Kennke - - * javax/swing/JScrollBar.java - (getUnitIncrement(int)): Don't multiply direction parameter. - (getBlockIncrement(int)): Don't multiply direction parameter. - -2007-03-26 Tom Tromey - - * doc/cp-tools.texinfo (gcjh Tool): Added more text. - (rmid Tool): Likewise. - -2007-03-26 Stepan Kasal - - * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New - field. - (getParser): Use new field. - -2007-03-25 Dalibor Topic - - * doc/cp-tools.texinfo: Fix node ordering. - -2007-03-19 Matthias Klose - - * doc/Makefile.am: Build a gcjh(1) man page. - * doc/cp-tools.texinfo: Add documentation for gcjh. - -2007-03-23 Jeroen Frijters - - * java/net/ServerSocket.java (implAccept): set implCreated flag on - socket. - * java/net/Socket.java (implCreated): Make package accessible for - ServerSocket. - -2007-03-22 Casey Marshall - - * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun): - check keyEncipherment bit of the certificate, and just pass the public - key to the cipher. - -2007-03-20 Mario Torre - - * configure.ac: GConf requirement for building the java.util.prefs backend - are relaxed down to version 2.6.0 (instead of 2.11.2). - -2007-03-19 Mario Torre - - * gnu/java/awt/peer/KDEDesktopPeer.java: - (mail): Fixed error dialog in KDE when the mail method is called without - argument; now opens the default mailer with a blank window. - (getCommand): Handle the use of kprinter as default print command for KDE. - (supportCommand): Enable the print command when a KDE desktop is detected. - -2007-03-19 Jeroen Frijters - - * java/net/Socket.java - (implCreated): New field. - (getImpl): Call impl.create() if it hasn't been called yet. - (bind): Removed explicit impl.create() call. - -2007-03-18 Mark Wielaard + * doc/cp-tools.texinfo (@direntry): Prefix info name with cp-. + * doc/cp-hacking.texinfo (@direntry): Likewise. + * doc/cp-vmintegration.texinfo (@direntry): Likewise. - * javax/crypto/CipherOutputStream.java (write): Use out.write() - not super.write(). +2008-02-18 Roman Kennke -2007-03-18 Mark Wielaard + * java/awt/image/RGBImageFilter.java + (setPixels): Don't mask the source pixel. - * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8 - gthread-2.0 >= 2.2 and gdk-pixbuf-2.0 +2008-02-18 Roman Kennke -2007-03-16 Tom Tromey + * gnu/java/awt/peer/x/XGraphics2D.java + (rawDrawImage): Update the rgb variable correctly. Don't + cache translucent images. - * tools/gnu/classpath/tools/javah/Main.java (run): Use class' - name in File case. +2008-02-17 Andrew John Hughes -2007-03-16 Thomas Fitzsimmons + * vm/reference/java/lang/reflect/Constructor.java, + * vm/reference/java/lang/reflect/Method.java: + Add missing java.lang.annotation.Annotation import. - * resource/com/sun/tools/javac/messages.properties - (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify - messages for when --with-ecj-jar is not specified. +2008-02-17 Andrew John Hughes - * configure.ac (FOUND_ECJ_JAR): Remove conditional. - * tools/Makefile.am: Build com.sun.tools.javac package - unconditionally. + * vm/reference/java/lang/reflect/Constructor.java, + * vm/reference/java/lang/reflect/Method.java: + (getParameterAnnotations()): Added. + +2008-02-17 Andrew John Hughes + + * javax/swing/tree/DefaultMutableTreeNode.java: + Add generics. + * javax/swing/tree/DefaultTreeCellEditor.java: + (tPath): Removed. + (configureEditingComponent(JTree, + DefaultTreeCellRenderer,TreeCellEditor)): Removed. + * javax/swing/tree/DefaultTreeCellRenderer.java: + Removed unused call to getIcon(). + * javax/swing/tree/DefaultTreeSelectionModel.java: + Add generics. + +2008-02-17 Andrew John Hughes + + * javax/swing/tree/FixedHeightLayoutCache.java, + * javax/swing/tree/VariableHeightLayoutCache.java, + * javax/swing/undo/StateEdit.java: + Use type parameters with collections classes. + +2008-02-17 Andrew John Hughes + + * m4/ac_prog_javac.m4: + Turn off ecj warnings for deprecation, + serialization and unused imports + (both cases). + +2008-02-17 Andrew John Hughes + + * m4/ac_prog_javac.m4: + Turn off ecj warnings for deprecation, + serialization and unused imports. + +2008-02-17 Andrew John Hughes -2007-03-16 Mark Wielaard + * org/omg/CORBA/PolicyErrorHelper.java, + * org/omg/CORBA/UnknownUserExceptionHelper.java, + * org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java, + * org/omg/PortableServer/ForwardRequestHelper.java, + * org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java: + Remove unused variable. - * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found. - Also check for gtk+ dependency. +2008-02-16 Andrew John Hughes -2007-03-16 Tom Tromey + * gnu/classpath/ServiceFactory.java: + Use generics. + * gnu/classpath/ServiceProviderLoadingAction.java: + Likewise. + +2008-02-15 Andrew John Hughes - * tools/gnu/classpath/tools/javah/JniStubPrinter.java - (printClass): Added filename argument. - * tools/gnu/classpath/tools/javah/JniIncludePrinter.java - (printClass): Added filename argument. - * tools/gnu/classpath/tools/javah/CniIncludePrinter.java - (printClass): Use user's file name. - * tools/gnu/classpath/tools/javah/CniStubPrinter.java - (printClass): Use user's file name. - * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added - filename argument. - * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v' - argument order. - (writeHeaders): Use a HashMap. - (run): Put class name into HashMap for writeHeaders. - -2007-03-16 Francis Kung - - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (cairoArc): Make protected rather than private so it can be over-ridden. - (cairoClip): Likewise. - (cairoClosePath): Likewise. - (cairoCurveTo): Likewise. - (cairoDrawGlyphVector): Likewise. - (cairoFill): Likewise. - (cairoLineTo): Likewise. - (cairoMoveTo): Likewise. - (cairoNewPath): Likewise. - (cairoRectangle): Likewise. - (cairoResetClip): Likewise. - (cairoRestore): Likewise. - (cairoSave): Likewise. - (cairoScale): Likewise. - (cairoSetAntialias): Likewise. - (cairoSetDash): Likewise. - (cairoSetFillRule): Likewise. - (cairoSetFont): Likewise. - (cairoSetLine): Likewise. - (cairoSetMatrix): Likewise. - (cairoSetOperator): Likewise. - (cairoSetRGBAColor): Likewise. - (cairoStroke): Likewise. - (drawPixels): Likewise. - (init): Likewise. - (setGradient): Likewise. - (setPaintPixels): Likewise. - (cairoDrawLine): Removed. - (cairoDrawRect): Removed. - (cairoFillRect): Removed. - (cairoPreserveClip): Removed. - (cairoRelCurveTo): Removed. - (cairoRelLineTo): Removed. - (cairoRelMoveTo): Removed. - * gnu/java/awt/peer/gtk/ComponentGraphics.java - (cairoArc): New method wrapping superclass method in locks. - (cairoClip): Likewise. - (cairoClosePath): Likewise. - (cairoCurveTo): Likewise. - (cairoDrawGlyphVector): Likewise. - (cairoFill): Likewise. - (cairoLineTo): Likewise. - (cairoMoveTo): Likewise. - (cairoNewPath): Likewise. - (cairoRectangle): Likewise. - (cairoResetClip): Likewise. - (cairoRestore): Likewise. - (cairoSave): Likewise. - (cairoScale): Likewise. - (cairoSetAntialias): Likewise. - (cairoSetDash): Likewise. - (cairoSetFillRule): Likewise. - (cairoSetFont): Likewise. - (cairoSetLine): Likewise. - (cairoSetMatrix): Likewise. - (cairoSetOperator): Likewise. - (cairoSetRGBAColor): Likewise. - (cairoStroke): Likewise. - (disposeNative): Likewise. - (drawPixels): Likewise. - (init): Likewise. - (setGradient): Likewise. - (setPaintPixels): Likewise. - (draw): Do not lock, as locking is now done in the wrapped native methods. - (drawComposite): Likewise. - (drawGlyphVector): Likewise. - (drawImage): Likewise. - (drawRenderedImage): Likewise. - (fill): Likewise. - (setClip): Removed. - (lock): Added documentation. - (unlock): Added documentation. - * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. - * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed. - (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed. - -2007-03-11 Andrew John Hughes - - * javax/management/openmbean/ArrayType.java: - (getArrayClassName(String, int)): Replaced by... - (getArrayClassName(OpenType, int, boolean)): - Returns appropriate class name for the array. - (getDimensions(OpenType, int)): New method. - (getPrimitiveType(Class)): Likewise. - (getPrimitiveTypeClass(OpenType)): Likewise. - (getElementType(OpenType)): Likewise. - (getElementTypeName(OpenType)): Likewise. - (ArrayType(int, OpenType)): Rewritten - to handle ArrayTypes as input. - (ArrayType(SimpleType, boolean)): New constructor. - (equals(Object)): Handle primitiveArray flag. - (hashCode()): Likewise. - (getArrayType(OpenType)): New method. - (getPrimitiveArrayType(Class)): Likewise. - (isPrimitiveArray()): Likewise. - (toString()): Updated to list primitiveArray - flag. - * javax/management/openmbean/OpenType.java: - (OpenType(String,String,String)): Use Class.forName() - and methods of Class to validate arrays. - * javax/management/openmbean/SimpleType.java: - Include causal exception when creating pre-defined types - throws an exception. + PR classpath/34579: + * m4/ac_prog_javac_works.m4: Change test + to one that doesn't rely on the compiler's + class library. -2007-03-09 Andreas Tobler - - Port change from gcc: - - 2007-03-06 Matthias Klose - - * doc/Makefile.am(gkeytool.pod): Don't use sed -i. - -2007-03-09 Kyle Galloway - - * gnu/classpath/jdwp/exception/InvalidTagException.java: New file. - * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java - (executeGetValues): Use Value type. - (exectureSetValues): Ditto. - * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java - (executeGetValues): Use Value type. - (executeSetValues): Ditto. - (invokeMethod): Record method return type. - * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java - (executeGetValues): Use Value type. - (executeSetValues): Ditto. - * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java - (executeGetValues): Use Value type. - * gnu/classpath/jdwp/processor/StackFrameCommandSet.java - (executeGetValues): Use Value type. - (executeSetValues): Ditto. - * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return - type. - (getResultType): New Method. - (setResultType): Ditto. - * gnu/classpath/jdwp/util/Value.java: Remove. - * gnu/classpath/jdwp/value: New Package. - * gnu/classpath/jdwp/value/Value.java: New file. - * gnu/classpath/jdwp/value/BooleanValue.java: New file. - * gnu/classpath/jdwp/value/ByteValue.java: New file. - * gnu/classpath/jdwp/value/CharValue.java: New file. - * gnu/classpath/jdwp/value/DoubleValue.java: New file. - * gnu/classpath/jdwp/value/FloatValue.java: New file. - * gnu/classpath/jdwp/value/IntValue.java: New file. - * gnu/classpath/jdwp/value/LongValue.java: New file. - * gnu/classpath/jdwp/value/ObjectValue.java: New file. - * gnu/classpath/jdwp/value/ShortValue.java: New file. - * gnu/classpath/jdwp/value/StringValue.java: New file. - * gnu/classpath/jdwp/value/ValueFactory.java: New file. - * gnu/classpath/jdwp/value/VoidValue.java: New file. - -2007-03-09 Roman Kennke - - * java/awt/image/SinglePixelPackageSampleModel.java - (createDataBuffer): Avoid use of Buffers class and create - DataBuffer directly in place. - -2007-03-09 Roman Kennke - - * java/awt/image/ComponentSampleModel.java - (tightPixelPacking): Removed. - (ComponentSampleModel): Removed unnecessary 'optimization' code. - (createDataBuffer): Avoid use of Buffers helper class. - (getDataElements(int,int,int,int,Object,DataBuffer): Removed. - (getDataElements(int,int,Object,DataBuffer): Do not use Buffers - helper class and instead fetch the values directly. Don't expect - any specific DataBuffer subclass. - (setDataElements(int,int,int,int,Object,DataBuffer): Removed. - (setDataElements(int,int,Object,DataBuffer): Do not use Buffers - helper class and instead set the values directly. Don't expect - any specific DataBuffer subclass. - -2007-03-08 Tom Tromey - - PR libgcj/31093: - * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0. - -2007-03-08 Gary Benson - - PR classpath/30983: - * gnu/xml/dom/ls/DomLSParser.java (getInputSource): - Do not use the entity resolver to resolve the top-level document. - -2007-03-07 Tom Tromey - - PR classpath/31057: - * java/util/regex/Pattern.java (toString): New method. - -2007-03-07 Gary Benson - - PR classpath/30906: - * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList: +2008-02-11 Andrew John Hughes + + PR classpath/34578: + * NEWS: Mention javah and javac build changes. + * configure.ac: Call AC_PROG_JAVAC and + CLASSPATH_JAVAC_MEM_CHECK instead of CLASSPATH_FIND_JAVAC. + * examples/Makefile.am: Simplify compiler choice + to just use JAVAC. + * lib/Makefile.am: Likewise, but with JAVAC_MEM_OPT too. + * m4/ac_prog_javac.m4: New file. + * m4/ac_prog_javac_works.m4: Likewise. + * m4/acinclude.m4: + (CLASSPATH_FIND_JAVAC): Removed. + (CLASSPATH_WITH_GCJ): Removed. + (CLASSPATH_CHECK_GCJ): Removed. + (CLASSPATH_WITH_JIKES): Removed. + (CLASSPATH_CHECK_JIKES): Removed. + (CLASSPATH_WITH_KJC): Removed. + (CLASSPATH_CHECK_KJC): Removed. + (CLASSPATH_WITH_ECJ): Removed. + (CLASSPATH_CHECK_ECJ): Removed. + (CLASSPATH_WITH_JAVAC): Removed. + (CLASSPATH_CHECK_JAVAC): Removed. + (CLASSPATH_JAVAC_MEM_CHECK): Added. + * tools/Makefile.am: Simplify compiler choice + to just javac. + +2008-02-12 Roman Kennke + + * java/awt/color/ICC_Profile.java + (getInstance()): Wrap call to InputStream.read(byte[],int,int) in + a loop, in order to read the whole thing. + +2008-02-10 Andrew John Hughes + + * javax/management/remote/NotificationResult.java: New file. - -2007-03-06 Andrew John Hughes - - * gnu/java/lang/management/BeanImpl.java: - (translate(String)): Add horrible generics hacks - to make things work with the new type signatures. - * javax/management/loading/ClassLoaderRepository.java: - Added generic types. - * javax/management/openmbean/CompositeDataSupport.java: - Likewise. - * javax/management/openmbean/OpenMBeanOperationInfo.java: - Likewise. - * javax/management/openmbean/OpenMBeanParameterInfo.java: + * javax/management/remote/TargetedNotification.java: Likewise. + * javax/management/remote/rmi/RMIConnection.java: + (fetchNotifications(long,int,long)): Added. + +2008-02-10 Dalibor Topic -2007-03-06 Francis Kung + * lib/Makefile.am (compile_classpath), include/Makefile.am (JAVAH): + Replaced USER_CLASSLIB with PATH_TO_GLIBJ_ZIP. - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java - (getGlyphOutline): Apply glyph position translation. - (getOutline): Do not apply glyph position translation. + * m4/acinclude.m4 (CLASSPATH_WITH_CLASSLIB)[--with-classpath]: + Removed unused option. It's superceded by --with-glibj-zip. -2007-03-06 Tom Tromey +2008-02-10 Dalibor Topic - * tools/gnu/classpath/tools/javah/Main.java (getName): New - method. - (getParser): Now protected. Use getName. Add '-v' alias for - --verbose. - (postParse): New method. - (run): Now protected. Use postParse. - * tools/gnu/classpath/tools/javah/GcjhMain.java: New file. + * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH)[USER_JAVAH]: + Check for gjavah-4.3. -2007-03-05 Andrew John Hughes +2008-02-10 Mark Wielaard - * gnu/javax/management/Translator.java: - (translate(String)): Use a Boolean array to - comply with the new typing. - * javax/management/openmbean/ArrayType.java: - Added generic types and updated copyright headers. - * javax/management/openmbean/CompositeData.java: - Likewise. - * javax/management/openmbean/CompositeDataSupport.java: - Likewise. - * javax/management/openmbean/CompositeType.java: - Likewise. - * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java: - Likewise. - * javax/management/openmbean/OpenMBeanOperationInfoSupport.java: - Likewise. - * javax/management/openmbean/OpenMBeanParameterInfoSupport.java: - Likewise. - * javax/management/openmbean/OpenType.java: - Updated copyright header. - * javax/management/openmbean/SimpleType.java: - Added generic types and updated copyright headers. - * javax/management/openmbean/TabularData.java: - Likewise. - * javax/management/openmbean/TabularDataSupport.java: - Likewise. - * javax/management/openmbean/TabularType.java: - Likewise. + * scripts/check_jni_methods.sh.in: + Use abs_src_builddir so that the absolute path + to the source directory is used by the script. -2007-03-05 Andrew John Hughes +2008-02-10 Andrew John Hughes - * gnu/java/lang/management/BeanImpl.java: - Reference the new Translator class. - (translate(String)): Moved to Translator. - * gnu/javax/management/Translator.java: - New file. - * javax/management/JMX.java: - Likewise. - * javax/management/MBeanServerInvocationHandler.java: + * scripts/check_jni_methods.sh.in: + Use abs_top_builddir so that the absolute path + to the build directory is used by the script. + +2008-02-10 Andrew John Hughes + + * javax/management/remote/rmi/RMIConnection.java: + (addNotificationListeners(ObjectName[], + MarshalledObject[], Subject[])): Fixed return type. + (close()): Added. + (createMBean(String,ObjectName,MarshalledObject, + String[], Subject)): Likewise. + (createMBean(String,ObjectName,ObjectName, + MarshalledObject, String[], Subject)): Likewise. + (createMBean(String,ObjectName,ObjectName, + Subject)): Likewise. + (createMBean(String,ObjectName,Subject)): Likewise. + (getAttribute(ObjectName,String,Subject)): Likewise. + (getAttributes(ObjectName,String[],Subject)): Likewise. + (getConnectionId()): Likewise. + (getDefaultDomain(Subject)): Likewise. + (getDomains(Subject)): Likewise. + (getMBeanCount(Subject)): Likewise. + (getMBeanInfo(ObjectName,Subject)): Likewise. + (getObjectInstance(ObjectName,Subject)): Likewise. + (invoke(ObjectName,String,MarshalledObject,String[], + Subject)): Likewise. + (isInstanceOf(ObjectName,String,Subject)): Likewise. + (isRegistered(ObjectName,Subject)): Likewise. + (queryMBeans(ObjectName,MarshalledObject,Subject)): Likewise. + (queryNames(ObjectName,MarshalledObject,Subject)): Likewise. + (removeNotificationListener(ObjectName,ObjectName,MarshalledObject, + MarshalledObject,Subject)): Likewise. + (removeNotificationListener(ObjectName,ObjectName,Subject)): Likewise. - * javax/management/MXBean.java: + (removeNotificationListeners(ObjectName,Integer[],Subject)): Likewise. - * javax/management/ObjectName.java: - (ObjectName(String)): Catch a key without a value. - * javax/management/StandardMBean.java: - (StandardMBean(Class)): Handle MXBeans. - (StandardMBean(Object, Class)): Likewise. - (invoke(String,Object[],String[])): Disallow - calling attribute methods and handle null signatures. - (setAttribute(Attribute)): Search for mutators - with the appropriate signature. - * javax/management/openmbean/OpenType.java: - Add generic typing. - (ALLOWED_CLASSNAMES_LIST): New field. - -2007-03-02 Mario Torre + (setAttribute(ObjectName,MarshalledObject,Subject)): Likewise. + (setAttributes(ObjectName,MarshalledObject,Subject)): Likewise. + (unregisterMBean(ObjectName,Subject)): Likewise. - PR classpath/31017: - committed for Petteri Räty - * configure.ac: fix broken build for gcj browser plugin - -2007-03-02 Mario Torre - - * java/awt/Desktop.java: new java 1.6 class. - * java/awt/peer/DesktopPeer.java: new inteface. - * gnu/java/awt/peer/GnomeDesktopPeer.java: new class. - * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class. - * gnu/java/awt/peer/KDEDesktopPeer.java: new class. - * java/awt/Toolkit.java (createDesktopPeer): new method to support the - creation of DesktopPeer instances. - * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and - organize import. - * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method. - -2007-02-28 Keith Seitz - - * gnu/classpath/jdwp/processor/EventRequestCommandSet.java - (executeSet): Check if VM has capability for field access - or modification events. - * gnu/classpath/jdwp/processor/MethodCommandSet.java - (executeByteCodes): Check if VM has capability and - implement. - * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java - (executeMonitorInfo): Likewise. - * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java - (executeSourceDebugExtension): Likewise. - * gnu/classpath/jdwp/processor/StackFrameCommandSet.java - (executePopFrames): Likewise. - * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java - (executeOwnedMonitors): Likewise. - (executeCurrentContendedMonitor): Likewise. - * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java - (executeCapabilities): Rewrite using new VMVirtualMachine - capabilities. - (executeRedefineClasses): Check if VM has capability and - implement. - (executeSetDefaultStratum): Likewise. - * gnu/classpath/jdwp/util/MonitorInfo.java; New file. - * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java - (canWatchFieldModification): New class constant. - (canWatchFieldAccess): Likewise. - (canGetBytecodes): Likewise. - (canGetSyntheticAttribute): Likewise. - (canGetOwnedMonitorInfo): Likewise. - (canGetCurrentContendedMonitor): Likewise. - (canGetMonitorInfo): Likewise. - (canRedefineClasses): Likewise. - (canAddMethod): Likewise. - (canUnrestrictedlyRedefineClasses): Likewise. - (canPopFrames): Likewise. - (canUseInstanceFilters): Likewise. - (canGetSourceDebugExtension): Likewise. - (canRequestVMDeathEvent): Likewise. - (canSetDefaultStratum): Likewise. - (redefineClasses): New method. - (setDefaultStratum): Likewise. - (getSourceDebugExtension): Likewise. - (getBytecodes): Likewise. - (getMonitorInfo): Likewise. - (getOwnedMonitors): Likewise. - (getCurrentContendedMonitor): Likewise. - (popFrames): Likewise. - -2007-03-01 Roman Kennke - - * java/awt/Canvas.java - (graphicsConfiguration): Removed duplicate (from Component) field. - (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig - field. - (getGraphicsConfigurationImpl): Removed. - * java/awt/Component.java - (getGraphicsConfiguration): Moved implementation here. Synchronize - on tree lock to prevent threading nastiness. Don't query peer - and instead return the setting of the graphicsConfig field. - (getGraphicsConfigurationImpl): Removed. - * java/awt/Window.java - (graphicsConfiguration): Removed duplicate (from Component) field. - (Window): Set the Component's graphicsConfig field. - (Window(GraphicsConfiguration)): Set the Component's graphicsConfig - field. - (Window(Window,GraphicsConfiguration)): Set the Component's - graphicsConfig field. - (getGraphicsConfigurationImpl): Removed. - (getGraphicsConfiguration): Fetch the local graphics env here - if not already done and return that. - -2007-02-28 Thomas Fitzsimmons - - * INSTALL: Document --with-ecj-jar configure option and ecj jar - requirement for com.sun.tools.javac support. - * configure.ac: Add --with-ecj-jar configure option. - * gnu/classpath/Configuration.java.in (ECJ_JAR): New field. - * tools/Makefile.am: Build decendents of com and sun directories. - * resource/com/sun/tools/javac/messages.properties, - resource/sun/rmi/rmic/messages.properties, - tools/com/sun/javadoc/ClassDoc.java, - tools/com/sun/javadoc/ConstructorDoc.java, - tools/com/sun/javadoc/Doc.java, - tools/com/sun/javadoc/DocErrorReporter.java, - tools/com/sun/javadoc/Doclet.java, - tools/com/sun/javadoc/ExecutableMemberDoc.java, - tools/com/sun/javadoc/FieldDoc.java, - tools/com/sun/javadoc/MemberDoc.java, - tools/com/sun/javadoc/MethodDoc.java, - tools/com/sun/javadoc/PackageDoc.java, - tools/com/sun/javadoc/ParamTag.java, - tools/com/sun/javadoc/Parameter.java, - tools/com/sun/javadoc/ProgramElementDoc.java, - tools/com/sun/javadoc/RootDoc.java, - tools/com/sun/javadoc/SeeTag.java, - tools/com/sun/javadoc/SerialFieldTag.java, - tools/com/sun/javadoc/SourcePosition.java, - tools/com/sun/javadoc/Tag.java, - tools/com/sun/javadoc/ThrowsTag.java, - tools/com/sun/javadoc/Type.java, - tools/com/sun/javadoc/TypeVariable.java, - tools/com/sun/tools/doclets/Taglet.java, - tools/com/sun/tools/javac/Main.java, - tools/com/sun/tools/javac/Messages.java, - tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java: - New files. - -2007-02-28 Keith Seitz - - * gnu/classpath/jdwp/processor/MethodCommandSet.java - (executeLineTable): Use ReferenceTypeId instead of - ClassReferenceTypeId. - (executeVariableTable): Likewise. - (executeVariableTableWithGeneric): Fix error message. - * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java - (executeSignatureWithGeneric): Fix error message. - (executeFieldWithGeneric): Likewise. - (executeMethodsWithGeneric): Likewise. - * gnu/classpath/jdwp/processor/StackFrameCommandSet.java - (executeGetValues): Use ThreadId instead of ObjectId. - (executeSetValues): Likewise. - (executeThisObject): Likewise. - -2007-02-28 Kyle Galloway - - * gnu/classpath/jdwp/id/NullObjectId.java: New class. - * gnu/classpath/jdwp/util/NullObject.java: New class. - * vm/reference/gnu/classpath/jdwp/VMIdManager.java - (getObjectId): Handle null object. - (get): Handle objectId of 0. - -2007-02-26 Francis Kung - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c - (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated - function for creating new font map. - -2007-02-26 Francis Kung - - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (drawCairoSurface): Do not reset clip. - (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise. - -2007-02-23 Francis Kung - - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (drawCairoSurface): New method. - (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new - drawCairoSurface() method. - * gnu/java/awt/peer/gtk/CairoSurface.java - (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct - width/height values, and copy sharedBuffer value. - (createWritableChild): Remove debug line. - (drawSurface): Removed method. - * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java - (drawComposite): Translate image when drawing. - -2007-02-23 Gary Benson - Jakub Jelinek - - PR libgcj/17002 - PR classpath/28550 - * java/util/Date.java (parse): Properly parse 09:01:02 as - hours/minutes/seconds, not as hours/minutes/year. - * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify - {start,end}TimeMode constructor by calling shorter constructor, - set {start,end}TimeMode fields after it returns. - (setStartRule): Don't adjust startTime into WALL_TIME. Set - startTimeMode to WALL_TIME. - (endStartRule): Similarly. - (getOffset): Handle properly millis + dstOffset overflowing into the - next day. Adjust startTime resp. endTime based on startTimeMode - resp. endTimeMode. - * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New - static fields. - (timezones): Remove synchronized keyword. Set zoneinfo_dir. - If non-null, set up aliases0 and don't put anything into - timezones0. - (defaultZone): Call getTimeZone instead of timezones().get. - (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use - getTimeZoneInternal instead of timezones().get. - (parseTime): Parse correctly hour:minute. - (getTimeZoneInternal): New private method. - (getTimeZone): Do the custom ID checking first, canonicalize - ID for custom IDs as required by documentation. Call - getTimeZoneInternal to handle the rest. - (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null. - (getAvailableIDs(File,String,ArrayList)): New private method. - (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null. - * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId): - To read /etc/localtime, use ZoneInfo.readTZFile instead of - VMTimeZone.readtzFile. Get better timezone name for - /etc/localtime, either if it is a symlink or through - /etc/sysconfig/clock. - (readSysconfigClockFile): New static method. - (readtzFile): Removed. - * gnu/java/util/ZoneInfo.java: New file. - * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. - * NEWS: Documented TimeZone interface changes. - -2007-02-23 Francis Kung - - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c - (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line. - -2007-02-22 Keith Seitz - - * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java - (getAllLoadedClassesCount): Remove. - (getAllLoadedClasses): Return a Collection. - * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java - (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses - now returns Collection. - (executeAllClasses): Likewise. - Get size of return from Colleciton instead of calling - getAllLoadedClassesCount. - -2007-02-22 Kyle Galloway - - * gnu/classpath/jdwp/processor/StackFrameCommandSet.java - (executeGetValues): Pass a signature byte to VMFrame.getValue. - * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add - signature parameter. - -2007-02-22 Francis Kung - - * gnu/java/awt/peer/gtk/CairoSurface.java - (copyAreaNative): Pass surface pointer into copyAreaNative2(). - (copyAreaNative2): Add parameter for surface pointer. - (getFlippedBuffer): Add parameter for surface pointer. - (getGtkImage): Pass surface pointer into getFlippedBuffer(). - -2007-02-21 Francis Kung - - * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java - (constructor): Add pre-multiplied colour model to types available for - optimization. - (updateBufferedImage): Change surface.getPixels() call to surface.getData(). - * gnu/java/awt/peer/gtk/CairoGraphics2D.java - (drawImage): Add checks before using CairoSurface optimization. - * gnu/java/awt/peer/gtk/CairoSurface.java - (bufferPointer): Removed field. - (sharedBuffer): New field. - (CairoSurface(GtkImage)): Copy array rather than using setPixels() call. - (CairoSurface(int,int,int)): Use getData() convenience method. - (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference - to deleted bufferPointer field. - (copyAreaNative): Update documentation, remove reference to bufferPointer. - (copyAreaNative2): Remove reference to deleted bufferPointer field. - (destroy): Remove reference to deleted bufferPointer field. - (dispose): Updated to reflect new method signature for destroy(). - (drawSurface): Added documentation. - (getData): New convience method. - (getFlippedBuffer): Removed method parameters. - (getGtkImage): Updated to reflect new method signature. - (getPixels): Removed method. - (nativeGetElem): Removed method. - (netiveGetPixels): Removed method. - (nativeSetElem): Removed method. - (nativeSetPixels): Removed method. - (setPixels): Removed method. - (syncJavaToNative): New method. - (syncNativeToJava): New method. - * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java - (draw): Sync buffers if necessary. - (drawGlyphVector): Likewise. - (drawImage): Likewise. - (drawRenderedImage): Likewise, - (fill): Likewise. - * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c - (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to - surface rather than pointer to buffer. - (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for - copied arrays. - (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays. - (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve - information on size using JNI calls. - (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed. - (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed. - (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed. - (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed. - (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function. - (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function. - (BUFFER): Removed constant. - (SHARED): New constant. - -2007-02-20 Gary Benson - - * javax/management/ObjectName.java - (domainMatches): New method. - (apply): Rearranged to use the above. - -2007-02-19 Mark Wielaard - - * doc/.cvsignore: Add *.1. - * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES. - -2007-02-19 Dalibor Topic - - * cp-hacking.texinfo, cp-tools.texinfo, - cp-vmintegration.texinfo: Prefix output file name - with cp. - -2007-02-19 Gary Benson - - * javax/management/ObjectName.java - (properties): Initialize when declared. - (ObjectName(String)): Don't initialize properties here. - (ObjectName(String, String, String): Likewise. - -2007-02-19 Chris Burdess - - Fixes #30831 - * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document - properties when reader is available. - -2007-02-19 Andrew John Hughes - - * javax/management/MBeanServer.java: - (queryMBeans(ObjectName,QueryExp)): Returned - generically-typed Set. - (queryNames(ObjectName,QueryExp)): Likewise. - * javax/management/MBeanServerConnection.java: - (queryMBeans(ObjectName,QueryExp)): Returned - generically-typed Set. - (queryNames(ObjectName,QueryExp)): Likewise. - * javax/management/ObjectName.java: - Use a generically-typed TreeMap. - (ObjectName(String,Hashtable): - Genericized. - (getKeyPropertyList()): Likewise. - * javax/management/StandardMBean.java: - Use a generically-typed interface class. - (StandardMBean(Class)): Genericized. - (StandardMBean(T, Class)): Likewise. - (getImplementationClass()): Likewise. - (getMBeanInterface()): Likewise. - -2007-02-19 Andrew John Hughes +2008-02-09 Dalibor Topic - * javax/management/Descriptor.java: - New file. - * javax/management/DescriptorRead.java: - Likewise. - * javax/management/DescriptorAccess.java: - Likewise. - -2007-02-16 Matthias Klose - - * doc/Makefile.am: Add rules to build and install man pages - from texinfo docs. - * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo: - Rename, prefix files with "cp-". - * doc/cp-tools.texinfo: Add markup for man page generation, - add documentation for command line options for gjar, gjavah, - gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv. - doc/texi2pod.pl: New, taken from the GCC sources. - -2007-02-16 Francis Kung - - * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file. - * gnu/java/awt/peer/gtk/CairoSurface.java - (CairoDataBuffer): Removed inner class. - (CairoSurface(int,int,int,int)): New constructor. - (CairoSurface(int,int)): Delegate to new constructor. - (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor - for creating child rasters. - (create): Added int[] parameter. - (createChild): New method. - (createCompatibleWritableRaster): New methods. - (createTranslatedChild): New method. - (createWritableChild): New method. - (createWritableTranslatedChild): New method. - (destroy): Added int[] parameter. - (dispose): Only free native resources if this Surface has no parents. - (isCompatibleColorModel): New method. - (isCompatibleSampleModel): New method. - * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java - (draw): Set transform, smarter bounds generation. - (drawComposite): Improved clipping. - (drawImage): Fixed bounds translation. - (drawRenderedImage): Set transform in buffer. - (fill): Set transform in buffer. - * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java - (createRaster): New method. - * java/awt/image/BufferedImage.java - (BufferedImage(int,int,int)): Use optimized raster if possible. - * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c - (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between - Cairo and Java. - (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array. - -2007-02-16 Francis Kung - - * javax/management/NotificationBroadcasterSupport.java: Update imports. - -2007-02-16 Andrew Haley - - * gnu/java/lang/management/MemoryMXBeanImpl.java, - javax/management/MBeanServerDelegate.java: Use - gnu.javax.management.ListenerData rather than - gnu.classpath.ListenerData. - * gnu/javax/management/ListenerData.java: Move here from - gnu/classpath/ListenerData.java. - -2006-10-14 Edwin Steiner - - PR classpath/28652: - * javax/management/MBeanInfo.java (MBeanInfo): - Use clone to duplicate the arrays in order to - preserve the array type. - -2007-02-15 Gary Benson + * native/jni/Makefile.am (all-local): Call check_jni_methods.sh + directly. - * gnu/javax/management/Server.java - (registerMBean): Always register objects that implement the - MBeanRegistration interface, and check the name returned by - preRegister before using it. + * scripts/Makefile.am (EXTRA_DIST): Removed check_jni_methods.sh. -2007-02-15 Roman Kennke + * include/Makefile.am (SOUND_H_FILES, GST_PEER_H_FILES) + (XMLJ_H_FILES, GTKPEER_H_FILES, QTPEER_H_FILES) + (GCONF_PREFS_FILES, H_FILES): Don't generate header files + in the source directory, as it may not be writeable. + (DISTCLEANFILES) Added H_FILES. - * java/nio/ByteOrder.java - (nativeOrder): Avoid NPE when comparing a system property. + * configure.ac (AC_CONFIG_FILES): Added + scripts/check_jni_methods.sh. -2007-02-13 Gary Benson + * scripts/check_jni_methods.sh: Removed. Moved over to .. + * scripts/check_jni_methods.sh.in: New file. Added + top_srcdir and top_builddir where necessary. + +2008-02-09 Mario Torre + + * include/java_util_VMTimeZone.h: Removed. + * native/jni/gconf-peer/GConfNativePeer.c: all native methods, replaced + GConfEngine with GConfClient and use GConfClient API instead. + +2008-02-08 Mark Wielaard + + * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): Delete + Colour.class. + + * include/.cvsignore: Add java_* and gnu_*.h. + +2008-02-08 Mario Torre + + * configure.ac: --enable-regen-header option now enabled by default. + * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Removed. + * include/gnu_java_awt_peer_gtk_CairoSurface.h: Removed. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Removed. + * include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h: Removed. + * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Removed. + * include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Removed. + * include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h: Removed. + * include/gnu_java_awt_peer_gtk_GdkRobotPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkButtonPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkChoicePeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkClipboard.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkImage.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkListPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkMenuPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkPanelPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkSelection.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Removed. + * include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Removed. + * include/gnu_java_awt_peer_qt_MainQtThread.h: Removed. + * include/gnu_java_awt_peer_qt_QMatrix.h: Removed. + * include/gnu_java_awt_peer_qt_QPainterPath.h: Removed. + * include/gnu_java_awt_peer_qt_QPen.h: Removed. + * include/gnu_java_awt_peer_qt_QtAudioClip.h: Removed. + * include/gnu_java_awt_peer_qt_QtButtonPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtCanvasPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtCheckboxPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtChoicePeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtComponentPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtDialogPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtFileDialogPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtFontMetrics.h: Removed. + * include/gnu_java_awt_peer_qt_QtFontPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtFramePeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtGraphics.h: Removed. + * include/gnu_java_awt_peer_qt_QtImage.h: Removed. + * include/gnu_java_awt_peer_qt_QtLabelPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtListPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtMenuBarPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtMenuItemPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtMenuPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtPanelPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtScreenDevice.h: Removed. + * include/gnu_java_awt_peer_qt_QtScrollbarPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtScrollPanePeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtTextAreaPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtTextFieldPeer.h: Removed. + * include/gnu_java_awt_peer_qt_QtToolkit.h: Removed. + * include/gnu_java_awt_peer_qt_QtVolatileImage.h: Removed. + * include/gnu_java_awt_peer_qt_QtWindowPeer.h: Removed. + * include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h: Removed. + * include/gnu_java_net_local_LocalSocketImpl.h: Removed. + * include/gnu_java_net_VMPlainSocketImpl.h: Removed. + * include/gnu_java_nio_charset_iconv_IconvDecoder.h: Removed. + * include/gnu_java_nio_charset_iconv_IconvEncoder.h: Removed. + * include/gnu_java_nio_EpollSelectorImpl.h: Removed. + * include/gnu_java_nio_FileChannelImpl.h: Removed. + * include/gnu_java_nio_KqueueSelectorImpl.h: Removed. + * include/gnu_java_nio_VMChannel.h: Removed. + * include/gnu_java_nio_VMPipe.h: Removed. + * include/gnu_java_nio_VMSelector.h: Removed. + * include/gnu_java_util_prefs_gconf_GConfNativePeer.h: Removed. + * include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h: Removed. + * include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h: Removed. + * include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h: Removed. + * include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h: Removed. + * include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h: Removed. + * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h: Removed. + * include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: Removed. + * include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h: Removed. + * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeAttr.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeDocument.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeDocumentType.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeElement.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeEntity.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeNode.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeNodeList.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeNotation.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h: Removed. + * include/gnu_xml_libxmlj_dom_GnomeXPathResult.h: Removed. + * include/gnu_xml_libxmlj_sax_GnomeLocator.h: Removed. + * include/gnu_xml_libxmlj_sax_GnomeXMLReader.h: Removed. + * include/gnu_xml_libxmlj_transform_GnomeTransformer.h: Removed. + * include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h: Removed. + * include/java_io_VMFile.h: Removed. + * include/java_io_VMObjectInputStream.h: Removed. + * include/java_io_VMObjectStreamClass.h: Removed. + * include/java_lang_reflect_VMArray.h: Removed. + * include/java_lang_VMDouble.h: Removed. + * include/java_lang_VMFloat.h: Removed. + * include/java_lang_VMMath.h: Removed. + * include/java_lang_VMProcess.h: Removed. + * include/java_lang_VMSystem.h: Removed. + * include/java_net_VMInetAddress.h: Removed. + * include/java_net_VMNetworkInterface.h: Removed. + * include/java_net_VMURLConnection.h: Removed. + * include/java_nio_MappedByteBufferImpl.h: Removed. + * include/java_nio_VMDirectByteBuffer.h: Removed. + +2008-02-08 Roman Kennke - * javax/management/ObjectName.java - (toString): Return this item's canonical name. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java, + * gnu/java/awt/peer/gtk/GtkToolkit.java: Removed mistakenly + committed code. -2007-02-12 Francis Kung +2008-02-08 Roman Kennke - * gnu/java/awt/ClasspathToolkit.java: - * gnu/java/awt/peer/gtk/AsyncImage.java, - * gnu/java/awt/peer/gtk/BufferedImageGraphics.java, * gnu/java/awt/peer/gtk/CairoGraphics2D.java, - * gnu/java/awt/peer/gtk/CairoSurface.java, - * gnu/java/awt/peer/gtk/ComponentGraphics.java, - * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java, * gnu/java/awt/peer/gtk/GdkFontPeer.java, + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, - * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, - * gnu/java/awt/peer/gtk/GtkChoicePeer.java, - * gnu/java/awt/peer/gtk/GtkClipboard.java, - * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java, * gnu/java/awt/peer/gtk/GtkComponentPeer.java, - * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, - * gnu/java/awt/peer/gtk/GtkFramePeer.java, - * gnu/java/awt/peer/gtk/GtkImage.java, - * gnu/java/awt/peer/gtk/GtkImageConsumer.java, - * gnu/java/awt/peer/gtk/GtkLabelPeer.java, - * gnu/java/awt/peer/gtk/GtkListPeer.java, - * gnu/java/awt/peer/gtk/GtkMainThread.java, - * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, - * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, - * gnu/java/awt/peer/gtk/GtkMenuPeer.java, - * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, - * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, - * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, - * gnu/java/awt/peer/gtk/GtkSelection.java, - * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, - * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, - * gnu/java/awt/peer/gtk/GtkToolkit.java, - * gnu/java/awt/peer/gtk/GtkWindowPeer.java, - * gnu/java/awt/peer/gtk/VolatileImageGraphics.java, - * java/awt/RenderingHints.java, - * java/awt/image/BufferedImage.java: Reformatted and added generics. - -2007-02-12 Tom Tromey - - * java/net/Socket.java (bind): Typo fix. - -2007-02-12 Tom Tromey - - * vm/reference/java/lang/reflect/Method.java (getDefaultValue): - New method. - * sun/reflect/annotation/AnnotationInvocationHandler.java (create): - New method. - (arrayClone): New method. - (invoke): Clone array return results. - -2007-02-12 Jakub Jelinek - - PR 23566 - * scripts/timezones.pl: Parse each file in 2 passes, in one parse - just Rule lines, in the other everything else. Pass 0 instead of - $savings as second argument to parseRule when parsing the start - rule. - * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a. - -2007-02-12 Jakub Jelinek - - * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both - the old 'TZif\0' format and the new one. - * java/util/TimeZone.java: Handle default (one hour) daylight - savings. - -2007-02-12 Andrew John Hughes - - * javax/management/Query.java: - New file. - * javax/management/StandardMBean.java: - Use the implementation's class loader. - -2007-02-10 Mark Wielaard - - * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from - java.util, not from java.sql. - -2007-02-10 Roman Kennke - - * javax/imageio/stream/ImageOutputStreamImpl.java - (flushBits): Implemented. - (writeBit): Implemented. - (writeBits): Implemented. - -2007-02-10 Roman Kennke - - * javax/swing/TransferHandler.java - (SwingDragGestureRecognizer): New inner class. - (SwingDragHandler): New inner class. - (recognizer): New field. - (exportAsDrag): Implemented missing method. - -2007-02-10 Roman Kennke - - * java/awt/GraphicsConfiguration.java - (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide - default implementation that delegates to - createCompatibleVolatileImage(int,int). - (createCompatibleVolatileImage(int,int,ImageCapabilities,int): - New method from JDK5 spec. Default implementation by delegating to - (createCompatibleVolatileImage(int,int,int). - -2007-02-09 Tom Tromey - - PR libgcj/30647: - * configure.ac: Also check for jack/jack.h. - -2007-02-09 Mario Torre - - * java/io/File.java: remove import for - gnu.classpath.NotImplementedException. - (getUsableSpace): removed stub. - (getFreeSpace): likewise. - (getTotalSpace): likewise. - -2007-02-09 Mario Torre - - * vm/reference/java/io/VMFile.java: - (canExecute): new 1.6 native method. - (setReadable): likewise. - (setWritable): likewise. - (setExecutable): likewise. - * java/io/File.java: added import for gnu.classpath.NotImplementedException. - (setReadOnly): new 1.6 method. - (canExecute): likewise. - (setReadable): likewise. - (setWritable): likewise. - (setExecutable): likewise. - (getUsableSpace): added stub for new 1.6 method. - (getFreeSpace): likewise. - (getTotalSpace): likewise. - (checkExec): new private method to support new 1.6 additions. - * native/jni/java-io/java_io_VMFile.c: - set_file_permissions: new helper function. - Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods - in VMFile.java. - Java_java_io_VMFile_setWritable: likewise. - Java_java_io_VMFile_setExecutable: likewise. - Java_java_io_VMFile_canExecute: likewise. - * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC, - CPFILE_FLAG_USR and CPFILE_FLAG_OFF. - cpio_chmod: new function declaration. - cpio_checkAccess: likewise. - * native/jni/native-lib/cpio.c: - cpio_chmod: new function definition. - cpio_checkAccess: likewise. - -2007-02-09 Gary Benson - - * javax/management/ObjectName.java - (quote): Initialize StringBuilder correctly. - -2007-02-09 Francis Kung - - * java/awt/image/BufferedImage: Reformatted. - -2007-02-09 Ito Kazumitsu - - Fixes bug #30732 - * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next - token has a next token. - -2007-02-08 Roman Kennke - - PR 30347 - * javax/swing/JViewport.java - (scrollRectToVisible): Use correct X/Y offset for calculations. - (paintBackingStore): Update backbuffer when we are not the paint - root. - -2007-02-08 Roman Kennke - - * java/awt/image/SinglePixelPackedSampleModel.java - (getDataElements(int,int,Object,DataBuffer)): - Replace DataBuffer using method with simple - switch. This does not check for the exact type (class) of the - DataBuffer but instead checks the transfer type. - (getDataElements(int,int,int,intObject,DataBuffer)): Removed. - (setDataElements): Fixed indentation. - (setPixels): Removed unused statement. - -2007-02-07 Tom Tromey - - * tools/gnu/classpath/tools/javah/PathOptionGroup.java - (PathOptionGroup): Allow '-cp' as well. + * gnu/java/awt/peer/gtk/GtkToolkit.java: Only call + System.loadLibrary() when configured so. -2007-02-07 Chris Burdess +2008-02-08 Dalibor Topic - Fixes PR 30718. - * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators. - * gnu/xml/transform/XSLURIResolver.java: Add support for custom - SAXSources without a backing URL or stream. + * NEWS: Documented removal of floatToIntBits and doubleToLongBits from + VM interface. -2007-02-06 Tom Tromey +2008-02-08 Dalibor Topic - PR libgcj/30707: - * tools/gnu/classpath/tools/javah/JniIncludePrinter.java - (printClass): Always print a header. - -2007-02-06 Chris Burdess - - Fixes PR 27710. - * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous - LSParser if implementation does not support asynchronous. - * gnu/xml/stream/XMLParser.java, - gnu/xml/stream/XIncludeFilter.java: Use custom code instead of - java.net.URL to resolve to an an absolute URI, to avoid nonexistent - protocol handler problems. - -2007-02-05 Andrew Haley - - PR cp-tools/30706 - * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: - (printClass): Replace '/' in filenames with '_'. - * tools/gnu/classpath/tools/javah/JniStubPrinter.java - (printClass): Likewise. - -2007-02-05 Tom Tromey - - * java/net/Proxy.java (equals): Handle case where address==null. - (hashCode): Likewise. - (toString): Likewise. - -2007-02-04 Jeroen Frijters - - * java/lang/Class.java - (newInstance): Moved setAccessible call to helper method. - (getEnumConstants): Call new helper method to allow values method to be - called on non-public enum classes. - (setAccessible): New helper method. - * java/lang/Enum.java - (valueOf): Call new helper method in class to allow field value to - be read on non-public enum classes. - -2007-02-04 Jeroen Frijters - - Fix for #30693 - * gnu/java/nio/charset/ByteCharset.java - (ByteCharset.Decoder.decodeLoop): Reset input buffer position if - the byte read was unmappable. - -2007-02-02 Kyle Galloway - - * gnu/classpath/jdwp/processor/StackFrameCommandSet.java - (executeGetValues): Changed getFrame to use a jlong to pass frameID. - (executeSetValues): Ditto. - (executeThisObject): Ditto. - * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a - constructor used to create VMFrames. - (getThread): New method. - * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed - to take a long instead of a ByteBuffer to pass the frameID. - -2007-02-01 Tom Tromey - - * java/util/logging/LogManager.java (reset): Remove bogus - 'while'. - -2007-01-31 Casey Marshall - - * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.' - * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports. - (add): use `gnu.java.util.Base64.' - * gnu/java/net/protocol/http/Request.java (authenticate): use - `gnu.java.util.Base64.' - * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream): - likewise. - * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise. - * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise. - * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421): - likewise. - * gnu/java/net/Base64.java: removed. - * gnu/java/security/util/Base64.java: removed. - -2007-01-31 Casey Marshall - - Fixes PR classpath/24191. - Fix suggested by Rafael Teixeira . - * javax/crypto/CipherOutputStream.java (write): check return value - of `update' for null. - -2007-01-31 Tom Tromey - - * resource/gnu/classpath/tools/jar/messages.properties - (Main.Stdin): New message. - * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add - '-@' option. - (readNames): New method. - (run): Use it. - -2007-01-30 Roman Kennke + * vm/reference/java/lang/VMFloat.java (floatToIntBits): Removed unused + method. - PR 20577 - * javax/swing/DefaultDesktopManager.java - (activateFrame): Added a bunch of null checks. Don't call - JInternalFrame.setSelected() to avoid recursion. + * native/jni/java-lang/java_lang_VMFloat.c (Java_java_lang_VMFloat_floatToIntBits): Removed unused function. -2007-01-29 Andrew Haley + * include/java_lang_VMDouble.h: Regenerated. + + * doc/cp-vmintegration.texinfo (java.lang.VMFloat): Removed + unused method floatToIntBits. (java.lang.VMDouble): Use similar + text to text used for floatToRawIntBits for doubleToLongBits. - * java/lang/SecurityManager.java (SecurityManager): Load and - initialize java.security.Security. - -2007-01-28 Ito Kazumitsu - - * native/jni/java-nio/gnu_java_nio_VMChannel.c - (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException - in case of timeout. - * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if - SO_RCVTIMEO is set. +2008-02-08 Dalibor Topic -2007-01-26 Tom Tromey - - * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print - 'volatile' after field type. + * java/lang/Float.java (floatToIntBits): Simplified. -2007-01-26 Chris Burdess +2008-02-08 Dalibor Topic - Fixes #30597 - * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause - of LSException is an IOException. - * gnu/xml/dom/ls/DomLSParser.java, - gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set - correctly during LS parsing. - -2007-01-21 Andrew John Hughes - - * javax/management/PersistentMBean.java: - New file. - -2007-01-21 Andrew John Hughes + * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH) [USER_JAVAH]: Check for gjavah-4.2 + and gjavah-4.1. - * javax/management/AttributeChangeNotificationFilter.java: - Correct typo. - * javax/management/NotificationFilterSupport.java: - New file. - -2007-01-21 Mark Wielaard +2008-02-08 Dalibor Topic - * java/security/SecureClassLoader.java (defineClass): Method returns - Class. - * java/security/SignatureSpi.java (engineUpdate(ByteBuffer): - Does not throw SignatureException. Chain SignatureException inside - IllegalStateException. + * vm/reference/java/lang/VMDouble.java (doubleToLongBits): Removed unused method. -2007-01-21 Andrew John Hughes + * native/jni/java-lang/java_lang_VMDouble.c (Java_java_lang_VMDouble_doubleToLongBits): + Removed unused function. - * javax/management/NotificationBroadcasterSupport.java: - New file. + * include/java_lang_VMDouble.h: Regenerated. -2007-01-20 Ito Kazumitsu + * doc/cp-vmintegration.texinfo (java.lang.VMDouble): Removed + unused method doubleToLongBits. - * java/text/DecimalFormat.java(parse): Corrected the ParsePosition - settings. +2008-02-08 Dalibor Topic -2007-01-20 Ito Kazumitsu + * java/lang/Double.java (doubleToLongBits): Simplified. - * java/text/SimpleDateFormat(parse): Corrected the usage of - NumberFormat. +2008-02-07 Ian Rogers -2007-01-20 Ito Kazumitsu + * java/lang/String.java + (replace): Only copy "live" portion of String. Use array copies in preference + to clone. + (toLowerCaseTurkish): likewise + (toLowerCase): likewise + (toUpperCaseTurkish): likewise + (toUpperCase): likewise + (toCharArray): Use array copies in preference to clone. - Fixes bug #30488 - * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted, - (setsockopt_NOSIGPIPE): New function, - (cpnet_send): Corrected the option setting to send(), - (cpnet_sendTo): Corrected the option setting to sendto(). +2008-02-05 Ian Rogers -2007-01-19 Marco Trudel + * gnu/java/lang/reflect/TypeSignature.java + * java/io/BufferedReader.java + * java/io/DataInputStream.java + * java/lang/StackTraceElement.java + * java/lang/Throwable.java + * java/lang/reflect/Proxy.java + * java/net/URI.java + * java/net/URLClassLoader.java + * java/net/URLEncoder.java + * java/text/SimpleDateFormat.java + * java/util/AbstractMap.java + * java/util/Calendar.java + * java/util/Date.java + * java/util/Hashtable.java + Use StringBuilder in preference to StringBuffer + * java/util/Calendar.java + * java/util/Hashtable.java + Make private fields that can be final, final + * java/net/URI.java + Avoid creating Integer objects for the sake of comparison + * java/lang/reflect/Proxy.java + * java/text/SimpleDateFormat.java + Swap use of "new Character/Integer" to use of valueOf methods + +2008-01-29 Ito Kazumitsu + + Fixes bug #22941 + * java/io/DataInputStream.java(readUTFLong): New method. + (readUTF): New private method. + * java/io/DataOutputStream.java(getUTFlength): Made package-private, + Return type changed to long. + (writeUTF): Use the new method writeUTFShort. + (writeUTFShort): New package-private method. + (writeUTFLong): New package-private method. + (writeUTFBytes): New private method. + * java/io/ObjectInputStream.java(parseContent): Separate the + handling of TC_LONGSTRING from TC_STRING. + * java/io/ObjectOutputStream.java(writeObject): When to write a + String, use writeUTFShort or writeUTFLong depending on the byte length. - * java/util/Arrays.java (binarySearch): Change comparison order. +2008-01-27 Bernhard Fischer -2007-01-17 Keith Seitz + * java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment. + * gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in + exception message. - * gnu/classpath/jdwp/events/filters/StepFilter.java: - Update javadoc. - (matches): Implement. +2008-01-27 Ralf Wildenhues - * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor - agent startup suspension for VM_INIT. + * doc/README.jaxp: Fix typos. -2007-01-17 Tom Tromey +2008-01-25 Dalibor Topic - * tools/gnu/classpath/tools/javah/PathOptionGroup.java - (PathOptionGroup): Set default boot class path. + * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java + (createParser): Removed unused "reversed" misspelling. Use + Native2ASCII.ReverseHelp instead of Native2ASCII.ReversedHelp. -2007-01-17 Mark Wielaard + * resource/gnu/classpath/tools/native2ascii/messages.properties + (Native2ASCII.ReverseHelp): New, renamed from ... + (Native2ASCII.ReversedHelp): Removed. + (Native2ASCII.ReversedHelpCompat): Removed. - * javax/activity/ActivityCompletedException.java: Make constructors - public. - * javax/activity/ActivityRequiredException.java: Likewise. - * javax/activity/InvalidActivityException.java: Likewise. +2008-01-24 Tom Tromey -2007-01-17 Roman Kennke + * resource/gnu/classpath/tools/native2ascii/messages.properties + (Native2ASCII.ReversedHelpCompat): New. + * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java + (createParser): Add -reverse. Update -reversed. - * javax/swing/plaf/basic/BasicRadioButtonUI.java - (paint): Use helper method to figure out icon. Don't override - the icon field in that class. Check for null icons. - (getCurrentIcon): New helper function to determine icon to be - painted. +2008-01-21 Luciano Chavez -2007-01-17 Mark Wielaard + PR libgcj/34369: + * java/net/URI.java (relativize): Check initial segment for + trailing "/". - * javax/activity/ActivityCompletedException.java: New file. - * javax/activity/ActivityRequiredException.java: Likewise. - * javax/activity/InvalidActivityException.java: Likewise. - * javax/activity/package.html: Likewise. +2008-01-14 Andrew John Hughes -2007-01-15 Andrew John Hughes + * m4/acinclude.m4: + Remove bootclasspath option which fails with + OpenJDK javac. + +2008-01-14 Roman Kennke - * javax/management/DefaultLoaderRepository.java: - (loadClass(String)): Made static. - (loadClassWithout(String,ClassLoader)): Likewise. + * javax/tools/FileObject.java: New interface. -2007-01-15 Kyle Galloway +2008-01-14 Andrew John Hughes - * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file. - * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation. - * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation. + * javax/accessibility/AccessibleAction.java: + (CLICK): Added. + (TOGGLE_POPUP): Likewise. + * javax/accessbiility/AccessibleRole.java: + (HTML_CONTAINER): Added. -2007-01-15 Andrew John Hughes +2008-01-14 Andrew John Hughes - * javax/management/AttributeValueExp.java: - Corrected serialVersionUID typo. - * javax/management/DefaultLoaderRepository.java: - New file. - * javax/management/MBeanServerFactory.java: - Add generic typing. + * javax/accessibility/AccessibleAttributeSequence.java: + (AccessibleAttributeSequence(int,int,AttributeSet)): + Implemented. + * javax/accessibility/AccessibleTextSequence.java: + (AccessibleTextSequence(int,int,String)): + Likewise. -2007-01-15 Kyle Galloway +2008-01-13 Leen Toelen - * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file. + * native/fdlibm/ieeefp.h: Added avr32 support. -2007-01-15 Kyle Galloway +2008-01-09 Stefan Huehner + + * native/jni/java-io/java_io_VMObjectStreamClass.c, + * native/jni/java-lang/java_lang_VMDouble.c, + * native/jni/java-net/java_net_VMInetAddress.c: + Don't discard const by casting (const char *) to + (char *) when it's not needed. - * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. +2008-01-09 Stefan Huehner -2007-01-15 Kyle Galloway + * gnu/classpath/jdwp/event/ExceptionEvent.java, + * gnu/java/awt/peer/gtk/GtkMainThread.java: + Use Boolean.TRUE|FALSE instead of new Boolean(true|false) + * gnu/java/rmi/server/ConnectionRunnerPool.java, + * gnu/xml/aelfred2/XmlParser.java, + * gnu/xml/libxmlj/dom/GnomeXPathResult.java, + * gnu/xml/stream/XIncludeFilter.java: + Use Integer|Double|Charater.toString(var) instead of + new Integer|Double|Character(var).toString() - * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file. +2006-01-09 Roman Kennke -2007-01-14 Andrew John Hughes + * javax/tools/Diagnostic.java, + * javax/tools/DiagnosticListener.java: + New interfaces. - * javax/management/AttributeValueExp.java: New file. - * javax/management/QueryEval.java: Likewise. - * javax/management/StringValueExp.java: Likewise. - -2007-01-14 Andrew John Hughes +2006-01-09 Roman Kennke - * javax/management/AttributeChangeNotificationFilter.java: - New file. - -2007-01-11 Andreas Tobler - - * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java - (AicasGraphicsBenchmark): Load images from ../icons. - * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init): - Likewise. - * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files - to icons. - * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons. - Delete here. - * examples/gnu/classpath/examples/awt/palme.gif: Likewise. - * examples/gnu/classpath/examples/java2d/aicas.png: Likewise. - * examples/gnu/classpath/examples/java2d/palme.gif: Likewise. - * examples/gnu/classpath/examples/icons/aicas.png: Moved. - * examples/gnu/classpath/examples/icons/palme.gif: Likewise. - -2007-01-09 Tania Bento - - * java/security/Permission.java: - (toString): If there are no actions, then there should not - be a space between its name and ')'. - -2007-01-08 Andrew John Hughes - - * javax/management/AttributeChangeNotification.java: - New file. - -2007-01-08 Cameron McCormack - - PR 30355 - * java/util/Arrays.java: - (binarySearch(byte[],byte)): Added check for zero-length array. - (binarySearch(short[],short)): Likewise. - (binarySearch(int[],int)): Likewise. - (binarySearch(long[],long)): Likewise. - (binarySearch(char[],char)): Likewise. - (binarySearch(float[],float)): Likewise. - (binarySearch(double[],double)): Likewise. - (binarySearch(Object[],Object)): Likewise. - (binarySearch(T[],T,Comparator)): Likewise. - -2007-01-08 Tom Tromey - - * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run): - Fix length check. PR classpath/30346. - -2007-01-09 Raif S. Naffah - - * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year. - (sfEntries): Use generics. - (writeDSA()): Likewise. - (startSigning()): Likewise. - (updateEntry()): Likewise. - * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year. - (CACHED_FORMATS): Use generics. - (getFormattedString()): Likewise. - * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year. - (fileAndAlias): Use generics. - (ToolParser.validate()): Likewise. - * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: - Updated copyright year. - Re-ordered imports and removed unused entries. - (entryHashes): Use generics. - (start()): Likewise. - (verifySFEntries()): Likewise. - Use map's entrySet() instead of its keySet(). - -2007-01-08 Andrew John Hughes - - * java/text/DateFormat.java: - (computeInstance(int,int,Locale,boolean,boolean)): - Throw an exception when locale info. is unavailable. - (computeDefault(int,int,boolean,boolean)): New method. - (getDateInstance(int,Locale)): Check providers. - (getDateTimeInstance(int,int,Locale)): Likewise. - (getTimeInstance(int,Locale)): Likewise. - * java/text/DateFormatSymbols.java: - Update documentation to match DecimalFormatSymbols. - * java/text/DecimalFormatSymbols.java: - (DecimalFormatSymbols(Locale)): Reordered. - (getInstance()): Implemented. - (getInstance(Locale)): Implemented. - * java/text/NumberFormat.java: - (computeInstance(Locale,String,String)): - Throw an exception when locale info is unavailable. - (getCurrencyInstance(Locale)): Check providers. - (getIntegerInstance(Locale)): Likewise. - (getNumberInstance(Locale)): Likewise. - (getPercentInstance(Locale)): Likewise. - * java/text/spi/DateFormatProvider.java: New file. - * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise. - * java/text/spi/NumberFormatProvider.java: Likewise. - -2007-01-07 Ito Kazumitsu - - Fixes bug #30377 - * native/jni/native-lib/cpnet.h: Add some include files. - -2007-01-07 Roman Kennke - - PR 30337 - * java/awt/Component.java - (getFontImpl): Return null when the component has no font set - and also has no parent yet. - * javax/swing/plaf/basic/BasicComboBoxUI.java - (PropertyChangeHandler.propertyChange): Only add editor when combo - box is editable. Avoid fetching the property name repeatedly. - Invalidate when renderer or prototypeDisplayValue change. - (uninstallComponents): Unconfigure everything and then remove all - components. - * javax/swing/plaf/basic/BasicComboPopup.java - (uninstallingUI): Don't nullify list model. - * javax/swing/plaf/metal/MetalComboBoxUI.java - (createArrowButton): Pass currentValuePane to the MetalComboBoxButton - constructor rather than a new (unconnected) CellRendererPane. - -2007-01-06 Roman Kennke - - PR 30337 - * javax/swing/plaf/basic/BasicComboBoxUI.java - (installUI): Install popup and list here. - Don't configure the arrow button and editor here. - (installComponents): Don't install popup and list here. (Moved - to installUI). Configure arrow button here and check for null. - (addEditor): Configure editor here. - (configureArrowButton): Directly fetch listeners from popup. - (paintCurrentValue): Removed unused local variables. - (layoutContainer): Removed unused local variables. - (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize - on each property change. Avoid calling getPropertyName() repeatedly. - Clean up. Call addEditor() when editor changes. Configure and - unconfigure editor when editable changes. Use 'model' instead - of non-existing 'dataModel' property. - * javax/swing/plaf/basic/BasicComboPopup.java - (uninstallingUI): Remove property change listener and item listener - here. Uninstall list listeners. Set model to null to prevent leakage. - (configureList): Don't sync list selection there. - (uninstallComboBoxListeners): Moved to uninstallingUI. - (uninstallListeners): Moved to uninstallingUI. - * javax/swing/plaf/metal/MetalComboBoxUI.java - (createPopup): Call super. - (getMinimumSize): Removed unused statement. - -2007-01-06 Andrew John Hughes - - * java/text/Collator.java: - (getInstance(Locale)): Check providers. - * java/text/spi/CollatorProvider.java: - New file. - -2007-01-04 Roman Kennke - - PR 30122 - * java/awt/Component.java - (getFont): Don't synchronize on tree lock here. The method is - thread-safe 'enough' by fetching local variables in getFontImpl(). - -2007-01-04 Roman Kennke - - * java/awt/AWTEvent.java - (toString): Don't include the whole component in the output, - only its name. - * java/awt/Component.java - (isShowing): Create local copy of parent field for better - thread safety and efficiency. - * java/awt/EventDispatchThread.java - (EventDispatchThread): Make sure the event thread is not a daemon - thread in case it gets started by a daemon thread. - * java/awt/image/IndexColorModel.java - (createColorMap): New helper method for creating the color map. - (IndexColorModel): (all constructors) use createColorMap() helper - method. - -2007-01-04 Roman Kennke - - * gnu/java/awt/font/autofit/GlyphHints.java - (alignStrongPoints): Don't special case the vertical dimension. - (computeInflectionPoints): Corrected computation of inflection - points. - * gnu/java/awt/font/autofit/Utils.java - (ANGLE_4PI): Removed. - (ANGLE_PI2): New constant for PI/2. - (ANGLE_PI4): New constant for PI/4. - (angleDiff): Fixed. - (atan): Fixed. - -2007-01-03 Cameron McCormack - - Fixes bug #29246 - * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities - isValidKey method. Throw UnsupportedOperationException on a valid - key (for which no locking state can be given). - * gnu/java/awt/AWTUtilities.java (isValidKey): New method. - * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New - method. - * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c - (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method. - * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated. - -2007-01-03 Andrew John Hughes - - * java/text/BreakIterator.java: - (getCharacterInstance(Locale)): Check providers. - (getLineInstance(Locale)): Likewise. - (getSentenceInstance(Locale)): Likewise. - (getWordInstance(Locale)): Likewise. - * java/text/spi/BreakIteratorProvider.java: - New file. - * java/text/spi/DateFormatSymbolsProvider.java: - Update header text. - * java/util/ServiceConfigurationError.java: - Add serialVersionUID. - -2007-01-03 Francis Kung + * gnu/java/awt/peer/x/XWindowPeer.java + (getFontMetrics): Re-enable that for X fonts. - * gnu/java/awt/peer/gtk/CairoGraphics2D.java: - (copy): Copy and set antialias value. +2008-01-09 Stefan Huehner -2007-01-03 Tania Bento - * java/awt/CardLayout.java: - (maximumLayoutSize): Return a new Dimension with a width of value - Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component - has no components. + * examples/gnu/classpath/examples/java2d/J2dBenchmark.java, + * gnu/CORBA/OrbFocused.java, + * gnu/CORBA/CDR/HeadlessInput.java, + * gnu/java/awt/peer/gtk/CairoGraphics2D.java, + * gnu/java/awt/peer/gtk/GtkFramePeer.java, + * gnu/java/awt/peer/qt/QtMenuPeer.java, + * gnu/java/nio/FileChannelImpl.java, + * gnu/java/nio/SocketChannelSelectionKeyImpl.java, + * gnu/java/security/Engine.java, + * gnu/javax/imageio/jpeg/JPEGComponent.java, + * gnu/javax/imageio/jpeg/JPEGDecoder.java, + * gnu/javax/imageio/jpeg/JPEGFrame.java, + * gnu/javax/print/PrinterDialog.java, + * gnu/javax/security/auth/Password.java, + * gnu/javax/swing/text/html/parser/support/Parser.java, + * gnu/javax/swing/text/html/parser/support/parameterDefaulter.java, + * gnu/xml/pipeline/DomConsumer.java, + * java/awt/AWTKeyStroke.java, + * java/awt/DefaultKeyboardFocusManager.java, + * java/awt/GridBagLayout.java, + * java/awt/dnd/DragGestureRecognizer.java, + * java/awt/geom/Arc2D.java, + * java/awt/geom/CubicCurve2D.java, + * java/awt/geom/QuadCurve2D.java, + * java/awt/im/InputContext.java, + * java/awt/image/AffineTransformOp.java, + * java/beans/Encoder.java, + * java/io/ObjectInputStream.java, + * java/io/ObjectStreamClass.java, + * java/net/ResolverCache.java, + * java/nio/charset/Charset.java, + * java/security/SecureClassLoader.java, + * java/text/MessageFormat.java, + * java/util/jar/Manifest.java, + * javax/accessibility/AccessibleRelationSet.java, + * javax/imageio/ImageReader.java, + * javax/imageio/metadata/IIOMetadataNode.java, + * javax/print/attribute/standard/MediaSize.java, + * javax/print/attribute/standard/PrinterStateReasons.java, + * javax/swing/JTree.java, + * javax/swing/table/DefaultTableColumnModel.java, + * javax/swing/text/html/MinimalHTMLWriter.java, + * javax/swing/text/html/parser/DTD.java, + * javax/swing/tree/DefaultMutableTreeNode.java, + * javax/swing/undo/UndoManager.java, + * org/omg/CosNaming/NamingContextExtPOA.java, + * org/omg/CosNaming/NamingContextPOA.java, + * org/omg/CosNaming/_NamingContextExtImplBase.java, + * org/omg/CosNaming/_NamingContextImplBase.java, + * tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java: + Remove unneeded casts + +2006-01-09 Roman Kennke + + * java/text/CollationElementIterator.java + (text): Changed type to CharacterIterator. + (CollationElementIterator(RuleBasedCollator,CharacterIterator)): New + constructor. + (setOffset(int)): Use CharacterIterator.getEndIndex() instead of + String.length(). + (setText(String)): Wrap string into a StringCharacterIterator. + * java/text/RuleBasedCollator.java + (getCollationElementIterator(CharacterIterator)): Simply return + CollationElementIterator for the character iterator, instead of + expanding things. + +2008-01-08 Andrew John Hughes + + PR classpath/34579: + * m4/acinclude.m4: + (CLASSPATH_CHECK_JAVAC): Delete Colour.java + +2008-01-04 Stefan Huehner + + * gnu/CORBA/BigDecimalHelper.java, + * gnu/CORBA/CDR/AbstractCdrInput.java, + * gnu/CORBA/CDR/AbstractCdrOutput.java, + * gnu/CORBA/CDR/HeadlessInput.java, + * gnu/CORBA/CDR/gnuRuntime.java, + * gnu/CORBA/Connected_objects.java, + * gnu/CORBA/GIOP/CancelHeader.java, + * gnu/CORBA/GIOP/v1_0/CancelHeader.java, + * gnu/CORBA/IOR.java, + * gnu/CORBA/Interceptor/Registrator.java, + * gnu/CORBA/IorDelegate.java, + * gnu/CORBA/NamingService/NameTransformer.java, + * gnu/CORBA/ObjectCreator.java, + * gnu/CORBA/OrbFunctional.java, + * gnu/CORBA/Poa/AOM.java, + * gnu/CORBA/Poa/gnuPOA.java, + * gnu/CORBA/Poa/gnuPOAManager.java, + * gnu/CORBA/Poa/gnuServantObject.java, + * gnu/CORBA/typecodes/FixedTypeCode.java, + * gnu/CORBA/typecodes/RecursiveTypeCode.java, + * gnu/java/awt/AWTUtilities.java, + * gnu/java/awt/peer/gtk/CairoGraphics2D.java, + * gnu/java/awt/peer/gtk/CairoSurface.java, + * gnu/java/awt/peer/swing/SwingMenuBarPeer.java, + * gnu/java/text/AttributedFormatBuffer.java, + * gnu/java/util/regex/REToken.java, + * gnu/javax/imageio/gif/GIFFile.java, + * gnu/javax/imageio/png/PNGDecoder.java, + * gnu/javax/management/Server.java, + * gnu/javax/naming/giop/ContextContinuation.java, + * gnu/javax/naming/jndi/url/rmi/ContextContinuation.java, + * gnu/javax/swing/text/html/css/Selector.java, + * gnu/javax/swing/text/html/parser/models/node.java, + * gnu/javax/swing/text/html/parser/support/Parser.java, + * gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java, + * gnu/javax/swing/text/html/parser/support/textPreProcessor.java, + * gnu/xml/util/Resolver.java, + * java/awt/image/AreaAveragingScaleFilter.java, + * java/beans/Beans.java, + * java/beans/XMLDecoder.java, + * java/beans/beancontext/BeanContextServicesSupport.java, + * java/beans/beancontext/BeanContextSupport.java, + * java/io/CharArrayWriter.java, + * java/lang/System.java, + * java/net/ResolverCache.java, + * java/util/Calendar.java, + * java/util/Collections.java, + * java/util/Formatter.java, + * javax/accessibility/AccessibleEditableText.java, + * javax/imageio/ImageReader.java, + * javax/imageio/ImageTypeSpecifier.java, + * javax/imageio/ImageWriter.java, + * javax/imageio/spi/ServiceRegistry.java, + * javax/imageio/stream/ImageInputStream.java, + * javax/management/MBeanPermission.java, + * javax/rmi/CORBA/PortableRemoteObjectDelegate.java, + * javax/rmi/CORBA/Util.java, + * javax/rmi/CORBA/UtilDelegate.java, + * javax/rmi/CORBA/ValueHandler.java, + * javax/rmi/PortableRemoteObject.java, + * org/ietf/jgss/GSSContext.java, + * tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java, + * tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java, + * tools/gnu/classpath/tools/appletviewer/TagParser.java, + * vm/reference/gnu/java/nio/VMChannel.java: + Correct javadoc to match the functions' parameters + * gnu/java/awt/peer/swing/SwingTextFieldPeer.java: + Rename start_pos parameter to startPos to conform to style. + +2008-01-07 Jeroen Frijters + + * java/awt/image/Raster.java + (createInterleavedRaster): Fixed ComponentSampleModel constructor + argument order. -2007-01-03 Andrew John Hughes +2008-01-03 Andrew John Hughes - * java/text/DateFormatSymbols.java: - (getZoneStrings(ResourceBundle)): Changed to... - (getZoneStrings(ResourceBundle,Locale)): Added - use of TimeZoneNamesProvider. - (getZoneStrings()): Return either mutated zone - strings or initial ones. - (getInstance(Locale)): Check DateFormatSymbolsProvider - instances. - * java/text/spi/DateFormatSymbolsProvider.java: - New file. - * java/text/spi/package.html: New file. + PR classpath/34579: + * m4/acinclude.m4: + (CLASSPATH_CHECK_JAVAC): Don't rely on 1.5 class + library. -2007-01-02 Andrew John Hughes - - * java/util/Currency.java: - (getSymbol(Locale)): Removed unneeded variable - and terminate loop early. - * java/util/Locale.java: - (getDisplayLanguage(Locale)): Fixed to use - LocaleNameProvider. - (getDisplayCountry(Locale)): Likewise. - (getDisplayVariant(Locale)): Likewise. - * java/util/spi/LocaleNameProvider.java: - New file. - * java/util/spi/TimeZoneNameProvider.java: - Likewise. - -2007-01-02 Andrew John Hughes +2008-01-01 Andrew John Hughes - * gnu/java/locale/LocaleHelper.java: - (getLocalizedString(Locale,String,String,boolean, - boolean)): Removed, no longer needed. - (getFallbackLocale(Locale)): Implemented. - * java/lang/String.java: - (isEmpty()): Implemented. - * java/util/Currency.java: - (getSymbol(Locale)): Reimplemented to use SPI. - * java/util/Locale.java: - (ROOT): Added. - * java/util/spi/CurrencyNameProvider.java: - New file. - * java/util/spi/LocaleServiceProvider.java: - Likewise. - * java/util/spi/package.html: Likewise. - -2007-01-02 Roman Kennke - - * gnu/java/awt/java2d/AbstractGraphics2D.java - (FONT): New constant field. This is the default font to use as long - as nothing else is set. - (paintContext): New field. Temporarily stores the paint context. - (scanlineConverters): New field. Stores the scanline converters - for each thread. - (shapeCache): Genericified. - (STANDARD_HINTS): New constant field. The standard rendering hints - as long as nothing else is set. - (STANDARD_STROKE): New constant field. The standard stroke as long - as nothing else is set. - (static_initializer): Initialize standard hints. - (AbstractGraphics2D): Use constant fields for hints and stroke. - (drawGlyphVector): Use simpler method to draw the outline. - (fillScanline): Use paintContext field. - (fillShape): Use new ScanlineConverter to fill shapes. - (fillShapeAntialias): Removed. This will be done in fillShape. - (fillShapeImpl): Removed. This is done now in the ScanlineConverter - class. - (getScanlineConverter): New method. Returns the scanline converter - for each thread. - (getSegments): Removed. This is now implemented in ScanlineConverter. - (getShapeCache): Use genericified shapeCache field. - (init): Use fixed default font. Don't fetch destination raster here. - * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set - of active edges for scanline conversion. - * gnu/java/awt/java2d/PolyEdge.java - (poolNext): Implements linked list for edge pool. - (scanlineNext): Implements linked list for scanline edge lists. - (slope): Use fixed point decimal. - (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal. - (PolyEdge()): New constructor. - (PolyEdge): Use fixed point decimals. - (init): Use fixed point decimals. - (intersect): New method. Intersects this edge with a scanline. - * gnu/java/awt/java2d/Scanline.java: New class. A list of edges - for a scanline plus utilities. - * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements - an efficient scanline converter for rendering Shape objects. - -2007-01-02 Roman Kennke - - * gnu/java/math/Fixed.java: New class. Fixed point arithmetics - utilities. - -2007-01-01 Andrew John Hughes - - * ChangeLog-2006: New file. - * gnu/classpath/ServiceFactory.java: - Add option of throwing a ServiceConfigurationError. - (lookupProviders(Class,ClassLoader,boolean)): Implemented. - * java/util/ServiceConfigurationError.java: New file. - * java/util/ServiceLoader.java: Likewise. - + * ChangeLog-2007: New file. Local Variables: diff --git a/libjava/classpath/ChangeLog-2007 b/libjava/classpath/ChangeLog-2007 new file mode 100644 index 0000000..821ff98 --- /dev/null +++ b/libjava/classpath/ChangeLog-2007 @@ -0,0 +1,4810 @@ +2007-12-31 Andrew John Hughes + + * javax/management/remote/rmi/RMIConnection.java: + Partial implementation. + * javax/management/remote/rmi/RMIServer.java: + Implemented. + +2007-12-31 Andrew John Hughes + + PR classpath/34582: + * javax/rmi/ssl/SslRMIClientSocketFactory.java: + (getProp(String)): Check for the property being null. + +2007-12-28 Dalibor Topic + + * configure.ac (AC_CHECK_HEADERS): Check for + netinet/in_systm.h, netinet/ip.h and net/if.h + for Windows CE. + + * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: + Guard net/if.h include statement. Use unsigned int + instead of u_int. + + * native/jni/java-nio/gnu_java_nio_VMChannel.c: + Guard sys/mman.h include statement. + + * native/jni/java-nio/gnu_java_nio_VMSelector.c: + Guard sys/select.h include statement. + + * native/jni/java-nio/javanio.c: + Guard sys/select.h include statement. + + * native/jni/java-nio/javanio.h: + Include sys/time.h. + + * native/jni/native-lib/cpio.c: + Guard chmod call by S_IWRITE, since it's not + defined in the arm-wince toolchain. + + * native/jni/native-lib/cpnet.h: + Guard netinet/in_systm.h and netinet/ip.h + include statements. + +2007-12-28 Dalibor Topic + + * m4/acinclude.m4 (CLASSPATH_WITH_GLIBJ): Use + AC_PATH_PROGS instead of AC_PATH_PROG to check + for FASTJAR as fastjar, gjar or jar. Add braces + to AC_PATH_PROGS arguments. + + * tools/Makefile.am (TOOLS_ZIP), + lib/Makefile.am (collections.jar, glibj.zip): + Quote FASTJAR in case it's in a path with + whitespace. + +2007-12-25 Andrew John Hughes + + PR classpath/34580: + * java/awt/Desktop.java: + (isDesktopSupported()): Made public. + +2007-12-25 Andrew John Hughes + + PR classpath/34577: + * javax/swing/JFrame.java: + (addImpl(Component,Object,int)): Add a similar + check for the root pane as in remove, adding using + the superclass when this occurs rather than the + content pane. + +2007-12-25 Andrew John Hughes + + PR classpath/34576: + * java/awt/Container.java: + (isAncestorOf(Component)): Swap ordering so that + the parent is retrieved prior to checking against + this, thus preventing a component being an ancestor of + itself. + +2007-12-11 Robert Schuster + + * AUTHORS: Added my name to the list. + +2007-12-10 Robert Schuster + + * THANKYOU: Added my name to the list. + +2007-12-10 Robert Schuster + + PR classpath/32516: + * tools/gnu/classpath/tools/jar/Entry.java: + (Entry(File, String)): Added loop to remove all dot-file separator + prefixes. + (Entry(File)): Call Entry(File, String) constructor variant. + +2007-12-10 Robert Schuster + + * native/jni/native-lib/cpio.c: + (cpio_df): Mark arguments as possibly unused. + +2007-12-10 Robert Schuster + + * javax/swing/text/GlyphView.java: + (paint): Removed debug output. + +2007-12-02 Andrew John Hughes + + PR classpath/34276: + * gnu/javax/management/Translator.java: + (translate(String)): Select only public methods + from a composite type, try this translation in all + cases and exit only when no fields are translated. + +2007-11-30 Andrew John Hughes + + PR classpath/34276: + * gnu/java/lang/management/BeanImpl.java: + (getDescription(MBeanConstructorInfo,MBeanParameterInfo,int)): + Added to provide a default description if the current one is null. + (getDescription(MBeanOperationInfo,MBeanParameterInfo,int)): + Likewise. + (getParameterName(MBeanConstructorInfo,MBeanParameterInfo,int)): + Likewise for the name. + (getParameterName(MBeanOperationInfo,MBeanParameterInfo,int)): + Likewise. + * gnu/javax/management/Server.java: + (getMBeanInfo()): Try using a StandardMBean wrapper if reflection + fails to find getMBeanInfo(). + +2007-11-28 Andrew John Hughes + + * examples/gnu/classpath/examples/management/TestBeans.java: + Simplify so that it uses the management server. + * examples/gnu/classpath/examples/management/TestClassLoading.java: + Test via the server and the proxy as well. + +2007-11-27 Thomas Fitzsimmons + + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, + native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c + (isWindowUnderMouse): New method. + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: + Regenerate. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (getLocationOnScreen): Move WindowPeer section to... + * gnu/java/awt/peer/gtk/GtkWindowPeer.java (getLocationOnScreen): + New method. + * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java + (isWindowUnderMouse): Implement. + * java/awt/Component.java (getMousePosition): New method. + (getMousePositionHelper): Likewise. + (mouseOverComponent): Likewise. + * java/awt/Container.java (getMousePosition): New method. + (mouseOverComponent): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: + Revert 2007-09-11 changes. + +2007-11-27 Andrew John Hughes + + * javax/management/package.html: Added. + * javax/management/remote/package.html: Likewise. + +2007-11-24 Mario Torre + + * java/util/concurrent/CopyOnWriteArrayList.java: + (addAll): fix implementation, now add elements in the correct position. + (addAllAbsent): fixed typos (whoops!). + (remove(int)): fixed range in arraycopy that was causing for incorrect + values to be inserted in the list. Refactored to give variables better + names. + (remove(Object)): refactored to give better names to variable. + (listIterator): fix to set the starting index. + (listIterator.previous): fix to decrement element position before + returning the previous element in the iterator. + +2007-11-23 Mario Torre + + * gnu/java/util/prefs/EventDispatcher.java: class removed. + * gnu/classpath/toolkit/DefaultDaemonThreadFactory.java: new file. + * java/util/prefs/AbstractPreferences.java: (fire(PreferenceChangeEvent)): + Use DefaultDaemonThreadFactory and Executors.newSingleThreadExecutor + instead of EventDispatcher. Import statement refactored accordingly. + Also refactored to use 1.5 enhanced for loop and generics. + (fire(NodeChangeEvent, boolean)): likewise. + * gnu/java/util/prefs/GConfBasedPreferences.java (childSpi): + removed startWatchingNode call. + * gnu/java/util/prefs/gconf/GConfNativePeer.java: + (GConfNativePeer): removed use of semaphore. + (gconf_all_nodes): method name shortened, renamed from + gconf_client_all_nodes (removed client_ from method signature) and + declared synchronized. + (gconf_suggest_sync): likewise. + (gconf_get_string): likewise. + (gconf_unescape_key): likewise. + (gconf_set_string): likewise. + (gconf_escape_key): likewise. + (gconf_all_keys): likewise. + (gconf_dir_exists): likewise. + (getKeys): refactored to use new native method name. + (getKey): likewise. + (setString): likewise. + (getChildrenNodes): likewise. + (unset): likewise. + (suggestSync): likewise. + (finalize): likewise. + (nodeExist): likewise. + (gconf_client_add_dir): removed, not needed anymore. + (gconf_client_remove_dir): likewise. + (startWatchingNode): likewise. + (stopWatchingNode): likewise. + * native/jni/conf-peer/GConfNativePeer.c: + All native methods renamed to match changes in GConfNativePeer.java + Now use GConfEngine instead of GConfClient. + Removed gdk_thread_enter/leave locking from all methods. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir): + removed. + (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): + likewise. + * include/gnu_java_util_prefs_gconf_GConfNativePeer.h: regenerated. + +2007-11-23 Mario Torre + + * java/util/concurrent/CopyOnWriteArrayList.java: + Added javadoc. + (serialVersionUID): new field. + (iterator): new method, override from base class. + (remove): likewise. + (listIterator): likewise. + (removeAll): likewise. + (retainAll): likewise. + (contains): fixed typo in javadoc. + (addIfAbsent): added javadoc. + (addAllAbsent): Rewrite to improve performance. Also add javadoc. + +2007-11-23 Ian Rogers + + * java/io/FileOutputStream.java, + * java/io/PrintStream.java, + * java/util/Locale.java: + Make fields that can be final, final. + * gnu/java/nio/charset/ByteCharset.java, + * gnu/java/nio/charset/Cp424.java, + * gnu/java/nio/charset/Cp437.java, + * gnu/java/nio/charset/Cp737.java, + * gnu/java/nio/charset/Cp775.java, + * gnu/java/nio/charset/Cp850.java, + * gnu/java/nio/charset/Cp852.java, + * gnu/java/nio/charset/Cp855.java, + * gnu/java/nio/charset/Cp857.java, + * gnu/java/nio/charset/Cp860.java, + * gnu/java/nio/charset/Cp861.java, + * gnu/java/nio/charset/Cp862.java, + * gnu/java/nio/charset/Cp863.java, + * gnu/java/nio/charset/Cp864.java, + * gnu/java/nio/charset/Cp865.java, + * gnu/java/nio/charset/Cp866.java, + * gnu/java/nio/charset/Cp869.java, + * gnu/java/nio/charset/Cp874.java, + * gnu/java/nio/charset/EncodingHelper.java, + * gnu/java/nio/charset/ISO_8859_13.java, + * gnu/java/nio/charset/ISO_8859_15.java, + * gnu/java/nio/charset/ISO_8859_1.java, + * gnu/java/nio/charset/ISO_8859_2.java, + * gnu/java/nio/charset/ISO_8859_3.java, + * gnu/java/nio/charset/ISO_8859_4.java, + * gnu/java/nio/charset/ISO_8859_5.java, + * gnu/java/nio/charset/ISO_8859_6.java, + * gnu/java/nio/charset/ISO_8859_7.java, + * gnu/java/nio/charset/ISO_8859_8.java, + * gnu/java/nio/charset/ISO_8859_9.java, + * gnu/java/nio/charset/KOI_8.java, + * gnu/java/nio/charset/MacCentralEurope.java, + * gnu/java/nio/charset/MacCroatian.java, + * gnu/java/nio/charset/MacCyrillic.java, + * gnu/java/nio/charset/MacDingbat.java, + * gnu/java/nio/charset/MacGreek.java, + * gnu/java/nio/charset/MacIceland.java, + * gnu/java/nio/charset/MacRomania.java, + * gnu/java/nio/charset/MacRoman.java, + * gnu/java/nio/charset/MacSymbol.java, + * gnu/java/nio/charset/MacThai.java, + * gnu/java/nio/charset/MacTurkish.java, + * gnu/java/nio/charset/MS874.java, + * gnu/java/nio/charset/Provider.java, + * gnu/java/nio/charset/US_ASCII.java, + * gnu/java/nio/charset/Windows1250.java, + * gnu/java/nio/charset/Windows1251.java, + * gnu/java/nio/charset/Windows1252.java, + * gnu/java/nio/charset/Windows1253.java, + * gnu/java/nio/charset/Windows1254.java, + * gnu/java/nio/charset/Windows1255.java, + * gnu/java/nio/charset/Windows1256.java, + * gnu/java/nio/charset/Windows1257.java, + * gnu/java/nio/charset/Windows1258.java, + * gnu/java/nio/charset/ByteDecodeLoopHelper.java, + * gnu/java/nio/charset/ByteEncodeLoopHelper.java: + Optimize for array based buffers. + * native/jni/gtk-peer/gtkpeer.c: + Make 32bit pointer a global JNI reference. + * java/lang/String: + (toLowerCaseTurkish): new method. + (toUpperCaseTurkish): new method. + (toLowerCase): special case Turkish + (toUpperCase): likewise. + * java/lang/Long: + (valueOf): remove unnecessary synchronized. + +2007-11-08 Jeroen Frijters + + * java/util/Locale.java + (Locale): Always intern strings. + +2007-11-06 Mario Torre + + * vm/reference/java/io/VMFile.java: + (getTotalSpace): new method. + (getUsableSpace): likewise. + (getFreeSpace): likewise. + * java/io/File.java: (getTotalSpace): new method. + (getUsableSpace): likewise. + (getFreeSpace): likewise. + * native/jni/java-io/java_io_VMFile.c: + (Java_java_io_VMFile_getTotalSpace): new function. + (Java_java_io_VMFile_getFreeSpace): likewise. + (Java_java_io_VMFile_getUsableSpace): likewise. + * native/jni/native-lib/cpio.h: (cpio_df): new function. + (CPFILE_DF_TYPE): enum type for cpio_df. + * native/jni/native-lib/cpio.c: (cpio_df): new function. + * include/java_io_VMFile.h: regenerated. + * configure.ac: added check for statvfs. + +2007-11-04 Andrew John Hughes + + PR classpath/33385: + * tools/com/sun/tools/javac/Main.java: + Make our wrapper 1.5 capable. + +2007-11-04 Andrew John Hughes + + * gnu/java/lang/MainThread.java: + Fix varargs warning. + * lib/Makefile.am: + Remove restriction on ecj printing varargs warnings. + +2007-11-01 Mario Torre + + PR classpath/33982: + * configure.ac: add GDK_CFLAGS for the GStreamer peer. + +2007-11-01 Andrew John Hughes + + * gnu/java/awt/java2d/ScanlineCoverage.java, + * gnu/javax/net/ssl/provider/ServerHandshake.java: + Fix non-ASCII characters in the Javadoc comments. + * gnu/java/lang/management/BeanImpl.java, + * gnu/javax/management/Server.java, + * gnu/xml/pipeline/EventFilter.java, + * java/awt/AWTKeyStroke.java, + * java/beans/DefaultPersistenceDelegate.java, + * java/beans/EventHandler.java, + * java/io/ObjectStreamClass.java, + * java/lang/Class.java, + * java/lang/reflect/Proxy.java, + * javax/management/NotificationBroadcasterSupport.java, + * javax/management/StandardMBean.java, + * javax/swing/TransferHandler.java: + Fix warnings from use of varargs methods. + +2007-10-27 Ian Rogers + + * java/beans/PropertyChangeSupport.java, + * java/beans/VetoableChangeSupport.java, + * java/io/ObjectStreamClass.java, + * java/lang/reflect/Array.java, + * java/net/DatagramSocket.java, + * java/net/ServerSocket.java, + * java/net/Socket.java, + * java/nio/charset/CoderResult.java, + * java/security/Security.java, + * java/security/spec/RSAKeyGenParameterSpec.java, + * java/text/ChoiceFormat.java, + * java/text/DecimalFormat.java, + * java/text/MessageFormat.java: + Make use of new valueOf methods. + +2007-10-27 Ian Rogers + + * java/io/OutputStreamWriter.java: + Make fields of this class that can be final, final. + +2007-10-27 Andrew John Hughes + + PR classpath/33385: + * tools/com/sun/tools/javac/Main.java: + Revert patch that adds bootclasspath. + +2007-10-22 Dalibor Topic + + * native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: + Include config-int.h for uint32_t. + +2007-10-16 Andrew John Hughes + + * NEWS: Kickoff updates for 0.97. + * configure.ac: Set version to 0.97-pre. + * doc/www.gnu.org/newsitems.txt: Add 0.96.1. + * doc/www.gnu.org/downloads/downloads.wml: Likewise. + * doc/www.gnu.org/announce/20071015.wml: Add missing URLs. + * doc/www.gnu.org/announce/20071016.wml: New file. + +2007-10-16 Mark Wielaard + + * NEWS: Mention small compile/configure/build fixes. + * configure.ac: Set version to 0.96.1 + +2007-10-16 from Alexandre Oliva + + * scripts/check_jni_methods.sh: Don't depend on diff -b ignoring + a single trailing whitespace. + +2007-10-16 Andrew John Hughes + + * m4/acinclude.m4: Add -sourcepath so that + some proprietary JDKs don't try to compile the + whole of Classpath when testing the compiler. + +2007-10-16 Andrew John Hughes + + * doc/www.gnu.org/newsitems.txt: Add 0.96. + * doc/www.gnu.org/downloads/downloads.wml: Likewise. + * doc/www.gnu.org/announce/20071015.wml: New file. + +2007-10-15 Andrew John Hughes + + * NEWS: Kickoff updates for 0.97. + * configure.ac: Set version to 0.97-pre. + +2007-10-15 Andrew John Hughes + + * NEWS: Add date of 0.96 release. + * configure.ac: Set version to 0.96. + +2007-10-15 Mario Torre + + * doc/cp-hacking.texinfo: Update GConf requirement, and added information + about the GStreamer Sound peer. + +2007-10-15 Andrew John Hughes + + * README.gstreamer: Correct a few typos. + * doc/cp-hacking.texinfo: Update to match current status + (e.g. mention cacao, use of 1.5, etc.) + +2007-10-15 Roman Kennke + + * java/awt/event/MouseEvent.java + (MouseEvent): For the no-absX/absY constructor, set the + absX/absY to 0, instead of calling into getLocationOnScreen(), + which might cause nasty deadlocks. + +2007-10-15 Mario Torre + + * javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertElement): + Added check for empty stack to avoid EmptyStackException. + +2007-10-15 Roman Kennke + + * java/awt/LightweightDispatcher.java + (dispatchEvent): Don't synchronize on the AWT lock here, + this causes a deadlock in some situations. + +2007-10-12 Andrew John Hughes + + PR classpath/33385: + * tools/com/sun/tools/javac/Main.java: + Add bootclasspath and 1.5 options so the compiler + can run. + +2007-10-12 Andrew John Hughes + + PR classpath/33622: + * lib/Makefile.am: Use JAVAC_ARGS variable. + * m4/acinclude.m4: Check javac is 1.5 compliant + and whether it supports -J. + +2007-10-12 Mario Torre + + * gnu/javax/swing/text/html/css/FontSize.java (mapPercent): + (mapPoints): prevent a NumberFormatException when a floating point is given + instead of a integer. + (mapPixels): likewise. + (mapPercent): likewise. + +2007-10-12 Mario Torre + + * gnu/javax/sound/AudioSecurityManager.java: Added Copyright header. + (Permission): added missing javadoc. + (checkPermissions): likewise. + +2007-10-12 Andrew John Hughes + + PR classpath/33622: + * lib/Makefile.am: Add -J-mX512M option to + allow javac enough memory to build Classpath. + +2007-10-12 Roman Kennke + + * NEWS: Added entry for Escher peers. + +2007-10-12 Andrew John Hughes + + * NEWS: Updated for 0.96 + +2007-10-12 Robin Garner + + PR classpath/32541: + * java/io/OutputStreamWriter.java: + Provide buffering when not converting to improve + performance. + +2007-10-12 Ian Rogers + + PR classpath/33746: + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: + Remove atexit call that makes JikesRVM deadlock. + +2007-10-12 Ian Rogers +2007-10-12 Andrew Haley + + PR classpath/33741: + * java/lang/Double.java: + (compare(double,double)): Increase performance + of this method. + * java/lang/Float.java: + (compare(float,float)): Likewise. + +2007-10-12 Andrew John Hughes + + PR classpath/33623: + * m4/acinclude.m4: + Fix typo which prevents --with-ecj being used. + +2007-10-11 Roman Kennke + + * javax/swing/plaf/basic/BasicTreeUI.java + (EDIT): Removed obsolete constant. + +2007-10-10 Andrew John Hughes + + Recommitting patch by Dalibor Topic from 2007-09-21. + * java/lang/management/ThreadInfo.java: + Removed unused private constructors. + +2007-10-09 Mario Torre + + * README.gstreamer: new file. + +2007-10-08 Andrew John Hughes + + PR classpath/33623: + * examples/Makefile.am: + Exit with no compiler. + * lib/Makefile.am: Likewise. + * m4/acinclude.m4: Handle ecj and javac + using separate variables and catch when JAVAC/ECJ is + empty. + +2007-10-07 Andrew John Hughes + + PR classpath/23854: + * java/util/zip/ZipEntry.java: + (parseExtra()): Pass time to setTime in milliseconds + rather than seconds by multiplying by 1000. + +2007-09-27 Mario Torre + + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java: + (gstreamer_get_audio_format_stream): Removed parameter from javadoc. + (gstreamer_get_audio_format_file): likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: + Added class javadoc and implementation notes. + (READ): new constant. + (WRITE): likewise. + (QUEUED): likewise. + (CAPACITY_KEY): likewise. + (lock): likewise. + (prefs): new variable. + (GstPipeline constructor): added OS independent rutines to detect + filesystem pipes size plus save and restores this information via + preferences. Now closes open pipe on user abort at VM exit. + (open_native_pipe): new native method. + (close_native_pipe): likewise. + (detect_pipe_size): likewise. + (createForWrite): update to use new native methods. + (setState): removed hack to synchronize reading and writing of the + filesystme named pipe. + (available): implemented. + (drain): new implementation, now correctly waits for data to be consumed + in the pipeline. + (prepareWrite): removed hack to synchronize reading and writing of the + filesystme named pipe. + (CleanPipeline): new inner class, used for cleaning of native pipelines + still opened at VM exit. + * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine: + (getFramePosition): method still stubbed, now output "implement me" + note when called (used for testing). + (getLongFramePosition): likewise. + (getMicrosecondPosition): likewise. + * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h: + regenerated. + * native/jni/gstreamer-peer/gst_native_data_line.c: + (setup_pipeline): Changed signature, now uses a file descriptor instead of + char with the name of the native pipeline. Also changed to use "fdsrc" + when creating the GStreamer pipeline. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine_setup_1sink_1pipeline): + now uses gst_native_pipeline_get_pipeline_fd to get the file descriptor + of the native pipeline, instead of gst_native_pipeline_get_pipeline_name. + Chaged to use "autoaudiosink" as GStreamer audio sink. + (gst_newpad): fix indentation. + * native/jni/gstreamer-peer/gst_native_pipeline.c: include new headers for + compilation. + (capacityFID): new filed for caching. + (GST_DETECTED_PIPE_CAPACITY): new field. + (enum): maps READ and WRITE in GstPipeline class. + (_GstNativePipelinePrivate.fd): new field. + (create_name): new function. + (init_pointer_IDs): likewise. + (get_free_space): likewise. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1id_1cache): + cache capacityFID. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_init_1instance): + get value for GST_DETECTED_PIPE_CAPACITY from mapped class. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_set_1state): + removed "unused" attribute from parameters, clean pipeline name on exit. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_open_1native_1pipe): + new function. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_close_1native_1pipe): + likewise. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_create_1named_1pipe): + pipe name created with a dedicated function. + (Java_gnu_javax_sound_sampled_gstreamer_lines_GstPipeline_available): new + function. + * native/jni/gstreamer-peer/gst_native_pipeline.h: + (gst_native_pipeline_clean): removed. + (gst_native_pipeline_get_pipeline_fd): new function. + * native/jni/gstreamer-peer/gst_peer.h: new defines used by the peer. + * native/jni/gstreamer-peer/gstreamer_io_peer.c: (_GST_MALLOC_SIZE_): moved + in gst_peer.h. + +2007-09-27 Dalibor Topic + + * native/fdlibm/dtoa.c: Include mprec.h after system includes. + * native/fdlibm/mprec.h [_EXFUN]: Only define _EXFUN if it is not + already defined. + +2007-09-24 Dalibor Topic + + * java/lang/management/ThreadInfo.java: Reverted patch from + 2007-09-21, as it breaks JikesRVM. + +2007-09-23 Mark Wielaard + + * doc/www.gnu.org/include/layout.wml: Fix Planet Classpath link. + * doc/www.gnu.org/faq/faq.wml: Fix typo prorietary. + +2007-09-22 Paul Jenner + + * doc/www.gnu.org/include/layout.wml: Added link to Wiki. + +2007-09-21 Dalibor Topic + + * gnu/java/rmi/server/RMIClassLoaderImpl.java, + java/beans/beancontext/BeanContextServicesSupport.java, + java/lang/management/ThreadInfo.java: + Removed unused private constructors. + +2007-09-21 Dalibor Topic + + * gnu/CORBA/CDR/AbstractCdrInput.java, + gnu/CORBA/CDR/Vio.java, + gnu/CORBA/DynAn/gnuDynUnion.java, + gnu/CORBA/GIOP/MessageHeader.java, + gnu/CORBA/IorDelegate.java, + gnu/java/security/key/dss/FIPS186.java, + gnu/javax/crypto/key/dh/RFC2631.java, + gnu/javax/swing/text/html/parser/support/Parser.java, + gnu/javax/swing/text/html/parser/support/low/ReaderTokenizer.java, + gnu/xml/aelfred2/XmlParser.java, + java/awt/im/InputContext.java: + Removed unused labels. + +2007-09-21 Roman Kennke + + * javax/swing/plaf/basic/BasicGraphicsUtils.java + (drawStringUnderlineCharAt): Fix Y location of underline. + +2007-09-21 Roman Kennke + + * java/awt/LightweightDispatcher.java + (dispatchEvent): Lock the component's tree to avoid threading + problems. + (redispatch): Only redispatch when component is showing. + +2007-09-21 Roman Kennke + + * java/awt/Font.java + (hashCode): New field. Stores a cached hash code. + (hashCode()): Re-implemented. Don't create new string here, instead + make hashcode of name, style, size and transform. Cache hashcode. + +2007-09-20 Roman Kennke + + * gnu/java/awt/font/GNUGlyphVector.java + (cleanOutline): New field, caches the untransformed outline. + (getOutline()): No need to validate here. Already done in + getOutline(float,float). + (getOutline(float,float)): Cache untransformed outlines. Protect + returned shape from modification by wrapping in ShapeWrapper + object. + * gnu/java/awt/font/OpenTypeFontPeer.java: New class. Implements + ClasspathFontPeer for OpenType fonts. + * gnu/java/awt/java2d/AbstractGraphics2D.java + (DEFAULT_TEXT_AA): New constant/property for controlling + default anti-aliasing for text. + (GC_CACHE_SIZE): New constant for the size of the glyph vector + cache. + (shapeCache): Don't make shapeCache thread local. This wouldn't + gain much, because the event dispatch thread is restarted quite + often. + (scanlineConverters): Don't make scanlineConverters thread local, + but instead pool them into a list. + (gvCache): New cache for glyph vectors. + (searchTextKey): New static field, a shared key used for GV caching. + (drawString): Cache glyph vectors. + (getFontRenderContext): Protect the current transform from beeing + changed. + (clone): Check clip for null when cloning. + (drawLine): Use shared shape cache. No need for calling a method here. + (drawRect): Likewise. Add translation to rectangle coordinates. + (fillRect): Use shared shape cache. No need for calling a method here. + (drawRoundRect): Likewise. + (fillRoundRect): Likewise. + (drawOval): Likewise. + (fillOval): Likewise. + (drawArc): Likewise. + (fillArc): Likewise. + (drawPolyline): Likewise. + (drawPolygon): Likewise. + (fillPolygon): Likewise. + (fillShape): Check property for default text AA. Set Y resolution. + (rawDrawLine): Use shared shape cache. No need for calling a method + here. + (rawDrawRect): Likewise. + (rawFillRect): Likewise. + (rawDrawString): Removed. Subclasses override drawString() instead. + (getShapeCache): Removed. No longer needed. + (getScanlineConverter): New helper method for pooling + scanline converters. + (freeScanlineConverter): New helper method for pooling + scanline converters. + * gnu/java/awt/java2d/PixelCoverage.java: New class. Used by the + reworked scanline converter. + * gnu/java/awt/java2d/ScanlineConverter.java + (Y_RESOLUTION): Removed. The Y resolution is now specified + by the caller. + (yResolution): New field. Stores the Y resolution. + (renderShape): Take y resolution as argument. + (setResolution): Take y resolution as argument. + * gnu/java/awt/java2d/ShapeWrapper.java: New class. Protects + shape objects from modification by application code. + * gnu/java/awt/java2d/TextCacheKey.java: New class. Used for + caching GlyphVectors. + * gnu/java/awt/peer/x/XFontPeer2.java: Removed. This is now + implemented in OpenTypeFontPeer now. + * gnu/java/awt/peer/x/XEventPump.java + (handleEvent): Check insets. + * gnu/java/awt/peer/x/XFontPeer.java + Changed class and method names for changed Escher API. + (clinit): Use font properties from xfonts.properties. + (canDisplay): Changed to take int argument. + * gnu/java/awt/peer/x/XFramePeer.java + (XFramePeer): Set the title of the frame on creation time. + (setTitle): Implemented. + * gnu/java/awt/peer/x/XGraphics2D.java + (imageCache): New field. Caches native representations for + images. + (drawString): New method. Optimized version for X fonts. + (fillScanline): Removed. + (fillScanlineAA): Removed. + (rawDrawImage): Optimized drawing for ZPixmap-backed images. + (rawDrawRect): Optimized rectangle drawing. + (renderScanline): Added compositing code. + (setFont): Overridden for X font support. + (setPaint): Added TODO. + * gnu/java/awt/peer/x/XGraphicsConfiguration.java + (getSize): New helper method for XToolkit. + (getResolution): New helper method for XToolkit. + * gnu/java/awt/peer/x/XGraphicsEnvironment.java + (getAvailableFontFamilyNames): Implemented. + * gnu/java/awt/peer/x/XToolkit.java + (fontCache): New field for caching fonts. + (getClasspathFontPeer): Cache fonts. + (getScreenSize): Implemented. + (getScreenResolution): Implemented. + (getFontList): Implemented. + (isModalExclusionTypeSupported): New method. + (isModalityTypeSupported): New method. + * gnu/java/awt/peer/x/XWindowPeer.java + (insets): New field for storing the insets of the frame. + (XWindowPeer): Set correct decoration. + (getGraphics): Set foreground, background and font. + (show): Determine the correct frame extents. + (reshape): Only resize when not inside callback. + (insets): Implemented correctly. + (getFontMetrics): Use OpenTypeFontPeer. + * gnu/java/awt/peer/x/ZPixmapDataBuffer.java + (getZPixmap): New method. This is used in XGraphics2D for drawing + the buffer. + * gnu/java/util/LRUCache.java: New class. Implements an LRU cache. + +2007-09-19 Dalibor Topic + + * native/jni/native-lib/Makefile.am + (AM_LDFLAGS) Use CLASSPATH_CONVENIENCE flags, as it is a convenience library. + +2007-09-19 Dalibor Topic + + * native/fdlibm/dtoa.c: Include stdlib.h to have a declaration for free. + +2007-09-18 Dalibor Topic + + * examples/gnu/classpath/examples/management/TestMemoryPool.java, + examples/gnu/classpath/examples/swing/DocumentFilterDemo.java, + examples/gnu/classpath/examples/swing/TableDemo.java, + gnu/CORBA/BigDecimalHelper.java, + gnu/CORBA/ByteArrayComparator.java, + gnu/CORBA/CollocatedOrbs.java, + gnu/CORBA/EmptyExceptionHolder.java, + gnu/CORBA/IorDelegate.java, + gnu/CORBA/OrbRestricted.java, + gnu/CORBA/ServiceRequestAdapter.java, + gnu/CORBA/gnuContextList.java, + gnu/CORBA/gnuExceptionList.java, + gnu/CORBA/gnuRequest.java, + gnu/CORBA/CDR/LittleEndianInputStream.java, + gnu/CORBA/DynAn/DivideableAny.java, + gnu/CORBA/DynAn/gnuDynArray.java, + gnu/CORBA/GIOP/CodeSetServiceContext.java, + gnu/CORBA/Interceptor/IORInterceptors.java, + gnu/CORBA/NamingService/NameParser.java, + gnu/CORBA/Poa/gnuPOAManager.java, + gnu/classpath/jdwp/event/filters/StepFilter.java, + gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java, + gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java, + gnu/java/awt/ClasspathToolkit.java, + gnu/java/awt/EmbeddedWindow.java, + gnu/java/awt/peer/KDEDesktopPeer.java, + gnu/java/awt/peer/gtk/CairoSurface.java, + gnu/java/awt/peer/swing/SwingCheckboxPeer.java, + gnu/java/awt/peer/swing/SwingTextAreaPeer.java, + gnu/java/awt/peer/swing/SwingTextFieldPeer.java, + gnu/java/awt/print/PostScriptGraphics2D.java, + gnu/java/awt/print/SpooledDocument.java, + gnu/java/io/PlatformHelper.java, + gnu/java/lang/management/BeanImpl.java, + gnu/java/locale/LocaleHelper.java, + gnu/java/net/protocol/http/Request.java, + gnu/java/nio/DatagramChannelImpl.java, + gnu/java/nio/KqueueSelectionKeyImpl.java, + gnu/java/nio/NIOSocket.java, + gnu/java/nio/ServerSocketChannelImpl.java, + gnu/java/nio/SocketChannelImpl.java, + gnu/java/rmi/server/RMIObjectInputStream.java, + gnu/java/util/regex/RE.java, + gnu/javax/imageio/bmp/DecodeBF16.java, + gnu/javax/imageio/bmp/EncodeRGB32.java, + gnu/javax/imageio/jpeg/JPEGDecoder.java, + gnu/javax/imageio/jpeg/JPEGException.java, + gnu/javax/imageio/jpeg/JPEGImageInputStream.java, + gnu/javax/imageio/png/PNGChunk.java, + gnu/javax/imageio/png/PNGEncoder.java, + gnu/javax/imageio/png/PNGFile.java, + gnu/javax/imageio/png/PNGGamma.java, + gnu/javax/net/ssl/SSLRecordHandler.java, + gnu/javax/net/ssl/StaticTrustAnchors.java, + gnu/javax/net/ssl/provider/CertificateRequestBuilder.java, + gnu/javax/net/ssl/provider/ClientHandshake.java, + gnu/javax/net/ssl/provider/ClientPSKParameters.java, + gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java, + gnu/javax/net/ssl/provider/ContentType.java, + gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java, + gnu/javax/net/ssl/provider/Handshake.java, + gnu/javax/net/ssl/provider/InputSecurityParameters.java, + gnu/javax/net/ssl/provider/OutputSecurityParameters.java, + gnu/javax/net/ssl/provider/ProtocolVersion.java, + gnu/javax/net/ssl/provider/Random.java, + gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java, + gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java, + gnu/javax/net/ssl/provider/SessionImpl.java, + gnu/javax/net/ssl/provider/Signature.java, + gnu/javax/net/ssl/provider/SimpleSessionContext.java, + gnu/javax/net/ssl/provider/TLSHMac.java, + gnu/javax/net/ssl/provider/TrustedAuthorities.java, + gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java, + gnu/javax/net/ssl/provider/X509KeyManagerFactory.java, + gnu/javax/security/auth/Password.java, + gnu/javax/sound/midi/dssi/DSSIMidiDeviceProvider.java, + gnu/javax/sound/midi/file/MidiFileWriter.java, + gnu/javax/sound/sampled/AU/AUReader.java, + gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java, + gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java, + gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java, + gnu/xml/dom/html2/DomHTMLButtonElement.java, + gnu/xml/dom/html2/DomHTMLCollection.java, + gnu/xml/dom/html2/DomHTMLParser.java, + gnu/xml/stream/EndDocumentImpl.java, + gnu/xml/stream/SAXParser.java, + gnu/xml/stream/XIncludeFilter.java, + gnu/xml/stream/XMLEventImpl.java, + gnu/xml/transform/StreamSerializer.java, + gnu/xml/transform/Stylesheet.java, + gnu/xml/validation/datatype/Base64BinaryType.java, + gnu/xml/validation/datatype/BooleanType.java, + gnu/xml/validation/datatype/DecimalType.java, + gnu/xml/validation/datatype/DoubleType.java, + gnu/xml/validation/datatype/FloatType.java, + gnu/xml/validation/datatype/HexBinaryType.java, + gnu/xml/validation/datatype/NotationType.java, + gnu/xml/validation/datatype/SimpleType.java, + gnu/xml/validation/datatype/StringType.java, + gnu/xml/validation/datatype/Type.java, + gnu/xml/validation/datatype/TypeBuilder.java, + gnu/xml/validation/relaxng/FullSyntaxBuilder.java, + gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java, + gnu/xml/validation/xmlschema/XMLSchemaBuilder.java, + gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java, + gnu/xml/xpath/XPathParser.java, + java/awt/MenuShortcut.java, + java/awt/font/LineBreakMeasurer.java, + java/awt/font/TextMeasurer.java, + java/awt/image/BufferedImage.java, + java/beans/beancontext/BeanContextServicesSupport.java, + java/security/SecureClassLoader.java, + java/security/cert/CertificateFactory.java, + javax/imageio/metadata/IIOMetadataFormatImpl.java, + javax/imageio/stream/MemoryCacheImageInputStream.java, + javax/management/ObjectName.java, + javax/management/openmbean/ArrayType.java, + javax/net/ssl/HttpsURLConnection.java, + javax/print/attribute/standard/JobStateReasons.java, + javax/swing/RepaintManager.java, + javax/swing/plaf/basic/BasicDirectoryModel.java, + javax/swing/plaf/basic/BasicFileChooserUI.java, + javax/swing/plaf/basic/BasicLabelUI.java, + javax/swing/plaf/metal/MetalScrollButton.java, + javax/swing/table/DefaultTableCellRenderer.java, + javax/swing/text/ParagraphView.java, + javax/swing/text/html/ResetableToggleButtonModel.java, + javax/swing/text/html/parser/Entity.java, + javax/swing/tree/DefaultTreeCellRenderer.java, + javax/xml/datatype/DatatypeFactory.java, + javax/xml/stream/XMLEventFactory.java, + javax/xml/stream/XMLInputFactory.java, + org/omg/IOP/TaggedComponentHelper.java, + sun/reflect/annotation/ExceptionProxy.java, + tools/gnu/classpath/tools/appletviewer/Main.java, + tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java, + tools/gnu/classpath/tools/orbd/Main.java, + tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java, + tools/gnu/classpath/tools/rmic/Main.java, + tools/gnu/classpath/tools/rmid/Main.java, + tools/gnu/classpath/tools/tnameserv/Main.java, + vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java, + vm/reference/java/lang/VMClass.java, + vm/reference/java/security/VMSecureRandom.java: + Removed unused imports. + +2007-09-18 Dalibor Topic + + * examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToPassHelper.java, + examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/StructureToReturnHelper.java, + examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/TreeNodeHelper.java, + examples/gnu/classpath/examples/CORBA/SimpleCommunication/communication/WeThrowThisExceptionHelper.java, + examples/gnu/classpath/examples/awt/AnimationApplet.java: Removed unused imports. + +2007-09-18 Dalibor Topic + + * .classpath: Reverted escher-specific changes that break + the build under Eclipse. + +2007-09-16 Mark Wielaard + + * examples/Makefile.am (JCOMPILER): Add tools.zip for ecj. + +2007-09-14 Roman Kennke + + * .classpath: Include javah in Eclipse build. + +2007-09-13 David P Grove + + PR 30275 + * native/fdlibm/fdlibm.h [_AIX]: Define _ALL_SOURCE + rather than _XOPEN_SOURCE to fix build on AIX 5. + +2007-09-12 Robert Schuster + + * native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c: + Add #ifndef guard around definition of _GNU_SOURCE. + +2007-09-12 Dalibor Topic + + * examples/Makefile.am, tools/Makefile.am + (GLIBJ_CLASSPATH): Removed unnecessary paths to avoid + using unix path separators on windows. + (JCOMPILER) Don't add '.' to classpath for javac. + Fixes the build on Cygwin. + +2007-09-11 Roman Kennke + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + Removed unused includes. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + Removed unused includes. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + Removed unusued excludes. Put Xrender includes in HAVE_XRENDER + conditional. + (flush): Use gdk_display_flush() instead of XFlush(). + (initState): Use GDK/Cairo functions to get cairo_t object. + (initFromVolatile): Likewise. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c + Removed unused includes. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c + Use HAVE_XTEST conditionals for code that uses XTest. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + Removed unused includes. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + Removed unused includes. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c + Removed unused includes. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c + Removed unused includes. Rewrote frame-extents code to use + gdk_window_get_frame_extents() rather than the X window properties + directly. + * include/gnu_java_awt_peer_gtk_ComponentGraphics.h + (initFromVolatile): Removed width and height parameters. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (initFromVolatile): Remove width and height parameters. + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + (VolatileImageGraphics): Use initFromVolatile without width and + height. + * configure.ac: Check for presence of XTest, and define HAVE_XTEST + accordingly. + +2007-09-08 Michael Koch + + * native/jni/midi-alsa/Makefile.am (AM_CFLAGS): + Removed @ERROR_CFLAGS@ to not fail build with GCC 4.2. + +2007-09-05 Andrew Haley + + * gnu/javax/crypto/jce/DiffieHellmanImpl.java (engineDoPhase): + Don't check the length of q. + +2007-08-30 Christian Thalinger + + * include/jni.h (jobjectRefType): New type. + (JNI_VERSION_1_6): Added. + (JNINativeInterface_): Added GetObjectRefType. + (_Jv_JNIEnv): Likewise. + +2007-08-28 John X + + PR classpath/33206: + * java/math/BigInteger.java (isProbablePrime): Handle case of + large 'b'. + +2007-08-24 Mark Wielaard + + * include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated. + +2007-08-23 Francis Kung + + * gnu/java/awt/peer/gtk/GtkComponentPeer.java: + (getLocationOnScreen): Check for GTK main thread. + (gtkWidgetGetLocationOnScreenUnlocked): New native method. + (gtkWindowGetLocationOnScreenUnlocked): New native method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreen): + Delegate to unlocked function. + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWindowGetLocationOnScreenUnlocked): + New function. + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreen): + Delegate to unlocked function. + (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetGetLocationOnScreenUnlocked): + New function. + +2007-08-22 Andrew John Hughes + + * java/util/EnumSet.java: + Documented. + (complementOf(EnumSet)): Fixed to flip only + the bits used by the enumset. + +2007-08-20 Andrew John Hughes + + * vm/reference/java/lang/VMClass.java: + (getCanonicalName(Class)): Fix handling of member + classes so we don't fall out of the if block. + (getSimpleName(Class)): Handle class names which include + the $ sign to break up anonymous/inner/member classes. + +2007-08-19 Mario Torre + + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: + (getAudioFileFormat (File)): method implemented. + (getAudioFileFormat (InputStream)): likewise. + (getAudioFileFormat(InputStream, String)): new method. + (getAudioInputStream): better exception handling. + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java + (getAudioFormat): added basic extension detection for known files. + * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: + (BASIC_FORMATS): removed, unused. + (GST_TYPE_NAME): new constant. + (GST_FILE_EXTENSION): likewise. + +2007-08-19 Andrew John Hughes + + * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader: + Removed. + * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider: + Likewise. + * resource/META-INF/services/.cvsignore: Updated to reflect this. + +2007-08-19 Mario Torre + + * native/jni/gstreamer-peer/gst_native_pipeline.c: + (init_pointer_IDs): fix typo that prevents compilation on 64 bit systems. + +2007-08-19 Mario Torre + + * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider: + regenerated to avoid listing by default of the + gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider class, as the + GStreamer Sound peer is not enabled unless specified at configure time. + +2007-08-18 Mario Torre + + * examples/gnu/classpath/examples/sound/AudioPlayerSample.java: new file. + * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: removed + unused import. + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise. + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java: + (gstreamer_get_audio_format_stream): changed signature tu accept a Pointer + object instead of a BufferedInputStream. + (GstHeader): + (getAudioFormat(InputStream, GstHeader)): new private method. + (getAudioFormat(public)): refactored to use the private getAudioFormat + with shared functionality. + (getAudioFormat(GstHeader header)): removed a redundant check. + (init_id_cache): new native method. + * gnu/javax/sound/sampled/gstreamer/io/GstInputStream.java: new file. + * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: + (GstDataLine.State): removed enum. + (state): removed local variable. + (isRunning): removed method. + (open): likewise. + (setFormat): new methods. + (setOpen): likewise. + (setBufferSize): likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: + (createSourcePipeline): new method. + (setup_sink_pipeline): likewise. + (init_id_cache): likewise. Added to the static initializer. + * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: + (GstPipeline.State): new enum. + (state): new local variable. + (name): likewise. + (output): likewise. + (source): likewise. + (ready): likewise. + (getState): new method. + (closePipe): likewise. + (create_named_pipe): likewise. + (set_state): likewise. + (available): likewise. + (drain): likewise. + (GstPipeline): likewise. + (close): likewise. + (prepareWrite): likewise. + (flush): likewise. + (write): likewise. + (init_instance): likewise. + (read): likewise. + (createForWrite): likewise. + (setState): likewise. + (getNativeClass): likewise. + (init_id_cache): likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: + (pipeline): new local variable. + (opne): likewise. + (isActive): method implemented. + (stop): likewise. + (open): likewise. + (flush): likewise. + (isRunning): likewise. + (start): likewise. + (write): likewise. + (available): likewise. + (drain): likewise. + (close): likewise. + * include/Makefile.am: added entry to generate new header file. + * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h: + regenerated. + * include/gnu_javax_sound_sampled_gstreamer_io_GstInputStream.h: likewise. + * include/gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h: + likewise. + * include/gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h: + likewise. + * native/jni/gstreamer-peer/gstclasspathsrc.c: removed. + * native/jni/gstreamer-peer/gstinputstream.c: likewise. + * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise. + * native/jni/gstreamer-peer/gstinputstream.h: likewise. + * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise. + * native/jni/gstreamer-peer/Makefile.am: new file added for compilation. + code reformat to keep the 80 columns constraint. + * native/jni/gstreamer-peer/gst_native_pipeline.h: new file. + * native/jni/gstreamer-peer/gst_input_stream.c: likewise. + * native/jni/gstreamer-peer/gst_input_stream.h: likewise. + * native/jni/gstreamer-peer/gst_classpath_src.c: likewise. + * native/jni/gstreamer-peer/gst_native_pipeline.c: likewise. + * native/jni/gstreamer-peer/gst_native_data_line.c: likewise. + * native/jni/gstreamer-peer/gst_classpath_src.h: likewise. + * native/jni/gstreamer-peer/gstreamer_io_peer.c: likewise. + * native/jni/gstreamer-peer/gst_peer.c: likewise. + * native/jni/gstreamer-peer/gst_peer.h: likewise. + +2007-08-16 Andrew John Hughes + + * NEWS: Update with info on VM changes. + * vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java: + (getHeapMemoryUsage()): New default implementation. + (getNonHeapMemoryUsage()): Likewise. + +2007-08-15 Tom Tromey + + * java/util/LinkedHashSet.java (LinkedHashSet): Fix typo. + +2007-08-15 Tom Tromey + + * java/lang/Class.java (internalGetFields): Use LinkedHashSet. + +2007-08-08 Mario Torre + + * java/io/PipedInputStream.java: + (buffer): variable now initialized in constructors. + (PipedInputStream(int)): new constructor, creates the buffer + storage of size int. + (PipedInputStream()): now calls PipedInputStream(int) with + default capacity. + (PipedInputStream(PipedOutputStream)): now calls PipedInputStream(). + (PipedInputStream(PipedOutputStream, int)): new constructor. + +2007-07-31 Christian Thalinger + + * tools/gnu/classpath/tools/javah/Main.java (writeHeaders): + Renamed filename to file. + * tools/gnu/classpath/tools/javah/CniIncludePrinter.java + (printClass): Likewise. + * tools/gnu/classpath/tools/javah/JniIncludePrinter.java + (printClass): Replace '$' with '_' in filename. + +2007-07-31 Dalibor Topic + + PR 32844 + * java/util/EnumSet.java: + Made class abstract per API spec. + (size, iterator, add, addAll, clear, contains, + containsAll, remove, removeAll, retainAll) Moved + into an anonymous inner class in of(T). + (allOf, noneOf, copyOf, of, range) Made more + implementation independent. + (of(T)) return an instance of an anonymous class + implementing EmptySet. + +2007-07-28 Matthias Klose + + * include/jvmti.h (jniNativeInterface): Rename type. + +2007-07-28 Chris Burdess + + PR 32539 + * gnu/xml/stream/XMLParser.java: don't call next() during hasNext(). + +2007-07-24 Tom Tromey + + PR java/32862: + * java/util/EnumMap.java (get): Special case emptySlot. + (clone): Rewrote. + +2007-07-23 Christian Thalinger + + * gnu/java/nio/charset/ISO_8859_1.java: Added ISO8859-1 to + aliases. + +2007-07-23 Christian Thalinger + + * vm/reference/sun/misc/Unsafe.java (unpark): Changed signature to + be compatible with OpenJDK. + +2007-07-13 Roman Kennke + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (clip(Shape)): Call setClip when the clip changes. + (drawImage): Add translation. + (drawLine): Add translation. + * gnu/java/awt/peer/x/PixmapVolatileImage.java + (getPixmap): New method. + * gnu/java/awt/peer/x/XEventPump.java + (XEventPump): Name thread. Start as daemon thread. + * gnu/java/awt/peer/x/XGraphics2D.java + (rawDrawImage): Special handling for PixmapVolatileImage. + (rawDrawLine): Don't add translation here. This is done in + the superclass. + (rawFillRect): Don't add translation here. This is done in + the superclass. + (renderScanline): Added null check. + +2007-07-13 Roman Kennke + + * gnu/java/awt/peer/x/PixmapVolatileImage.java: New class. + * gnu/java/awt/peer/x/XGraphicsConfiguration.java + (createCompatibleImage(int,int)): Delegate to the 3-int overload. + (createCompatibleImage(int,int,int)): Implemented. Using + the ZPixmapDataBuffer for OPAQUE images. + (createCompatibleVolatileImage(int,int)): Delegate to the 3-int + overload. + (createCompatibleVolatileImage(int,int,int)): Implemented. Using + PixmapVolatileImage. + * gnu/java/awt/peer/x/XWindowPeer.java + (createImage): Return a PixmapVolatileImage (for now). + (createVolatileImage): Implemented, using PixmapVolatileImage. + * gnu/java/awt/peer/x/ZPixmapDataBuffer.java + New class. + +2007-07-10 Roman Kennke + + PR 32645 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c + (copyPixbuf): Swap asserts. + +2007-07-09 Chris Burdess + + Fixes #32672 + * gnu/xml/dom/DomElement.java, + * gnu/xml/dom/DomNamedNodeMap.java: don't check owner in + setNamedNode when cloning. + +2007-07-08 Mario Torre + + * gnu/javax/sound/sampled/gstreamer: new package hierarchy. + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReader.java: new file. + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileReaderNativePeer.java: + likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstDataLine.java: likewise. + * gnu/javax/sound/sampled/gstreamer/GStreamerMixer.java: likewise. + * gnu/javax/sound/sampled/gstreamer/GStreamerMixerProvider.java: likewise. + * gnu/javax/sound/AudioSecurityManager.java: likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstNativeDataLine.java: likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstSourceDataLine.java: likewise. + * gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java: likewise. + * gnu/javax/sound/sampled/gstreamer/io/GstAudioFileWriter.java: likewise. + * resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader.in: + likewise. + * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider.in: + likewise. + * resource/META-INF/services/javax.sound.sampled.spi.MixerProvider: + likewise. + * native/jni/gstreamer-peer/gstclasspathsrc.c: likewise. + * native/jni/gstreamer-peer/gstclasspathsrc.h: likewise. + * native/jni/gstreamer-peer/gstinputstream.c: likewise. + * native/jni/gstreamer-peer/gstinputstream.h: likewise. + * native/jni/gstreamer-peer/GStreamerIOPeer.c: likewise. + * native/jni/gstreamer-peer/Makefile.am: likewise. + * native/jni/gstreamer-peer/.cvsignore: likewise. + * include/gnu_javax_sound_sampled_gstreamer_io_GstAudioFileReaderNativePeer.h: + likewise. + * include/Makefile.am: add gstreamer generated headers. + * configure.ac: add gstreamer sound backend configuration. + The backend is currently disabled by default. + * native/jni/Makefile.am: code to allow compilation of the gstreamer + sound backend. + * javax/sound/sampled/spi/MixerProvider.java (isMixerSupported): + indentation fixes. + * javax/sound/sampled/AudioFormat.java (toString): fix method to display + informations only when available. + * javax/sound/sampled/DataLine.java: + (Info.isFormatSupported): indentation fixes. + (Info): indentation fixes. + (Info.toString): indentation fixes. + (Info.matches): indentation fixes. + +2007-07-03 Tania Bento + + * java/lang/Integer.java: + (parseInt(String,int,boolean)): Throw NumberFormatException if + String is just "+". + +2007-07-01 Chris Burdess + + * gnu/xml/transform/WithParam.java: Handle case where content is + empty. + +2007-06-28 Tom Tromey + + * include/jni.h: Fixed local variables. + +2007-06-26 Ito Kazumitsu + + * ChangeLog: Correction of a bug fix number. + +2007-06-25 Roman Kennke + + * gnu/java/awt/peer/ClasspathFontPeer.java + (canDisplay): Take character as integer codepoint. + * gnu/java/awt/peer/gtk/GdkFontPeer.java + (canDisplay): Take character as integer codepoint. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (postMouseEvent): Use MouseEvent constructor with absolute coordinates + to avoid deadlock (over getLocationOnScreen()). + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java + (getDeviceConfiguration): Fall back to the default configuration + if the component is not set. + * gnu/java/awt/peer/qt/QtFontMetrics.java + (canDisplay): Take character as integer codepoint. + * gnu/java/awt/peer/qt/QtFontPeer.java + (canDisplay): Take character as integer codepoint. + * gnu/java/awt/peer/x/XFontPeer2.java + (canDisplay): Take character as integer codepoint. + * include/gnu_java_awt_peer_qt_QtFontMetrics.h + (canDisplay): Take character as integer codepoint. + * java/awt/Font.java + (DIALOG): New constant. + (DIALOG_INPUT): New constant. + (MONOSPACED): New constant. + (SANS_SERIF): New constant. + (SERIF): New constant. + (Font(Font)): New constructor. + (canDisplay(char)): Use new canDisplay(int) method. + (canDisplay(int)): New method. + (hasLayoutAttributes): New method. + * java/awt/event/MouseEvent.java + (absX,absY): New fields. + (MouseEvent): New constructor with absolute coordinates. + (getLocationOnScreen): New method. + (getXOnScreen): New method. + (getYOnScreen): New method. + * native/jni/qt-peer/qtfontmetrics.cpp + (canDisplay): Take character as integer codepoint. + +2007-06-25 Mark Wielaard + + * native/jni/native-lib/cpnet.c + (cpnet_aton) Moved variable declaration of inet6_addr so it is + actually in the scope of its use. + +2007-06-25 Dalibor Topic + + * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c + (THROW_NO_IPV6): New macro. + (Java_gnu_java_net_VMPlainSocketImpl_bind6) Conditionally + build code if IPv6 facilities are available, otherwise + throw an error. + (Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6, + Java_gnu_java_net_VMPlainSocketImpl_join6, + Java_gnu_java_net_VMPlainSocketImpl_leave6, + Java_gnu_java_net_VMPlainSocketImpl_joinGroup6, + Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6) + Use THROW_NO_IPV6. + + * native/jni/java-net/java_net_VMInetAddress.c + (Java_java_net_VMInetAddress_getHostByAddr, + Java_java_net_VMInetAddress_getHostByName, + Java_java_net_VMInetAddress_aton) Build IPv6 dependant + code conditionally on IPv6 facilities being available. + Switched if-else blocks where necessary to allow that. + + * native/jni/java-net/javanet.c + (_javanet_get_ip_netaddr) Build IPv6 dependant code conditionally + on IPv6 facilities being available. + + * native/jni/native-lib/cpnet.c + (cpnet_getHostByName, cpnet_getHostByAddr) Build IPv6 dependant + code conditionally on IPv6 facilities being available. + (cpnet_aton) Moved variable declaration of inet6_addr to the scope + of its use. Build IPv6 dependant code conditionally + on IPv6 facilities being available. + + * native/jni/native-lib/cpnet.h (cpnet_newIPV6Address, + cpnet_isIPV6Address, cpnet_IPV6AddressToBytes, + cpnet_bytesToIPV6Address): Make IPv6 dependant utility functions + available conditionally on IPv6 facilities being available. + +2007-06-25 Dalibor Topic + + * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAC): If the user passes an + explicit argument to configure, just use it, and don't attempt to + run AC_CHECK_PROG. This makes --with-javac="javac -J-Xmx512M" work. + +2007-06-25 Dalibor Topic + + * configure.ac: Check for MSG_WAITALL, since it does not exist on + Cygwin. + + * native/jni/java-nio/gnu_java_nio_VMChannel.c + (Java_gnu_java_nio_VMChannel_receive): Define MSG_WAITALL as 0 if + it does not exist. + +2007-06-24 Ito Kazumitsu + + Fixes bug #31927 + * native/jni/java-nio/gnu_java_nio_VMChannel.c + (Java_gnu_java_nio_VMChannel_available): Retry using fstat if ioctl + fails with ENOTTY. + +2007-06-22 Tania Bento + + * java/util/Currency.java: + (getInstance (Locale)): Check that the country of the + locale given is valid. If it is not, throw an + IllegalArgumentException. + +2007-06-22 Roman Kennke + + * gnu/java/awt/peer/GLightweightPeer.java + * gnu/java/awt/peer/gtk/GdkRobotPeer.java + * gnu/java/awt/peer/gtk/GtkCompoonentPeer.java + * gnu/java/awt/peer/gtk/GtkFramePeer.java + * gnu/java/awt/peer/gtk/GtkWindowPeer.java + * gnu/java/awt/peer/qt/QtComponentPeer.java + * gnu/java/awt/peer/qt/QtFramePeer.java + * gnu/java/awt/peer/qt/QtWindowPeer.java + * gnu/java/awt/peer/swing/SwingComponentPeer.java + * gnu/java/awt/peer/swing/SwingWindowPeer.java + * gnu/java/awt/peer/x/XFramePeer.java: + Removed @Override annotations from some interface implementation + methods to ensure 1.5 compatibility. + +2007-06-22 Christian Thalinger + + * include/jni.h (JNINativeInterface): Renamed to + JNINativeInterface_, added const to arguments where necessary. + (JNIInvokeInterface): Renamed to JNIInvokeInterface_. + +2007-06-22 Roman Kennke + + * sun/awt/CausedFocusEvent.java: New class. Needed for compatibility + in java.awt.peer. + * java/awt/Dialog.java + (ModalExclusionType): New enum. + (ModalityType): New enum. + * java/awt/Toolkit.java + (isModalExclusionTypeSupported): New abstract method. + (isModalityTypeSupported): New abstract method. + * java/awt/peer/ComponentPeer.java + (requestFocus): New method. + * java/awt/peer/FramePeer.java + (getBoundsPrivate): New method. + * java/awt/peer/RobotPeer.java + (dispose): New method. + * java/awt/peer/WindowPeer.java + (setAlwaysOnTop): New method. + (updateFocusableWindowState): New method. + (setModalBlocked): New method. + (updateMinimumSize): New method. + (updateIconImages): New method. + * gnu/java/awt/peer/GLightweightPeer.java + (requestFocus): New method. + * gnu/java/awt/peer/gtk/GdkRobotPeer.java + (dispose): New method. + * gnu/java/awt/peer/gtk/GtkComponentPeer.java + (requestFocus): New method. + * gnu/java/awt/peer/gtk/GtkFramePeer.java + (getBoundsPrivate): New method. + * gnu/java/awt/peer/gtk/GtkToolkit.java + (isModalExclusionTypeSupported): New method. + (isModalityTypeSupported): New method. + * gnu/java/awt/peer/gtk/GtkWindowPeer.java + (updateIconImages): New method. + (updateMinimumSize): New method. + (setModalBlocked): New method. + (updateFocusableWindowState): New method. + (setAlwaysOnTop): New method. + * gnu/java/awt/peer/headless/HeadlessToolkit.java + (isModalExclusionTypeSupported): New method. + (isModalityTypeSupported): New method. + * gnu/java/awt/peer/qt/QtComponentPeer.java + (requestFocus): New method. + * gnu/java/awt/peer/qt/QtFramePeer.java + (getBoundsPrivate): New method. + * gnu/java/awt/peer/qt/QtToolkit.java + (isModalExclusionTypeSupported): New method. + (isModalityTypeSupported): New method. + * gnu/java/awt/peer/qt/QtWindowPeer.java + (updateIconImages): New method. + (updateMinimumSize): New method. + (setModalBlocked): New method. + (updateFocusableWindowState): New method. + (setAlwaysOnTop): New method. + * gnu/java/awt/peer/swing/SwingComponentPeer.java + (requestFocus): New method. + * gnu/java/awt/peer/swing/SwingToolkit.java + (isModalExclusionTypeSupported): New method. + (isModalityTypeSupported): New method. + * gnu/java/awt/peer/swing/SwingWindowPeer.java + (updateIconImages): New method. + (updateMinimumSize): New method. + (setModalBlocked): New method. + (updateFocusableWindowState): New method. + (setAlwaysOnTop): New method. + * gnu/java/awt/peer/x/XFramePeer.java + (getBoundsPrivate): New method. + * gnu/java/awt/peer/x/XToolkit.java + (isModalExclusionTypeSupported): New method. + (isModalityTypeSupported): New method. + +2007-06-21 Andrew John Hughes + + * tools/Makefile.am: + Compile in com.sun.tools.javah + * tools/com/sun/tools/javah/Main.java: + Javah Sun-->Classpath wrapper. + +2007-06-21 Christian Thalinger + + * javax/swing/text/html/parser/AttributeList.java (getValues): + Check if values is null. + +2007-06-21 Roman Kennke + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c: + Fix some type signatures. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c: + Fix intendation. + +2007-06-21 Jeroen Frijters + + * java/io/ObjectStreamClass.java (getClassUID): Return 0L for + enums and proxies. + +2007-06-21 Jeroen Frijters + + * java/net/URLClassLoader.java + (URLClassLoader(URL[],ClassLoader,URLStreamHandlerFactory): + Add factory to cache before calling addURLS. + (run): Don't call initCause() on ClassNotFoundException. + +2007-06-21 Jeroen Frijters + + Fixes #32356 + * java/lang/reflect/Array.java + (newInstance(Class,int[])): Call createMultiArray correctly. + (createMultiArray): Fixed dimensions processing order. + +2007-06-21 Jeroen Frijters + + * gnu/java/net/loader/URLLoader.java + (URLLoader(URLClassLoader,URLStreamHandlerCache, + URLStreamHandlerFactory,URL,URL)): Disabiguate CodeSource constructor + invocation. + * java/awt/AWTKeyStroke.java + (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile + error when compiled against OpenJDK java.util package. + * java/awt/AlphaComposite.java + (LinkedHashMap.removeEldestEntry): Use Map.Entry to fix compile + error when compiled against OpenJDK java.util package. + +2007-06-21 Jeroen Frijters + + * gnu/java/security/Engine.java + (getInstance(String,String,Provider,Object[]): Use correctly cased + property name. + +2007-07-19 Keith Seitz + + * classpath/gnu/classpath/jdwp/value/StringValue.java + (StringValue): Tag of StringValue is STRING not OBJECT. + (write): String values are written to the wire as tag byte + and object ID, not JdwpString. + +2007-07-19 Keith Seitz + + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (executeInvokeMethod): No need to use ValueFactory any more; + MethodResult.getReturnedValue now returns a Value. + (executeNewInstance): Double-check that return result is + an ObjectValue; throw JdwpInternalErrorException if it is not. + (invokeMethod): Method IDs come from VMMethod, not VMIdManager. + Arguments are Values not Objects. + Use ValueFactory to create arguments. + Pass invocation options to VMVirtualMachine.executeMethod. + Don't do any thread suspend/resume work: VMVM.executeMethod + will take care of it. + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (executeInvokeMethod): Method IDs come from VMMethod, not + VMIdManager. + Arguments should be Values instead of Objects. + Use ValueFactory to create Values. + Remove specific option handling and pass options to + VMVirtualMachine.executeMethod. + Remove thread suspension. + Use MethodResult.getReturnedValue to get method's result. + * gnu/classpath/jdwp/util/MethodResult.java + (returnedValue): Change type to Value. + (thrownException): Change type to Throwable. + (resType): Remove. + (MethodResult): New constructor. + (setReturnedValue): Remove. + (SetThrownException): Remove. + (getResultType): Remove. + (setResultType): Remove. + * gnu/classpath/jdwp/value/ObjectValue.java (getValue): + New method. + * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java + (executeMethod): Replace "nonVirtual" parameter with more + generic "options" parameter. + Replace java.lang.reflect.Method parameter with VMMethod. + Replace Objet[] parameter with Value[] parameter. + +2007-07-10 Dalibor Topic + + * configure.ac (FOUND_CACAO): Removed. + +2007-06-01 Robin Garner + + Fixes #32162 + * gnu/xml/dom/DomNode.java: Correct concurrency problem when deep + cloning nodes. + +2007-05-30 Mark Wielaard + + Fixes bug #32030 reported by Steve.Blackburn@anu.edu.au + * native/jni/java-nio/gnu_java_nio_VMChannel.c + (Java_gnu_java_nio_VMChannel_open): Only set O_TRUNC when + CPNIO_APPEND is not, but O_WRONLY is set. + +2007-05-25 Robert Schuster + + * gnu/java/awt/peer/x/XGraphics2D.java: + (rawDrawLine): Added addition of translation. + (rawFillRect): Dito. + +2007-05-25 Robert Schuster + + * gnu/java/awt/font/opentype/OpenTypeFont.java: + (getGlyphIndex): Call getGlyphCharMap() instead of + accessing cmap field directly. + +2007-05-24 Ito Kazumitsu + + * native/jni/java-nio/gnu_java_nio_VMChannel.c + (Java_gnu_java_nio_VMChannel_available): Use fstat or select as an + alternative to ioctl. + * native/jni/native-lib/cpio.c(cpio_availableBytes): Corrected typo. + +2007-05-24 Roman Kennke + + * gnu/java/math/Fixed.java + (trunc): New method. + +2007-05-24 Roman Kennke + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (fillShape): Pass rendering hints to scanline converter. + * gnu/java/awt/java2d/ScanlineConverter.java + (ONE): New constant for the number 1 as fixed point number. + (Y_RESOLUTION): New constant for the Y resolution. + (doScanline): Handle the Y resolution. + (renderShape): Accept rendering hints. + (setResolution): Adjust maximum resolution with Y resolution. + * gnu/java/awt/java2d/ScanlineCoverage.java + (Iterator.handledPixelCoverage): New field. + (Iterator.next): Handle single pixel coverage. + (Iterator.hasNext): Handle single pixel coverage. + (Iterator.reset): Reset single pixel coverage. + (Range.toString): New method. + (Coverage.pixelCoverage): New field. + (add): Include Y (pixel) coverage. + (findOrInsert): Reset Y coverage in reused entries. + +2007-05-24 Roman Kennke + + * gnu/java/awt/java2d/ScanlineCoverage.java + (Iterator): New class. + (Range): New class. + (Coverage.covDelta): Made field package private. + (Coverage.xPos): Made field package private. + (iterator): New field. Stores the iterator that is reused. + (ScanlineCoverage): Initialize iterator. + (assertion): Removed. + (isEmpty): Refined conditions. + (iterate): Return Iterator instance. + (next): Removed. This is done by the Iterator class now. + (test): Removed. + * gnu/java/awt/java2d/ScanlineConverter.java + (main): Removed. + * gnu/java/awt/peer/x/XGraphics2D.java + (renderScanline): Adjust to new coverage iterator stuff. + * gnu/java/awt/java2d/AbstractGraphics2D.java + (renderScanline): Adjust to new coverage iterator stuff. + +2007-05-23 Jeroen Frijters + + * java/util/Arrays.java + (copyOfRange(T,int,int)): Fixed to instantiate right array type. + +2007-05-22 Robert Schuster + + * gnu/java/awt/peer/x/XEventQueue.java: + (handleEvent): Calculate modifier value for mouse presse + and release events, clip button values. + (buttonToModifier): New method. + * gnu/java/awt/peer/x/KeyboardMapping.java: + (mapModifiers): Added cases for alt gr and the meta key. + +2007-05-22 Robert Schuster + + * gnu/java/awt/peer/x/XEventQueue.java: + (handleEvent): Use Input.event_window_id for + key presses/releases. + +2007-05-22 Robert Schuster + + * gnu/java/awt/peer/x/XEventQueue.java: + (handleEvent): Use Input.event_window_id instead of + Input.child_window_id for mouse presses/releases & + movement. + +2007-05-22 Roman Kennke + + * gnu/java/awt/peer/x/XFontPeer2.java + (XFontMetrics.charWidth): Use cached Point2D instance. + * gnu/java/awt/peer/x/XGraphics2D.java + (renderScanline): New method. Renders a scanline according to + the coverage information. + (setPaint): Call super, so that the state is updated correctly. + +2007-05-19 Andreas Tobler + + PR libgcj/31659 + * m4/ax_create_stdint_h.m4: Apply patch from PR31659. + +2007-05-18 Andreas Tobler + + * autogen.sh (have_libtool): Update comments for Darwin. + +2007-05-18 Roman Kennke + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (fillScanlineAA): Removed. Replaced by renderScanline(). + (fillScanline): Dito. + (renderScanline): New method. Renders a scanline according to + the coverage information from the scanline converter. + * gnu/java/awt/java2d/Pixelizer.java: New interface. Describes + the targets of the rasterizer. + * gnu/java/awt/java2d/ScanlineConverter.java + (alphaRes): Removed. + (ONE): Removed. + (scanlineCoverage): New field. Manages the coverage information. + (scanlinesPerPixel): Removed. + (scanlineXCov): Removed. + (scanlineYCov): Removed. + (slPix0): Removed. + (ScanlineConverter): Initialize scanline coverage data structure. + (clear): Also clear the scanline coverage. + (doScanline): Work with Pixelizer objects. + Use the ScanlineCoverage datastructure. + (main): New method. Performs some tests. + (renderShape): Work with pixelizer objects rather than directly + on AbstractGraphic2D. Adjust to use ScanlineCoverage datastructure. + (setResolution): Set resolution on ScanlineCoverage data too. + * gnu/java/awt/java2d/ScanlineCoverage.java: New class. Stores + and manages scanline coverage information. + +2007-05-14 Andrew John Hughes + + * java/rmi/MarshelledObject.java, + * java/rmi/activation/Activatable.java, + * java/rmi/activation/ActivationDesc.java, + * java/rmi/activation/ActivationGroup.java, + * java/rmi/activation/ActivationGroupDesc.java, + * java/rmi/activation/ActivationInstantiator.java, + * java/rmi/activation/ActivationMonitor.java, + * java/rmi/activation/Activator.java: + Genericized. + +2007-05-13 Andrew John Hughes + + * configure.ac: + Check if nsl library is needed for inet_pton. + * tools/gappletviewer.in, + * tools/gjar.in, + * tools/gjarsigner.in, + * tools/gjavah.in, + * tools/gkeytool.in, + * tools/gnative2ascii.in, + * tools/gorbd.in, + * tools/grmic.in, + * tools/grmid.in, + * tools/grmiregistry.in, + * tools/gserialver.in, + * tools/gtnameserv.in: + Remove spaces around '=' in setting of datarootdir. + +2007-05-11 Kyle Galloway + + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (executeMethods): Remove cast to ClassReferenceTypeId. + +2007-05-11 Jeroen Frijters + + * java/lang/Float.java + (toString(float)): Call VMFloat instead of VMDouble. + (parseFloat): Call VMFloat. Fixed comment. + * vm/reference/java/lang/VMFloat.java + (toString, parseFloat): New methods. + NEWS: added note about these changes. + +2007-05-08 Kyle Galloway + + * vm/reference/VMFrame.java (): Add a parameter for the "this" + pointer of the frame. + +2007-05-08 Roman Kennke + + * gnu/java/awt/peer/x/XFontPeer.java: Removed. + * gnu/java/awt/peer/x/XGraphics.java: Removed + * gnu/java/awt/peer/x/XFontPeer2.java + (XLineMetrics.getDescent): Use cached idendity transform. + (XFontMetrics.cachedPoint): New field. Caches a Point2D instance + for reuse. + (XFontMetrics.getAscent): Use cached idendity transform. + (XFontMetrics.getDescent): Use cached idendity transform. + (XFontMetrics.getHeight): Use cached idendity transform. + (XFontMetrics.charWidth): Map character to glyph index first. + (XFontMetrics.stringWidth): Use cached idendity transform. + (IDENDITY): New static field. A reused AffineTransform instance. + +2007-05-08 Roman Kennke + + * gnu/java/awt/font/FontDelegate.java + (getGlyphIndex): New method. Maps characters to their + glyph index in the font. + M gnu/java/awt/font/opentype/OpenTypeFont.java + (getGlyphIndex): New method. Maps characters to their + glyph index in the font. + +2007-05-08 Roman Kennke + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (AA_SAMPLING): Removed. + (alpha): Removed field. + (edgeTable): Removed field. + (fillScanlineAA): Removed obsolete method. + (drawPolyline): Implemented by using a GeneralPath. + (drawPolygon): Reset the cached polygon. + (fillPolygon): Reset the cached polygon. + (fillShape): Default to antialias on for text. + (rawDrawLine): Use ShapeCache. + (rawDrawRect): Use ShapeCache. + (rawFillRect): Use ShapeCache. + (fillScanlineAA): New method for antialiased rendering. + * gnu/java/awt/java2d/ScanlineConverter.java + (scanlinesPerPixel): New field. + (minX,maxX): New fields. + (scanlineYCov,scanlineXCov): New fields. + (slPix0): New field. + (alphaRes): New field. + (renderShape): Add antialiasing functionality. + (doScanline): Add antialiasing functionality. + (setResolution): Add antialiasing functionality. + (addShape): Determine span in X direction. + (fit): Fix thinko. + * gnu/java/awt/java2d/ShapeCache.java + (polyline): New field for caching polylines. + +2007-05-08 Roman Kennke + + * examples/gnu/classpath/examples/awt/HintingDemo.java + Add support for showing the original vs the hinted glyphs plus + a grid. + +2007-05-08 Andrew John Hughes + + * lib/Makefile.am: Print property files as well. + +2007-05-08 Andrew John Hughes + + * native/jni/gtk-peer/gtkpeer.c: + Added support for 64-bit architectures. + +2007-05-04 Chris Burdess + + Fixes PR #31814 + * gnu/xml/dom/DomDocument.java, + gnu/xml/dom/ls/SAXEventSink.java: Don't default attribute when mode is + #IMPLIED and value is not specified. + * gnu/xml/stream/XMLParser.java: Add debugging info. + +2007-05-03 Keith Seitz + + * gnu/classpath/jdwp/Jdwp.java (notify): Rewrite to call + new array-based method. + (notify): New function. + (sendEvent): Rewrite to use sendEvents. + (sendEvents): New method. + * gnu/classpath/jdwp/event/Event.java (toPacket): Make static. + Change parameters to use arrays for events and requests. + Add suspendPolicy parameter. + Move per-event data transformation to... + (_toData): ... here. + * gnu/classpath/jdwp/transport/JdwpConnection.java + (sendEvent): Renamed to ... + (sendEvents): ... this. + Change parameters to use arrays for events and requests. + Add suspendPolicy parameter. + +2007-05-03 Thomas Fitzsimmons + + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=237304 + * javax/swing/text/html/HTMLEditorKit.java + (getStyleSheet): Throw RuntimeException when style loading fails. + * lib/Makefile.am: Treat css files as a property files. + * javax/swing/text/html/default.css: Move to... + * resource/javax/swing/text/html/default.css: New file. + +2007-05-03 Andrew Haley + + * gnu/javax/management/Server.java (Server): Record the delegate. + (registerMBean): Notify the delegate. + (unregisterMBean): Likewise. + (notify): New method. + +2007-04-30 Roman Kennke + + * gnu/java/awt/peer/x/XLightweightPeer.java: Removed. + * gnu/java/awt/peer/x/XEventPump.java + (handleEvent): Improved handling of event ids to window mapping. + * gnu/java/awt/peer/x/XFontPeer2.java: + Load font.properties at startup. + (XLineMetrics.glyphVector): New field. + (XLineMetrics.XLineMetrics): Get glyphVector from font delegate. + (XLineMetrics.getHeight): Implemented using glyph vector. + (XLineMetrics.getLeading): Implemented. + (XFontPeer2): Change hardwired font to something more common. + (encodeFont): New methods, encodes a font to the font.properties + format. + (validName): New method. Checks and returns a valid font name. + * gnu/java/awt/peer/x/XGraphics2D.java + (foreground): New field. + (rawSetPixel): Removed. + (rawDrawLine): Draw a segment. + (rawSetForeground): Removed. + (fillScanline): New method. + (fillScanlineAA): New method. + (setPaint): Set the foreground color. + (fillShape): Synchronize super behaviour. + (rawDrawImage): Optimize XImage. + * gnu/java/awt/peer/x/XGraphicsDevice.java + (getDisplay): Improve creation of socket. + (createLocalSocket): New helper method to create a local socket. + * gnu/java/awt/peer/x/XImage.java + (getGraphics): Return an XGraphics2D. + * gnu/java/awt/peer/x/XToolkit.java + (getClasspathFontPeer): Use XFontPeer2. + (createComponent): Removed. + * gnu/java/awt/peer/x/XWindowPeer.java + (getGraphics): Return an XGraphics2D. + (show): Clear the window. + (getFontMetrics): Use XFontPeer2. + +2007-04-30 Roman Kennke + + * gnu/java/awt/peer/swing/SwingButtonPeer.java + (SwingButton.handleFocusEvent): New method. Handles focus events. + (SwingButton.requestFocus): Overridden to avoid loop into peer + and back. + (SwingButton.requestFocus(boolean)): Overridden to avoid loop + into peer and back. + * gnu/java/awt/peer/swing/SwingCheckboxPeer.java: New class. + Implements CheckboxPeer for Swing toolkit. + * gnu/java/awt/peer/swing/SwingComponent.java + (handleFocusEvent): New method. Handles focus events. + * gnu/java/awt/peer/swing/SwingComponentPeer.java + (getMinimumSize): Delegate to minimumSize(). + (getPreferredSize): Delegate to preferredSize(). + (handleEvent): Only paint when component is showing. Coalesce + paint event in any case. Reformat. Handle focus events. + (requestFocus): Post FOCUS_GAINED event. + (handleFocusEvent): New method. Delegate to SwingComponent + object. + * gnu/java/awt/peer/swing/SwingContainerPeer.java + (addHeavyweightDescendent): Make this protected. + (removeHeavyweightDescendent): Make this protected. + (getHeavyweightDescendents): New method. Returns all registered + heavyweights. + (handleKeyEvent): Delegate to peer's handleEvent() method. + * gnu/java/awt/peer/swing/SwingLabelPeer.java + (SwingLabel.handleFocusEvent): New method. + * gnu/java/awt/peer/swing/SwingListPeer.java + (SwingList.handleFocusEvent): New method. + * gnu/java/awt/peer/swing/SwingPanelPeer.java + Fix typo and import. + * gnu/java/awt/peer/swing/SwingTextAreaPeer.java + Wrap up text area in viewport. + * gnu/java/awt/peer/swing/SwingTextFieldPeer.java + (SwingTextField.handleFocusEvent): New method. + (SwingTextField.requestFocus): New method. + (SwingTextField.requestFocus(boolean)): New method. + +2007-04-27 Keith Seitz + + * gnu/classpath/jdwp/event/EventManager.java + (getEventRequest): Rename to... + (getEventRequests): ...this. + Change return type to array of requests. + Construct a list of all matching events and return + them all. + * gnu/classpath/jdwp/Jdwp.java (notify): Use getEventRequests + and send event notifications for all matching requests. + +2007-04-27 Keith Seitz + + * gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java + (matches): Use Location.equals to determine equality. + * vm/reference/gnu/classpath/jdwp/VMMethod.java (equals): + New method. + * gnu/classpath/jdwp/util/Location.java (equals): + New method. + +2007-04-27 Roman Kennke + + * java/nio/CharViewBufferImpl.java + (slice): Fixed offset for slice buffer. + * java/nio/DoubleViewBufferImpl.java + (slice): Fixed offset for slice buffer. + * java/nio/FloatViewBufferImpl.java + (slice): Fixed offset for slice buffer. + * java/nio/IntViewBufferImpl.java + (slice): Fixed offset for slice buffer. + * java/nio/LongViewBufferImpl.java + (slice): Fixed offset for slice buffer. + * java/nio/ShortViewBufferImpl.java + (slice): Fixed offset for slice buffer. + +2007-04-25 Roman Kennke + + * gnu/java/awt/peer/gtk/GdkFontPeer.java, + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java, + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, + * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, + * gnu/java/awt/peer/gtk/GtkGenericPeer.java, + * gnu/java/awt/peer/gtk/GtkToolkit.java: + Added fields to hold the native state. Added class initialization + things to fetch the JNI field IDs. + * include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h, + * include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h, + * include/gnu_java_awt_peer_gtk_GtkGenericPeer.h, + * include/gnu_java_awt_peer_gtk_GtkToolkit.h: + Added / changed class init methods for field ID initialization. + * native/jni/classpath/Makefile.am: Removed native_state stuff. + * native/jni/classpath/native_state.c, + * native/jni/classpath/native_state.h: Removed. + * native/jni/gconf-peer/Makefile.am: Removed native_state stuff. + * native/jni/gtk-peer/Makefile.am: Removed native_state stuff. + * native/jni/gtk-peer/cairographics2d.h, + * native/jni/gtk-peer/gdkdisplay.h, + * native/jni/gtk-peer/gdkfont.h, + * native/jni/gtk-peer/GtkDragSourceContextPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c, + * native/jni/gtk-peer/gtk_jawt.c: + Removed native state stuff and replaced that with an approach + to store the native state of an object directly in that object. + * native/jni/gtk-peer/gtkpeer.c: New file. Implements the new native + state management. + * native/jni/gtk-peer/gtkpeer.h: Remove NSA stuff and added + prototypes for new native state handling. + +2007-04-23 Mark Wielaard + + * doc/www.gnu.org/newsitems.txt: Add 0.95. + * doc/www.gnu.org/downloads/downloads.wml: Likewise. + * doc/www.gnu.org/announce/20070423.wml: New file. + +2007-04-23 Mark Wielaard + + * NEWS: Add new 0.95 features. + +2007-04-23 Jeroen Frijters + + PR classpath/31646: + * java/util/Arrays.java (qsort): Corrected initial median calculation. + +2007-04-22 Dalibor Topic + + * Makefile.am (ACLOCAL_AMFLAGS): Add contents of env var + LOCAL_AUTORECONF_AMFLAGS to allow for systems where the user + has a mix of system & hacked-up autotools. + +2007-04-22 Dalibor Topic + + * autogen.sh: Removed unnecessary -I m4 flag. + +2007-04-19 Casey Marshall + + PR classpath/31626: + * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java + (createSocket): New method. + +2007-04-19 Dalibor Topic + + * tools/gappletviewer.in, + tools/gjar.in, + tools/gjarsigner.in, + tools/gjavah.in, + tools/gkeytool.in, + tools/gnative2ascii.in, + tools/gorbd.in, + tools/grmic.in, + tools/grmid.in, + tools/grmiregistry.in, + tools/gserialver.in, + tools/gtnameserv.in: Set datarootdir to fix a warning from + configure. + +2007-04-19 Dalibor Topic + + * INSTALL: Removed file generated by autogen.sh. + + * .cvsignore: Added INSTALL. + +2007-04-19 Dalibor Topic + + * INSTALL: Replaced by generic install file. + + * autogen.sh: Removed redundant and no longer necessary + sections. Use autoreconf. + +2007-04-19 Andrew John Hughes + + * m4/acinclude.m4 + (CLASSPATH_FIND_JAVAC): Allow detected JAVAC. + +2007-04-19 Dalibor Topic + + * lib/Makefile.am (propertyfiles, cssfiles, metafiles, + iconfiles) Removed variables, inlined them into resource + target to avoid use of shell construct and fix portability + warning from automake 1.10. + +2007-04-18 Tom Tromey + + * tools/gnu/classpath/tools/javah/MethodHelper.java (print): + Changed arguments. Directly print method name. + * tools/gnu/classpath/tools/javah/ClassWrapper.java + (methodNameMap): New field. + (makeVtable): Initialize it. + (printMethods): Compute name for bridge targets. + +2007-04-18 Andrew Haley + + * gnu/java/rmi/server/UnicastConnectionManager.java + (UnicastConnectionManager(int port, RMIServerSocketFactory)): + Listen on "localhost", not localhost. + +2007-04-18 Dalibor Topic + + * include/GtkDragSourceContextPeer.h: Removed, renamed to .. + + * include/gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h: + New file. + + * native/jni/gtk-peer/GtkDragSourceContextPeer.c: Include + gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h. + + * include/Makefile.am (GTKPEER_H_FILES): Renamed + GtkDragSourceContextPeer.h to + gnu_java_awt_dnd_peer_gtk_GtkDragSourceContextPeer.h + per current convention. Use portable construct to create + gtk and libxmlj peer headers. Depend on the java source code, + rather then the class files in order to avoid spurious + regeneration. + +2007-04-18 Dalibor Topic + + * include/Makefile.am: Use portable construct to create + qt peer headers. Depend on the java source code, + rather then the class files in order to avoid spurious + regeneration. + +2007-04-18 Dalibor Topic + + * include/Makefile.am: Use portable construct to create + alsa and dssi peer headers. Depend on the java source code, + rather then the class files in order to avoid spurious + regeneration. + +2007-04-18 Dalibor Topic + + * include/Makefile.am: Use portable construct to create + gconf peer header. Depend on the java source code, rather + the class file to avoid spurious regeneration. + +2007-04-18 Dalibor Topic + + * include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h: + Removed empty header file. + + * include/Makefile.am (QTPEER_H_FILES): + Removed gnu_java_awt_peer_qt_QtGraphicsEnvironment.h. + +2007-04-18 Dalibor Topic + + * native/jni/xmlj/xmlj_xpath.c: Don't include + gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h. + + * include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h: + Removed empty header file. + + * include/Makefile.am (XMLJ_H_FILES): Removed + gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h. + +2007-04-18 Dalibor Topic + + * include/gnu_java_awt_peer_qt_QtContainerPeer.h: Removed + empty header file. + + * include/Makefile.am (QTPEER_H_FILES): Removed + gnu_java_awt_peer_qt_QtContainerPeer.h. + +2007-04-17 Andrew John Hughes + + * native/jni/java-net/local.c: + Fix import of FIONREAD. + * native/jni/java-nio/gnu_java_nio_VMChannel.c, + * native/jni/native-lib/cpnet.c: + Likewise. + +2007-04-17 Dalibor Topic + + * m4/acinclude.m4 (CLASSPATH_CHECK_JAVAH): + Use AC_CHECK_PROGS and AC_MSG_ERROR. Check for + gjavah, gcjh-wrapper-4.1 and gcjh-4.1. Error out + when no javah implementation can be found. + +2007-04-17 Dalibor Topic + + * configure.ac (CLASSPATH_WITH_JAVAH): Only check if + the JNI headers need to be regenerated. + + * m4/acinclude.m4 (USER_SPECIFIED_JAVAH): Removed unused + conditional. + +2007-04-17 Dalibor Topic + + * lib/Makefile.am (JAVAH): Removed unused variable. + +2007-04-17 Casey Marshall + + PR classpath/31302: + * gnu/javax/net/ssl/provider/SSLSocketImpl.java (SSLSocketImpl): + Always make a new socket. + (bind, connect, getInetAddress, getLocalAddress, getPort, + getLocalPort, getRemoteSocketAddress, getLocalSocketAddress, + setTcpNoDelay, getTcpNoDelay, setSoLinger, getSoLinger, + setOOBInline, getOOBInline, setSoTimeout, getSoTimeout, + setSendBufferSize, getSendBufferSize, setReceiveBufferSize, + getReceiveBufferSize, setKeepAlive, getKeepAlive, setTrafficClass, + getTrafficClass, setReuseAddress, getReuseAddress, close, + shutdownInput, shutdownOutput, isConnected, isBound, isClosed, + isInputShutdown, isOutputShutdown): Always use + 'underlyingSocket'. + +2007-04-16 Dalibor Topic + + * configure.ac (AM_PROG_CC_C_O): Added to fix automake 1.10 + warning. + +2007-04-16 Dalibor Topic + + * native/plugin/Makefile.am (libgcjwebplugin_la_LDFLAGS): + Added AM_LDFLAGS for automake 1.10. + +2007-04-16 Tom Tromey + + https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236614 + * gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java + (createSocket): Change order of delegation. + +2007-04-16 Andrew Haley + + * java/io/ObjectInputStream.java: (parseContent): Call (String, + Object) version of dumpElementln. + (dumpElementln(String, Object)): New method. + * java/io/ObjectOutputStream.java (writeObject): Call (String, + Object) version of dumpElementln. + (dumpElementln(String, Object)): New method. + +2007-04-16 Mark Wielaard + + Fixes bug #31590 + * java/net/URI.java (parseServerAuthority): Allow empty portStr. + +2007-04-16 Andrew Haley + + * org/omg/IOP/TaggedComponentHelper.java (read): Use + read_octet_array(), not read(). + (write): Use write_octet_array(), not write(). + + * org/omg/PortableServer/Servant.java (_get_delegate): Throw if no + delegate has been set. + +2007-04-16 Chris Burdess + + * gnu/xml/stream/XMLParser.java: Work around a problem with incorrectly + formatted file URLs. + +2007-04-15 Dalibor Topic + + * native/jni/java-lang/Makefile.am (libjavalang_la_LIBADD): + Fix portability warnings from automake 1.10. + +2007-04-15 Dalibor Topic + + * Makefile.am (EXTRA_DIST): Add ChangeLog-2006. + +2007-04-15 Dalibor Topic + + * native/target/.cvsignore: Removed. + +2007-04-15 Dalibor Topic + + * doc/Makefile.am: Fix portability warnings from + automake 1.10. + +2007-04-15 Roman Kennke + + * native/target/Linux/.cvsignore, + * native/target/generic/.cvsignore: Removed. + +2007-04-15 Dalibor Topic + + * depcomp, install-sh, missing, mkinstalldirs, + doc/texinfo.tex: Removed files generated by autogen.sh. + + * .cvsignore: Ignore generated files depcomp, install-sh, + missing, mkinstalldirs. + + * doc/.cvsignore: Ignore generated file doc/texinfo.tex. + +2007-04-15 Dalibor Topic + + * doc/cp-hacking.texinfo: Updated with information from + INSTALL file. Removed duplicate and outdated information. + Updated compiler information. Fixed versioning information + where entries diverged. Turned command, option, file and + URL strings into proper texinfo elements. + +2007-04-15 Dalibor Topic + + * configure.ac: Added support for Iceape libraries as + a substitute for Mozilla for Debian. + +2007-04-12 Roman Kennke + + * java/nio/Buffer.java + (array): New abstract method. + (hasArray): New abstract method. + (arrayOffset): New abstract method. + (isDirect): New abstract method. + +2007-04-12 Roman Kennke + + * java/nio/CharBuffer.java + (wrap(CharSequence,int,int)): Reimplemented using specialized + subclass. + * java/nio/CharSequenceBuffer.java: New class. Implements char + buffers that wrap CharSequences. + +2007-04-12 Francis Kung + + PR 23887 + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawGlyphVector): Check for transforms before using optimized path. + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (FreetypeGlyphVector(FreetypeGlyphVector)): Initialize glyphTransforms array + to null and check for nulls in copied array. + (hasTransforms): New method. + (performDefaultLayout): Check for identity transform. + (setGlyphTransform): Check for equality before making changes. + +2007-04-12 Francis Kung + + PR 23887 + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (getGlyphLogicalBounds): Fix number of coordinates in transform call. + (performDefaultLayout): Respect transformation in font attributes. + * javax/swing/plaf/basic/BasicProgressBarUI.java + (getStringPlacement): Handle vertical orientations. + (paintString): Space vertical text properly. + +2007-04-12 Francis Kung + + PR 31539 + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (ft2_map): New static variable. + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_initStaticState): Set up ft2_map. + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Use cached ft2_map. + +2007-04-12 Christian Thalinger + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c + (clipboard_get_func): Call DeleteLocalRef. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c + (clipboard_targets_received): Likewise. + (clipboard_uris_received): Likewise. + +2007-04-12 Christian Thalinger + + * LICENSE: Added m4/ax_func_which_gethostbyname_r.m4 license. + * configure.ac: Added AX_FUNC_WHICH_GETHOSTBYNAME_R check. + * m4/ax_func_which_gethostbyname_r.m4: New file. + * native/jni/native-lib/cpnet.c (cpnet_getHostByName): Check for + different number of arguments of gethostbyname_r. + +2007-04-12 Mark Wielaard + + * gnu/java/awt/peer/ClasspathFontPeer.java (LRUCache): New static + inner class. + (transCache): New static LRUChache field. + (copyTransformToAttrs): Check whether a TransformAttribute already + exists in the transCache for the given AffineTransform. + +2007-04-12 Mark Wielaard + + * configure.ac (COMPILE_GTK_PEER): Add check for cairo >= 1.1.8. + +2007-04-11 Christian Thalinger + + * native/jni/java-nio/javanio.c: Include fcntl.h instead of + sys/fcntl.h. + +2007-04-11 Christian Thalinger + + * native/jni/native-lib/cpproc.c (cpproc_forkAndExec): Fixed + warning on some compilers, e.g. MIPSpro. + +2007-04-11 Francis Kung + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Avoid unneeded + object reference. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics): Unlock font. + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Remove redundant checks. + +2007-04-11 Christian Thalinger + + * configure.ac: Added AC_C_INLINE. + +2007-04-10 Mark Wielaard + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initFromVolatile): + Destroy surface after it is used to create a cairo context. + +2007-04-09 Andrew John Hughes + + * javax/management/ObjectName.java: + (parse(String)): Catch multiple wildcards, + initialise with an empty string (so null isn't + appended), and emit comma even when wildcard + ends the list. + (checkComponents()): Catch newlines. + (quote(String)): Handle newlines and quotes + correctly. + +2007-04-09 Francis Kung + + PR 31311 + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (dispose): Removed method. + (disposeSurface): Removed method. + * gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface): Removed. + (Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Destroy surface + after it is used to create a cairo context. + +2007-04-07 Andrew John Hughes + + * javax/management/ObjectName.java: + (propertyValuePattern): New cache variable. + (parse(String)): Record in propertyListPattern + not propertyPattern and set propertyValuePattern. + (isPropertyPattern()): Semantics altered to be the + OR of isPropertyListPattern() and isPropertyValuePattern(). + (isPropertyListPattern()): Implemented. + (isPropertyValuePattern()): Implemented. + (isPropertyValuePattern(String)): Implemented. + +2007-04-07 Andrew John Hughes + + * javax/management/ObjectName.java: + (parse(String)): Fix result of getKeyPropertyListString(). + +2007-04-07 Mark Wielaard + + * resource/META-INF/services/javax.xml.parsers.DocumentBuilderFactor, + resource/META-INF/services/javax.xml.parsers.SAXParserFactory, + resource/META-INF/services/javax.xml.parsers.TransformerFactory, + resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory, + resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList, + resource/META-INF/services/org.xml.sax.driver: Removed. + +2007-04-07 Andrew John Hughes + + * javax/management/ObjectName.java: + (checkComponents()): Separate value and + key illegal characters to allow value wildcards. + +2007-04-07 Andrew John Hughes + + * javax/management/ObjectName.java + (parse(String)): Fix parsing where the wildcard + is juxtaposed between other pairs. + +2007-04-06 Mark Wielaard + + * configure.ac (VERSION): Set to 0.96-pre. + +2007-04-06 Andrew John Hughes + + * javax/management/MBeanAttributeInfo.java: + (serialVersionUID): Added. + * javax/management/MBeanFeatureInfo.java: + (writeObject(ObjectOutputStream)): Added for + later 1.6 support. + * javax/management/Notification.java: + (serialVersionUID): Added. + (Notification(String,Object,long,long)): Make + default message the empty string not null. + (Notification(String,Object,long,long,String)): + Set source explicitly. + (writeObject(ObjectOutputStream)): Added to match + Sun. + +2007-04-06 Andrew John Hughes + + * java/util/Hashtable.java: + (putAllInternal(Map)): Remove redundant semi-colon. + +2007-04-06 Mark Wielaard + + * lib/mkcollections.pl.in: Add externalclasses. + * java/util/Collections.java: Unroll enhanced for loops. + * java/util/HashMap.java: Likewise. + * java/util/Hashtable.java: Likewise. + * java/util/TreeMap.java: Likewise. + +2007-04-06 Andrew John Hughes + + * gnu/javax/management/Translator.java: + (getTypeName(type)): Move type name creation to its own method. + * javax/management/ObjectName.java: + (WILDCARD): Added. + +2007-04-04 Andrew Haley + + * javax/management/ObjectName.java: + (serialVersionUID): Declare. + Make all fields transient. + (parse): Break out from constructor. + (writeObject, readObject): New methods. + +2007-04-05 Francis Kung + + * include/Makefile.am: Remove old entry. + +2007-04-05 Francis Kung + + * gnu/java/awt/peer/gtk/GtkToolkit.java + (createDragGestureRecognizer): Remove failing subClass call. + +2007-04-05 Gary Benson + + * java/util/GregorianCalendar.java + (computeFields): Fix WEEK_OF_MONTH calculation. + +2007-04-05 Christian Thalinger + + PR classpath/22800: + * native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits) + (doubleToRawLongBits, longBitsToDouble): Swap the byte + ordering for little-endian arms without VFP. + +2007-04-05 Christian Thalinger + + * native/jni/java-net/java_net_VMNetworkInterface.c + [HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added + #ifdef. + (getVMInterfaces): Added UNUSED argument attribute. + +2007-04-05 Christian Thalinger + + * native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c, + native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c + [HAVE_ICONV] (createRawData, getData, infid, outfid): Added + #ifdef. + (openIconv): Added UNUSED argument attribute, so we can build with + -Werror. + (decode): Likewise. + (closeIconv): Likewise. + +2007-04-05 Mark Wielaard + + * autogen.sh: Recognize automake 1.10. + * configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability. + * native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS. + * native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise. + * native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS): Likewise. + * native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS): Likewise. + * native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS): Likewise. + * native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise. + +2007-04-04 Mark Wielaard + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c + (cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL. + * gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and + call deliver() after pixels have been set. + * gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only + set icon when image has been properly loaded. + +2007-04-04 Francis Kung + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawCairoSurface): Made protected. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (cairoDrawGlyphVector): Removed method. + (cairoSetFont): Removed method. + (disposeNative): Removed method. + (drawCairoSurface): New method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added + locking. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking. + +2007-04-04 Gary Benson + + * java/util/GregorianCalendar.java + (GregorianCalendar(TimeZone, Locale)): Remove redundant complete(). + +2007-04-04 Roman Kennke + + * java/nio/channels/spi/SelectorProvider.java + (inheritedChannel): Make method concrete and move default impl + to here. Perform security checks as mandated by the spec. + * gnu/java/nio/SelectorProviderImpl.java + (inheritedChannel): Removed. Default impl is in SelectorProvider. + +2007-04-04 Roman Kennke + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (init_glib_threads): Create global reference on lock object. + +2007-04-04 Roman Kennke + + * java/awt/Frame.java + (weakFrames): Make private. + (weakFramesQueue): New field. A reference queue to collect + GCed references. + (getFrames): Only do one iterations to avoid collecting null + references. + (hasDisplayableFrames): New helper method. Checks if there + are any displayable frames. This is used by the event queue + shutdown check. + (noteFrame): Clean up GCed frames in the list. + * java/awt/EventQueue.java + (isShutdown): Move frame checking code into Frame. + +2007-04-03 Roman Kennke + + * java/lang/System.java + (inheritedChannel): New method, wraps + SelectorProvider.inheritedChannel(). + * java/nio/channels/spi/SelectorProvider.java + (inheritedChannel): New abstract method. + * gnu/java/nio/SelectorProviderImpl.java + (inheritedChannel): New method, return null as default. + +2007-04-03 Roman Kennke + + * java/nio/ByteOrder.java + (nativeByteOrder): Let this fail when the corresponding + property is not set properly. + +2007-04-03 Roman Kennke + + * javax/swing/plaf/basic/BasicTreeUI.java + (getPathBounds): Consider the tree's insets. Added a bunch of + null checks. + +2007-04-03 Roman Kennke + + * javax/swing/plaf/basic/BasicLabelUI.java + (cachedInsets): New field. Used for reusing the insets instance. + (getFontMetrics): New helper method for fetching a suitable + FontMetrics object. + (getPreferredSize): Use new helper method for font metrics. + (paint): Only do something if we have an icon or text. + Use cached Insets instance and new font metrics helper. + (paintDisabledText): Don't restore the graphics' color. + (paintEnabledText): Don't restore the graphics' color. + +2007-04-03 Roman Kennke + + * javax/swing/plaf/metal/MetalButtonUI.java + (paintButtonPressed): Fill the whole button not only visibleRect. + * javax/swing/plaf/metal/MetalLookAndFeel.java + (LAF_defaults): Removed. + (getDefaults): Always fetch super's defaults. + * javax/swing/plaf/metal/MetalMenuBarUI.java + (update): Don't leave 2 pixel gap. + +2007-04-03 Roman Kennke + + * native/target/.cvsignore, + * native/target/Linux/.cvsignore, + * native/target/generic/.cvsignore: Some new ignores. + +2007-04-03 Roman Kennke + + * gnu/java/awt/peer/gtk/GThreadMutex.java, + * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java, + * include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h, + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c, + * native/jni/gtk-peer/gthread-jni.c, + * native/jni/gtk-peer/gthread-jni.h: Removed. + * native/jni/gtk-peer/Makefile.am: Removed obsolete entries + for removed files. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + Removed unused bits from gthread-jni.c. + +2007-04-03 Francis Kung + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (getGlyphs(int[], int[], long[])): Return void. + +2007-04-03 Kyle Galloway + + * gnu/classpath/jdwp/value/ArrayValue.java: New file. + +2007-04-03 Roman Kennke + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (global_lock): New global variable that holds the object reference + to the global GTK lock. + (init_glib_threads): Add lock argument. Use + gdk_threads_set_lock_functions to replace GTK's locking function + with two callbacks that allow reentrant locking, based on + JNI's MonitorEnter() and MonitorExit(). + (jni_lock_cb): New callback function for GTK locking. + (jni_unlock_cb): New callback function for GTK unlocking. + (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument. + Call init_glib_threads() with lock object. + * include/gnu_java_awt_peer_gtk_GtkToolkit.h + Regenerated. + * gnu/java/awt/peer/gtk/GtkToolkit.java + (GTK_LOCK): New static field. This is used as the global lock for + GTK. + (gtkInit): Add lock parameter. + (static_init): Initialize global lock and call gtkInit() with + that lock. + +2007-04-02 Francis Kung + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (fontSet): Initialize to null. + (FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet + array with default font if needed. + (FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields. + (getNativeFontPointer): New native method. + * include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer): + New function. + +2007-04-02 Francis Kung + + * INSTALL: Document known bug in at-spi, atk, and gail packages prior to + version 1.18.0. + +2007-04-02 Francis Kung + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (cairoDrawGlyphVector): Added parameter. + (drawGlyphVector): Retrieve and pass fontset parameter. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (cairoDrawGlyphVector): Added parameter. + (lock): Removed unnecessary cast. + (unlock): Removed unnecessary cast and explicitly set to ONE variable. + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (fontSet): New field. + (dispose): New native method. + (finalize): New method. + (getGlyphFonts): New method. + (getGlyphOutline): Pass fontSet parameter to native method. + (getGlyphOutlineNative): Added parameter. + (getGlyphs): Pass extra parameters to native method. + (getGlyphsNative): Added parameters. + (getKerning): Added fontSet parameter. + (getMetricsNative): Added fontSet parameter. + (performDefaultLayout): Only check kerning if glyphs use the same font. + (setupGlyphMetrics): Pass extra parameters to native methods. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h, + * include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated. + * native/jni/gtk-peer/gdkfont.h: Enable pango engine. + (peerfont): Add variable for fontset. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept + array of font pointers to use when drawing glyphs. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c + (getFontSet): New function. + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function. + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative): + Added and use new fontSet parameter. + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango + to retrieve glyphs and estimate font, if the current font does not contain + a requested glyph. + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use + new fontSet parameter. + (Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added + and use new fontSet parameter. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset. + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset. + +2007-04-02 Andrew Haley + + * javax/management/ObjectName.java: Handle 0-length names. + * javax/management/MBeanServerFactory.java: Use the domain that + we've been passed, not the fixed string "DefaultDomain". + +2007-04-01 Mark Wielaard + + * org/omg/CORBA/DynAny.java: Mark as deprecated. + * org/omg/CORBA/DynArray.java: Likewise. + * org/omg/CORBA/DynEnum.java: Likewise. + * org/omg/CORBA/DynFixed.java: Likewise. + * org/omg/CORBA/DynSequence.java: Likewise. + * org/omg/CORBA/DynStruct.java: Likewise. + * org/omg/CORBA/DynUnion.java: Likewise. + * org/omg/CORBA/DynValue.java: Likewise. + * org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise. + (create_dyn_any): Likewise. + (create_dyn_array): likewise. + (create_dyn_enum): Likewise. + (create_dyn_sequence): Likewise. + (create_dyn_struct): Likewise. + (create_dyn_union): Likewise. + +2007-04-01 Andrew John Hughes + + * gnu/javax/management/Translator.java: + (fromJava(Object[],Method)): Use the array from the + parameter not the newly created one... + (fromJava(Object, Type)): Support MXBeans. + * javax/management/JMX.java: + (newMXBeanProxy(MBeanServerConnection,ObjectName,Class)): + Call newMXBeanProxy rather than newMBeanProxy. + * javax/management/StandardMBean.java: + (setAttribute(Attribute)): Use InvocationTargetException + as cause. + +2007-03-31 Jeroen Frijters + + PR classpath/31402: + * java/util/concurrent/CopyOnWriteArrayList.java + (remove): Fixed ArrayIndexOutOfBoundsException when index == 0. + +2007-03-30 Andrew John Hughes + + * javax/management/openmbean/CompositeDataInvocationHandler.java: + New file. + +2007-03-30 Kyle Galloway + + * gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints. + (write): Replace writeLong with writeInt for above. + +2007-03-30 Tom Tromey + + PR libgcj/29869: + * gnu/java/util/jar/JarUtils.java (log): Commented out. + (readSFManifest): Don't log. + +2007-03-29 Tom Tromey + + PR libgcj/29869: + * java/util/logging/LogManager.java (readConfiguration): Handle + comma-separated 'handlers'. Don't try to add a non-existing + handler. + +2007-03-29 Keith Seitz + + * gnu/classpath/jdwp/event/ThreadStartEvent.java (Event): + Event type is "THREAD_START" not "THERAD_END". + + * gnu/classpath/jdwp/transport/SocketTransport.java (ITransport): + Handle configure strings ":port" and "port". + +2007-03-29 Francis Kung + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch. + +2007-03-29 Mark Wielaard + + * native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative. + +2007-03-28 Andrew John Hughes + + * javax/management/StandardMBean.java: + (setAttribute(Attribute)): Add handling of primitive + types and subtype parameters. + (getMutator(String,Class)): New helper method to + return the mutator. + +2007-03-28 Roman Kennke + + * java/io/OutputStreamWriter.java, + * java/io/InputStreamReader.java: Revert big stream patch due to + problems. + +2007-03-28 Tom Tromey + + PR classpath/31303: + * external/sax/org/xml/sax/helpers/XMLReaderFactory.java + (createXMLReader): Code in Classpath default. + +2007-03-28 Tom Tromey + + PR classpath/31276: + * native/jni/java-lang/java_lang_VMDouble.c + (parseDoubleFromChars): Use %p, not %i. + +2007-03-28 Mark Wielaard + + * native/jni/java-nio/Makefile.am (LIBADD): Don't add + libclasspathnative. + * native/jni/java-nio/gnu_java_nio_VMChannel.c + (Java_gnu_java_nio_VMChannel_open): Don't set and reset umask. + +2007-03-27 Francis Kung + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of + accessibility modules as temporary workaround for Gnome bug. + +2007-03-27 Kyle Galloway + + * gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java + (executeResume): Change to call VMVirtualMachine.resumeThread. + +2007-03-27 Roman Kennke + + * java/io/InputStreamReader.java + (BUFFER_SIZE): New constant. + (bytesCache): Removed. + (cacheLock): Removed. + (hasSavedSurrogate): Removed. + (lastArray): New field. Used for caching CharBuffers. + (lastBuffer): New field. Used for caching CharBuffers. + (maxBytesPerChar): Removed. + (oneChar): New field. Caches a char array for read(). + (savedSurrogate): New field. + (InputStreamReader): (all constructors) Cleaned up. + Use initDecoderAndBuffer() method. Check for null parameters. + Use new EncodingHelper.getDefaultCharset() for fetching the + default charset. + (decode): New helper method. Decodes using the NIO decoder or + using a raw Latin1 decoding. + (getCharBuffer): New helper method. Implements caching of + CharBuffers for output arrays. + (initDecoderAndBuffer): New helper method. Initializes the decoder + and input buffer. + (read): Use cached array. + (read(char[],int,int)): Reworked using a cleaner NIO based + implementation. This decodes the incoming data in bigger chunks + rather then calling the decoder for each character. + (ready): Also check the input buffer. + (refillInputBuffer): New helper methods. Refills the input buffer + when it runs out of data. + * java/io/OutputStreamWriter.java + (lastArray): Implements caching of the output array buffer. + (lastBuffer): Implements caching of the output array buffer. + (oneChar): New field. Caches a char array for write(). + (outputBuffer): Make this a ByteBuffer. + (OutputStreamWriter): (all constructors) Cleaned up. + Use initEncoderAndBuffer() method. Check for null parameters. + Use new EncodingHelper.getDefaultCharset() for fetching the + default charset. + (encode): New helper method. Encodes the input buffer to the output + buffer using either the NIO encoder or a raw Latin1 encoding. + (encodeChars): New helper method. The encoding loop. + (flush): Directly use the array of the output buffer. + (getCharBuffer): New helper method. Implements caching of the + output buffer. + (initEncoderAndBuffer): New helper method for initialization. + (write(char[],int,int)): Reworked to make better use of the NIO + encoders. + (write): Use cached array. + (write(String,int,int)): Don't copy the string but rather wrap it + and handle it the same as the wrapped char array. + (writeConvert): Removed. + * gnu/java/nio/charset/EncodingHelper.java + (getDefaultCharset): New method. Returns the default charset for + the case when the file.encoding charset is not valid. This + always returns an UTF8 codec. + +2007-03-27 Roman Kennke + + * java/awt/Frame.java + (weakFrames): Make this generic and package private. + (noteFrame): Use generic WeakReference. + * java/awt/EventQueue.java + (isShutdown): Iterate over the weakFrames directly, rather than + using Frame.getFrames(). The latter iterates several times over + weakFrames completely and creates a new array on each call. The + former iterates only once and aborts when it finds a frame which + is displayable. + +2007-03-27 Roman Kennke + + * javax/swing/JScrollBar.java + (getUnitIncrement(int)): Don't multiply direction parameter. + (getBlockIncrement(int)): Don't multiply direction parameter. + +2007-03-26 Tom Tromey + + * doc/cp-tools.texinfo (gcjh Tool): Added more text. + (rmid Tool): Likewise. + +2007-03-26 Stepan Kasal + + * tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New + field. + (getParser): Use new field. + +2007-03-25 Dalibor Topic + + * doc/cp-tools.texinfo: Fix node ordering. + +2007-03-19 Matthias Klose + + * doc/Makefile.am: Build a gcjh(1) man page. + * doc/cp-tools.texinfo: Add documentation for gcjh. + +2007-03-23 Jeroen Frijters + + * java/net/ServerSocket.java (implAccept): set implCreated flag on + socket. + * java/net/Socket.java (implCreated): Make package accessible for + ServerSocket. + +2007-03-22 Casey Marshall + + * gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun): + check keyEncipherment bit of the certificate, and just pass the public + key to the cipher. + +2007-03-20 Mario Torre + + * configure.ac: GConf requirement for building the java.util.prefs backend + are relaxed down to version 2.6.0 (instead of 2.11.2). + +2007-03-19 Mario Torre + + * gnu/java/awt/peer/KDEDesktopPeer.java: + (mail): Fixed error dialog in KDE when the mail method is called without + argument; now opens the default mailer with a blank window. + (getCommand): Handle the use of kprinter as default print command for KDE. + (supportCommand): Enable the print command when a KDE desktop is detected. + +2007-03-19 Jeroen Frijters + + * java/net/Socket.java + (implCreated): New field. + (getImpl): Call impl.create() if it hasn't been called yet. + (bind): Removed explicit impl.create() call. + +2007-03-18 Mark Wielaard + + * javax/crypto/CipherOutputStream.java (write): Use out.write() + not super.write(). + +2007-03-18 Mark Wielaard + + * configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8 + gthread-2.0 >= 2.2 and gdk-pixbuf-2.0 + +2007-03-16 Tom Tromey + + * tools/gnu/classpath/tools/javah/Main.java (run): Use class' + name in File case. + +2007-03-16 Thomas Fitzsimmons + + * resource/com/sun/tools/javac/messages.properties + (Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify + messages for when --with-ecj-jar is not specified. + + * configure.ac (FOUND_ECJ_JAR): Remove conditional. + * tools/Makefile.am: Build com.sun.tools.javac package + unconditionally. + +2007-03-16 Mark Wielaard + + * configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found. + Also check for gtk+ dependency. + +2007-03-16 Tom Tromey + + * tools/gnu/classpath/tools/javah/JniStubPrinter.java + (printClass): Added filename argument. + * tools/gnu/classpath/tools/javah/JniIncludePrinter.java + (printClass): Added filename argument. + * tools/gnu/classpath/tools/javah/CniIncludePrinter.java + (printClass): Use user's file name. + * tools/gnu/classpath/tools/javah/CniStubPrinter.java + (printClass): Use user's file name. + * tools/gnu/classpath/tools/javah/Printer.java (printClass): Added + filename argument. + * tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v' + argument order. + (writeHeaders): Use a HashMap. + (run): Put class name into HashMap for writeHeaders. + +2007-03-16 Francis Kung + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (cairoArc): Make protected rather than private so it can be over-ridden. + (cairoClip): Likewise. + (cairoClosePath): Likewise. + (cairoCurveTo): Likewise. + (cairoDrawGlyphVector): Likewise. + (cairoFill): Likewise. + (cairoLineTo): Likewise. + (cairoMoveTo): Likewise. + (cairoNewPath): Likewise. + (cairoRectangle): Likewise. + (cairoResetClip): Likewise. + (cairoRestore): Likewise. + (cairoSave): Likewise. + (cairoScale): Likewise. + (cairoSetAntialias): Likewise. + (cairoSetDash): Likewise. + (cairoSetFillRule): Likewise. + (cairoSetFont): Likewise. + (cairoSetLine): Likewise. + (cairoSetMatrix): Likewise. + (cairoSetOperator): Likewise. + (cairoSetRGBAColor): Likewise. + (cairoStroke): Likewise. + (drawPixels): Likewise. + (init): Likewise. + (setGradient): Likewise. + (setPaintPixels): Likewise. + (cairoDrawLine): Removed. + (cairoDrawRect): Removed. + (cairoFillRect): Removed. + (cairoPreserveClip): Removed. + (cairoRelCurveTo): Removed. + (cairoRelLineTo): Removed. + (cairoRelMoveTo): Removed. + * gnu/java/awt/peer/gtk/ComponentGraphics.java + (cairoArc): New method wrapping superclass method in locks. + (cairoClip): Likewise. + (cairoClosePath): Likewise. + (cairoCurveTo): Likewise. + (cairoDrawGlyphVector): Likewise. + (cairoFill): Likewise. + (cairoLineTo): Likewise. + (cairoMoveTo): Likewise. + (cairoNewPath): Likewise. + (cairoRectangle): Likewise. + (cairoResetClip): Likewise. + (cairoRestore): Likewise. + (cairoSave): Likewise. + (cairoScale): Likewise. + (cairoSetAntialias): Likewise. + (cairoSetDash): Likewise. + (cairoSetFillRule): Likewise. + (cairoSetFont): Likewise. + (cairoSetLine): Likewise. + (cairoSetMatrix): Likewise. + (cairoSetOperator): Likewise. + (cairoSetRGBAColor): Likewise. + (cairoStroke): Likewise. + (disposeNative): Likewise. + (drawPixels): Likewise. + (init): Likewise. + (setGradient): Likewise. + (setPaintPixels): Likewise. + (draw): Do not lock, as locking is now done in the wrapped native methods. + (drawComposite): Likewise. + (drawGlyphVector): Likewise. + (drawImage): Likewise. + (drawRenderedImage): Likewise. + (fill): Likewise. + (setClip): Removed. + (lock): Added documentation. + (unlock): Added documentation. + * include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated. + * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed. + (Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed. + +2007-03-11 Andrew John Hughes + + * javax/management/openmbean/ArrayType.java: + (getArrayClassName(String, int)): Replaced by... + (getArrayClassName(OpenType, int, boolean)): + Returns appropriate class name for the array. + (getDimensions(OpenType, int)): New method. + (getPrimitiveType(Class)): Likewise. + (getPrimitiveTypeClass(OpenType)): Likewise. + (getElementType(OpenType)): Likewise. + (getElementTypeName(OpenType)): Likewise. + (ArrayType(int, OpenType)): Rewritten + to handle ArrayTypes as input. + (ArrayType(SimpleType, boolean)): New constructor. + (equals(Object)): Handle primitiveArray flag. + (hashCode()): Likewise. + (getArrayType(OpenType)): New method. + (getPrimitiveArrayType(Class)): Likewise. + (isPrimitiveArray()): Likewise. + (toString()): Updated to list primitiveArray + flag. + * javax/management/openmbean/OpenType.java: + (OpenType(String,String,String)): Use Class.forName() + and methods of Class to validate arrays. + * javax/management/openmbean/SimpleType.java: + Include causal exception when creating pre-defined types + throws an exception. + +2007-03-09 Andreas Tobler + + Port change from gcc: + + 2007-03-06 Matthias Klose + + * doc/Makefile.am(gkeytool.pod): Don't use sed -i. + +2007-03-09 Kyle Galloway + + * gnu/classpath/jdwp/exception/InvalidTagException.java: New file. + * gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java + (executeGetValues): Use Value type. + (exectureSetValues): Ditto. + * gnu/classpath/jdwp/processor/ClassTypeCommandSet.java + (executeGetValues): Use Value type. + (executeSetValues): Ditto. + (invokeMethod): Record method return type. + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (executeGetValues): Use Value type. + (executeSetValues): Ditto. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (executeGetValues): Use Value type. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (executeGetValues): Use Value type. + (executeSetValues): Ditto. + * gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return + type. + (getResultType): New Method. + (setResultType): Ditto. + * gnu/classpath/jdwp/util/Value.java: Remove. + * gnu/classpath/jdwp/value: New Package. + * gnu/classpath/jdwp/value/Value.java: New file. + * gnu/classpath/jdwp/value/BooleanValue.java: New file. + * gnu/classpath/jdwp/value/ByteValue.java: New file. + * gnu/classpath/jdwp/value/CharValue.java: New file. + * gnu/classpath/jdwp/value/DoubleValue.java: New file. + * gnu/classpath/jdwp/value/FloatValue.java: New file. + * gnu/classpath/jdwp/value/IntValue.java: New file. + * gnu/classpath/jdwp/value/LongValue.java: New file. + * gnu/classpath/jdwp/value/ObjectValue.java: New file. + * gnu/classpath/jdwp/value/ShortValue.java: New file. + * gnu/classpath/jdwp/value/StringValue.java: New file. + * gnu/classpath/jdwp/value/ValueFactory.java: New file. + * gnu/classpath/jdwp/value/VoidValue.java: New file. + +2007-03-09 Roman Kennke + + * java/awt/image/SinglePixelPackageSampleModel.java + (createDataBuffer): Avoid use of Buffers class and create + DataBuffer directly in place. + +2007-03-09 Roman Kennke + + * java/awt/image/ComponentSampleModel.java + (tightPixelPacking): Removed. + (ComponentSampleModel): Removed unnecessary 'optimization' code. + (createDataBuffer): Avoid use of Buffers helper class. + (getDataElements(int,int,int,int,Object,DataBuffer): Removed. + (getDataElements(int,int,Object,DataBuffer): Do not use Buffers + helper class and instead fetch the values directly. Don't expect + any specific DataBuffer subclass. + (setDataElements(int,int,int,int,Object,DataBuffer): Removed. + (setDataElements(int,int,Object,DataBuffer): Do not use Buffers + helper class and instead set the values directly. Don't expect + any specific DataBuffer subclass. + +2007-03-08 Tom Tromey + + PR libgcj/31093: + * java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0. + +2007-03-08 Gary Benson + + PR classpath/30983: + * gnu/xml/dom/ls/DomLSParser.java (getInputSource): + Do not use the entity resolver to resolve the top-level document. + +2007-03-07 Tom Tromey + + PR classpath/31057: + * java/util/regex/Pattern.java (toString): New method. + +2007-03-07 Gary Benson + + PR classpath/30906: + * resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList: + New file. + +2007-03-06 Andrew John Hughes + + * gnu/java/lang/management/BeanImpl.java: + (translate(String)): Add horrible generics hacks + to make things work with the new type signatures. + * javax/management/loading/ClassLoaderRepository.java: + Added generic types. + * javax/management/openmbean/CompositeDataSupport.java: + Likewise. + * javax/management/openmbean/OpenMBeanOperationInfo.java: + Likewise. + * javax/management/openmbean/OpenMBeanParameterInfo.java: + Likewise. + +2007-03-06 Francis Kung + + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java + (getGlyphOutline): Apply glyph position translation. + (getOutline): Do not apply glyph position translation. + +2007-03-06 Tom Tromey + + * tools/gnu/classpath/tools/javah/Main.java (getName): New + method. + (getParser): Now protected. Use getName. Add '-v' alias for + --verbose. + (postParse): New method. + (run): Now protected. Use postParse. + * tools/gnu/classpath/tools/javah/GcjhMain.java: New file. + +2007-03-05 Andrew John Hughes + + * gnu/javax/management/Translator.java: + (translate(String)): Use a Boolean array to + comply with the new typing. + * javax/management/openmbean/ArrayType.java: + Added generic types and updated copyright headers. + * javax/management/openmbean/CompositeData.java: + Likewise. + * javax/management/openmbean/CompositeDataSupport.java: + Likewise. + * javax/management/openmbean/CompositeType.java: + Likewise. + * javax/management/openmbean/OpenMBeanAttributeInfoSupport.java: + Likewise. + * javax/management/openmbean/OpenMBeanOperationInfoSupport.java: + Likewise. + * javax/management/openmbean/OpenMBeanParameterInfoSupport.java: + Likewise. + * javax/management/openmbean/OpenType.java: + Updated copyright header. + * javax/management/openmbean/SimpleType.java: + Added generic types and updated copyright headers. + * javax/management/openmbean/TabularData.java: + Likewise. + * javax/management/openmbean/TabularDataSupport.java: + Likewise. + * javax/management/openmbean/TabularType.java: + Likewise. + +2007-03-05 Andrew John Hughes + + * gnu/java/lang/management/BeanImpl.java: + Reference the new Translator class. + (translate(String)): Moved to Translator. + * gnu/javax/management/Translator.java: + New file. + * javax/management/JMX.java: + Likewise. + * javax/management/MBeanServerInvocationHandler.java: + Likewise. + * javax/management/MXBean.java: + Likewise. + * javax/management/ObjectName.java: + (ObjectName(String)): Catch a key without a value. + * javax/management/StandardMBean.java: + (StandardMBean(Class)): Handle MXBeans. + (StandardMBean(Object, Class)): Likewise. + (invoke(String,Object[],String[])): Disallow + calling attribute methods and handle null signatures. + (setAttribute(Attribute)): Search for mutators + with the appropriate signature. + * javax/management/openmbean/OpenType.java: + Add generic typing. + (ALLOWED_CLASSNAMES_LIST): New field. + +2007-03-02 Mario Torre + + PR classpath/31017: + committed for Petteri Räty + * configure.ac: fix broken build for gcj browser plugin + +2007-03-02 Mario Torre + + * java/awt/Desktop.java: new java 1.6 class. + * java/awt/peer/DesktopPeer.java: new inteface. + * gnu/java/awt/peer/GnomeDesktopPeer.java: new class. + * gnu/java/awt/peer/ClasspathDesktopPeer.java: new class. + * gnu/java/awt/peer/KDEDesktopPeer.java: new class. + * java/awt/Toolkit.java (createDesktopPeer): new method to support the + creation of DesktopPeer instances. + * gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and + organize import. + * gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method. + +2007-02-28 Keith Seitz + + * gnu/classpath/jdwp/processor/EventRequestCommandSet.java + (executeSet): Check if VM has capability for field access + or modification events. + * gnu/classpath/jdwp/processor/MethodCommandSet.java + (executeByteCodes): Check if VM has capability and + implement. + * gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java + (executeMonitorInfo): Likewise. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (executeSourceDebugExtension): Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (executePopFrames): Likewise. + * gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java + (executeOwnedMonitors): Likewise. + (executeCurrentContendedMonitor): Likewise. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeCapabilities): Rewrite using new VMVirtualMachine + capabilities. + (executeRedefineClasses): Check if VM has capability and + implement. + (executeSetDefaultStratum): Likewise. + * gnu/classpath/jdwp/util/MonitorInfo.java; New file. + * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java + (canWatchFieldModification): New class constant. + (canWatchFieldAccess): Likewise. + (canGetBytecodes): Likewise. + (canGetSyntheticAttribute): Likewise. + (canGetOwnedMonitorInfo): Likewise. + (canGetCurrentContendedMonitor): Likewise. + (canGetMonitorInfo): Likewise. + (canRedefineClasses): Likewise. + (canAddMethod): Likewise. + (canUnrestrictedlyRedefineClasses): Likewise. + (canPopFrames): Likewise. + (canUseInstanceFilters): Likewise. + (canGetSourceDebugExtension): Likewise. + (canRequestVMDeathEvent): Likewise. + (canSetDefaultStratum): Likewise. + (redefineClasses): New method. + (setDefaultStratum): Likewise. + (getSourceDebugExtension): Likewise. + (getBytecodes): Likewise. + (getMonitorInfo): Likewise. + (getOwnedMonitors): Likewise. + (getCurrentContendedMonitor): Likewise. + (popFrames): Likewise. + +2007-03-01 Roman Kennke + + * java/awt/Canvas.java + (graphicsConfiguration): Removed duplicate (from Component) field. + (Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig + field. + (getGraphicsConfigurationImpl): Removed. + * java/awt/Component.java + (getGraphicsConfiguration): Moved implementation here. Synchronize + on tree lock to prevent threading nastiness. Don't query peer + and instead return the setting of the graphicsConfig field. + (getGraphicsConfigurationImpl): Removed. + * java/awt/Window.java + (graphicsConfiguration): Removed duplicate (from Component) field. + (Window): Set the Component's graphicsConfig field. + (Window(GraphicsConfiguration)): Set the Component's graphicsConfig + field. + (Window(Window,GraphicsConfiguration)): Set the Component's + graphicsConfig field. + (getGraphicsConfigurationImpl): Removed. + (getGraphicsConfiguration): Fetch the local graphics env here + if not already done and return that. + +2007-02-28 Thomas Fitzsimmons + + * INSTALL: Document --with-ecj-jar configure option and ecj jar + requirement for com.sun.tools.javac support. + * configure.ac: Add --with-ecj-jar configure option. + * gnu/classpath/Configuration.java.in (ECJ_JAR): New field. + * tools/Makefile.am: Build decendents of com and sun directories. + * resource/com/sun/tools/javac/messages.properties, + resource/sun/rmi/rmic/messages.properties, + tools/com/sun/javadoc/ClassDoc.java, + tools/com/sun/javadoc/ConstructorDoc.java, + tools/com/sun/javadoc/Doc.java, + tools/com/sun/javadoc/DocErrorReporter.java, + tools/com/sun/javadoc/Doclet.java, + tools/com/sun/javadoc/ExecutableMemberDoc.java, + tools/com/sun/javadoc/FieldDoc.java, + tools/com/sun/javadoc/MemberDoc.java, + tools/com/sun/javadoc/MethodDoc.java, + tools/com/sun/javadoc/PackageDoc.java, + tools/com/sun/javadoc/ParamTag.java, + tools/com/sun/javadoc/Parameter.java, + tools/com/sun/javadoc/ProgramElementDoc.java, + tools/com/sun/javadoc/RootDoc.java, + tools/com/sun/javadoc/SeeTag.java, + tools/com/sun/javadoc/SerialFieldTag.java, + tools/com/sun/javadoc/SourcePosition.java, + tools/com/sun/javadoc/Tag.java, + tools/com/sun/javadoc/ThrowsTag.java, + tools/com/sun/javadoc/Type.java, + tools/com/sun/javadoc/TypeVariable.java, + tools/com/sun/tools/doclets/Taglet.java, + tools/com/sun/tools/javac/Main.java, + tools/com/sun/tools/javac/Messages.java, + tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java: + New files. + +2007-02-28 Keith Seitz + + * gnu/classpath/jdwp/processor/MethodCommandSet.java + (executeLineTable): Use ReferenceTypeId instead of + ClassReferenceTypeId. + (executeVariableTable): Likewise. + (executeVariableTableWithGeneric): Fix error message. + * gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java + (executeSignatureWithGeneric): Fix error message. + (executeFieldWithGeneric): Likewise. + (executeMethodsWithGeneric): Likewise. + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (executeGetValues): Use ThreadId instead of ObjectId. + (executeSetValues): Likewise. + (executeThisObject): Likewise. + +2007-02-28 Kyle Galloway + + * gnu/classpath/jdwp/id/NullObjectId.java: New class. + * gnu/classpath/jdwp/util/NullObject.java: New class. + * vm/reference/gnu/classpath/jdwp/VMIdManager.java + (getObjectId): Handle null object. + (get): Handle objectId of 0. + +2007-02-26 Francis Kung + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c + (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated + function for creating new font map. + +2007-02-26 Francis Kung + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawCairoSurface): Do not reset clip. + (drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise. + +2007-02-23 Francis Kung + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawCairoSurface): New method. + (drawImage(Image,AffineTransform,Color,ImageObserver)): Use new + drawCairoSurface() method. + * gnu/java/awt/peer/gtk/CairoSurface.java + (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct + width/height values, and copy sharedBuffer value. + (createWritableChild): Remove debug line. + (drawSurface): Removed method. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + (drawComposite): Translate image when drawing. + +2007-02-23 Gary Benson + Jakub Jelinek + + PR libgcj/17002 + PR classpath/28550 + * java/util/Date.java (parse): Properly parse 09:01:02 as + hours/minutes/seconds, not as hours/minutes/year. + * java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify + {start,end}TimeMode constructor by calling shorter constructor, + set {start,end}TimeMode fields after it returns. + (setStartRule): Don't adjust startTime into WALL_TIME. Set + startTimeMode to WALL_TIME. + (endStartRule): Similarly. + (getOffset): Handle properly millis + dstOffset overflowing into the + next day. Adjust startTime resp. endTime based on startTimeMode + resp. endTimeMode. + * java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New + static fields. + (timezones): Remove synchronized keyword. Set zoneinfo_dir. + If non-null, set up aliases0 and don't put anything into + timezones0. + (defaultZone): Call getTimeZone instead of timezones().get. + (getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use + getTimeZoneInternal instead of timezones().get. + (parseTime): Parse correctly hour:minute. + (getTimeZoneInternal): New private method. + (getTimeZone): Do the custom ID checking first, canonicalize + ID for custom IDs as required by documentation. Call + getTimeZoneInternal to handle the rest. + (getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null. + (getAvailableIDs(File,String,ArrayList)): New private method. + (getAvailableIDs()): Add locking. Handle zoneinfo_dir != null. + * vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId): + To read /etc/localtime, use ZoneInfo.readTZFile instead of + VMTimeZone.readtzFile. Get better timezone name for + /etc/localtime, either if it is a symlink or through + /etc/sysconfig/clock. + (readSysconfigClockFile): New static method. + (readtzFile): Removed. + * gnu/java/util/ZoneInfo.java: New file. + * java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments. + * NEWS: Documented TimeZone interface changes. + +2007-02-23 Francis Kung + + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line. + +2007-02-22 Keith Seitz + + * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java + (getAllLoadedClassesCount): Remove. + (getAllLoadedClasses): Return a Collection. + * gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java + (executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses + now returns Collection. + (executeAllClasses): Likewise. + Get size of return from Colleciton instead of calling + getAllLoadedClassesCount. + +2007-02-22 Kyle Galloway + + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (executeGetValues): Pass a signature byte to VMFrame.getValue. + * vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add + signature parameter. + +2007-02-22 Francis Kung + + * gnu/java/awt/peer/gtk/CairoSurface.java + (copyAreaNative): Pass surface pointer into copyAreaNative2(). + (copyAreaNative2): Add parameter for surface pointer. + (getFlippedBuffer): Add parameter for surface pointer. + (getGtkImage): Pass surface pointer into getFlippedBuffer(). + +2007-02-21 Francis Kung + + * gnu/java/awt/peer/gtk/BufferedImageGraphcs.java + (constructor): Add pre-multiplied colour model to types available for + optimization. + (updateBufferedImage): Change surface.getPixels() call to surface.getData(). + * gnu/java/awt/peer/gtk/CairoGraphics2D.java + (drawImage): Add checks before using CairoSurface optimization. + * gnu/java/awt/peer/gtk/CairoSurface.java + (bufferPointer): Removed field. + (sharedBuffer): New field. + (CairoSurface(GtkImage)): Copy array rather than using setPixels() call. + (CairoSurface(int,int,int)): Use getData() convenience method. + (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference + to deleted bufferPointer field. + (copyAreaNative): Update documentation, remove reference to bufferPointer. + (copyAreaNative2): Remove reference to deleted bufferPointer field. + (destroy): Remove reference to deleted bufferPointer field. + (dispose): Updated to reflect new method signature for destroy(). + (drawSurface): Added documentation. + (getData): New convience method. + (getFlippedBuffer): Removed method parameters. + (getGtkImage): Updated to reflect new method signature. + (getPixels): Removed method. + (nativeGetElem): Removed method. + (netiveGetPixels): Removed method. + (nativeSetElem): Removed method. + (nativeSetPixels): Removed method. + (setPixels): Removed method. + (syncJavaToNative): New method. + (syncNativeToJava): New method. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + (draw): Sync buffers if necessary. + (drawGlyphVector): Likewise. + (drawImage): Likewise. + (drawRenderedImage): Likewise, + (fill): Likewise. + * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to + surface rather than pointer to buffer. + (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for + copied arrays. + (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays. + (Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve + information on size using JNI calls. + (Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed. + (Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed. + (Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed. + (Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed. + (Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function. + (Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function. + (BUFFER): Removed constant. + (SHARED): New constant. + +2007-02-20 Gary Benson + + * javax/management/ObjectName.java + (domainMatches): New method. + (apply): Rearranged to use the above. + +2007-02-19 Mark Wielaard + + * doc/.cvsignore: Add *.1. + * doc/Makefile.am (CLEANFILES): Add Tools_MANFILES. + +2007-02-19 Dalibor Topic + + * cp-hacking.texinfo, cp-tools.texinfo, + cp-vmintegration.texinfo: Prefix output file name + with cp. + +2007-02-19 Gary Benson + + * javax/management/ObjectName.java + (properties): Initialize when declared. + (ObjectName(String)): Don't initialize properties here. + (ObjectName(String, String, String): Likewise. + +2007-02-19 Chris Burdess + + Fixes #30831 + * gnu/xml/dom/ls/SAXEventSink.java: Only set extended document + properties when reader is available. + +2007-02-19 Andrew John Hughes + + * javax/management/MBeanServer.java: + (queryMBeans(ObjectName,QueryExp)): Returned + generically-typed Set. + (queryNames(ObjectName,QueryExp)): Likewise. + * javax/management/MBeanServerConnection.java: + (queryMBeans(ObjectName,QueryExp)): Returned + generically-typed Set. + (queryNames(ObjectName,QueryExp)): Likewise. + * javax/management/ObjectName.java: + Use a generically-typed TreeMap. + (ObjectName(String,Hashtable): + Genericized. + (getKeyPropertyList()): Likewise. + * javax/management/StandardMBean.java: + Use a generically-typed interface class. + (StandardMBean(Class)): Genericized. + (StandardMBean(T, Class)): Likewise. + (getImplementationClass()): Likewise. + (getMBeanInterface()): Likewise. + +2007-02-19 Andrew John Hughes + + * javax/management/Descriptor.java: + New file. + * javax/management/DescriptorRead.java: + Likewise. + * javax/management/DescriptorAccess.java: + Likewise. + +2007-02-16 Matthias Klose + + * doc/Makefile.am: Add rules to build and install man pages + from texinfo docs. + * doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo: + Rename, prefix files with "cp-". + * doc/cp-tools.texinfo: Add markup for man page generation, + add documentation for command line options for gjar, gjavah, + gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv. + doc/texi2pod.pl: New, taken from the GCC sources. + +2007-02-16 Francis Kung + + * gnu/java/awt/ClasspathGraphicsEnvironment.java: New file. + * gnu/java/awt/peer/gtk/CairoSurface.java + (CairoDataBuffer): Removed inner class. + (CairoSurface(int,int,int,int)): New constructor. + (CairoSurface(int,int)): Delegate to new constructor. + (CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor + for creating child rasters. + (create): Added int[] parameter. + (createChild): New method. + (createCompatibleWritableRaster): New methods. + (createTranslatedChild): New method. + (createWritableChild): New method. + (createWritableTranslatedChild): New method. + (destroy): Added int[] parameter. + (dispose): Only free native resources if this Surface has no parents. + (isCompatibleColorModel): New method. + (isCompatibleSampleModel): New method. + * gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java + (draw): Set transform, smarter bounds generation. + (drawComposite): Improved clipping. + (drawImage): Fixed bounds translation. + (drawRenderedImage): Set transform in buffer. + (fill): Set transform in buffer. + * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java + (createRaster): New method. + * java/awt/image/BufferedImage.java + (BufferedImage(int,int,int)): Use optimized raster if possible. + * include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c + (Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between + Cairo and Java. + (Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array. + +2007-02-16 Francis Kung + + * javax/management/NotificationBroadcasterSupport.java: Update imports. + +2007-02-16 Andrew Haley + + * gnu/java/lang/management/MemoryMXBeanImpl.java, + javax/management/MBeanServerDelegate.java: Use + gnu.javax.management.ListenerData rather than + gnu.classpath.ListenerData. + * gnu/javax/management/ListenerData.java: Move here from + gnu/classpath/ListenerData.java. + +2006-10-14 Edwin Steiner + + PR classpath/28652: + * javax/management/MBeanInfo.java (MBeanInfo): + Use clone to duplicate the arrays in order to + preserve the array type. + +2007-02-15 Gary Benson + + * gnu/javax/management/Server.java + (registerMBean): Always register objects that implement the + MBeanRegistration interface, and check the name returned by + preRegister before using it. + +2007-02-15 Roman Kennke + + * java/nio/ByteOrder.java + (nativeOrder): Avoid NPE when comparing a system property. + +2007-02-13 Gary Benson + + * javax/management/ObjectName.java + (toString): Return this item's canonical name. + +2007-02-12 Francis Kung + + * gnu/java/awt/ClasspathToolkit.java: + * gnu/java/awt/peer/gtk/AsyncImage.java, + * gnu/java/awt/peer/gtk/BufferedImageGraphics.java, + * gnu/java/awt/peer/gtk/CairoGraphics2D.java, + * gnu/java/awt/peer/gtk/CairoSurface.java, + * gnu/java/awt/peer/gtk/ComponentGraphics.java, + * gnu/java/awt/peer/gtk/FreetypeGlyphVector.java, + * gnu/java/awt/peer/gtk/GdkFontPeer.java, + * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java, + * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java, + * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java, + * gnu/java/awt/peer/gtk/GtkChoicePeer.java, + * gnu/java/awt/peer/gtk/GtkClipboard.java, + * gnu/java/awt/peer/gtk/GtkClipboardNotifier.java, + * gnu/java/awt/peer/gtk/GtkComponentPeer.java, + * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java, + * gnu/java/awt/peer/gtk/GtkFramePeer.java, + * gnu/java/awt/peer/gtk/GtkImage.java, + * gnu/java/awt/peer/gtk/GtkImageConsumer.java, + * gnu/java/awt/peer/gtk/GtkLabelPeer.java, + * gnu/java/awt/peer/gtk/GtkListPeer.java, + * gnu/java/awt/peer/gtk/GtkMainThread.java, + * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java, + * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java, + * gnu/java/awt/peer/gtk/GtkMenuPeer.java, + * gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java, + * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java, + * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java, + * gnu/java/awt/peer/gtk/GtkSelection.java, + * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java, + * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java, + * gnu/java/awt/peer/gtk/GtkToolkit.java, + * gnu/java/awt/peer/gtk/GtkWindowPeer.java, + * gnu/java/awt/peer/gtk/VolatileImageGraphics.java, + * java/awt/RenderingHints.java, + * java/awt/image/BufferedImage.java: Reformatted and added generics. + +2007-02-12 Tom Tromey + + * java/net/Socket.java (bind): Typo fix. + +2007-02-12 Tom Tromey + + * vm/reference/java/lang/reflect/Method.java (getDefaultValue): + New method. + * sun/reflect/annotation/AnnotationInvocationHandler.java (create): + New method. + (arrayClone): New method. + (invoke): Clone array return results. + +2007-02-12 Jakub Jelinek + + PR 23566 + * scripts/timezones.pl: Parse each file in 2 passes, in one parse + just Rule lines, in the other everything else. Pass 0 instead of + $savings as second argument to parseRule when parsing the start + rule. + * java/util/TimeZone.java (timezones): Regenerate from tzdata2007a. + +2007-02-12 Jakub Jelinek + + * vm/reference/java/util/VMTimeZone.java: Rewrite to handle both + the old 'TZif\0' format and the new one. + * java/util/TimeZone.java: Handle default (one hour) daylight + savings. + +2007-02-12 Andrew John Hughes + + * javax/management/Query.java: + New file. + * javax/management/StandardMBean.java: + Use the implementation's class loader. + +2007-02-10 Mark Wielaard + + * javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from + java.util, not from java.sql. + +2007-02-10 Roman Kennke + + * javax/imageio/stream/ImageOutputStreamImpl.java + (flushBits): Implemented. + (writeBit): Implemented. + (writeBits): Implemented. + +2007-02-10 Roman Kennke + + * javax/swing/TransferHandler.java + (SwingDragGestureRecognizer): New inner class. + (SwingDragHandler): New inner class. + (recognizer): New field. + (exportAsDrag): Implemented missing method. + +2007-02-10 Roman Kennke + + * java/awt/GraphicsConfiguration.java + (createCompatibleVolatileImage(int,int,ImageCapabilities): Provide + default implementation that delegates to + createCompatibleVolatileImage(int,int). + (createCompatibleVolatileImage(int,int,ImageCapabilities,int): + New method from JDK5 spec. Default implementation by delegating to + (createCompatibleVolatileImage(int,int,int). + +2007-02-09 Tom Tromey + + PR libgcj/30647: + * configure.ac: Also check for jack/jack.h. + +2007-02-09 Mario Torre + + * java/io/File.java: remove import for + gnu.classpath.NotImplementedException. + (getUsableSpace): removed stub. + (getFreeSpace): likewise. + (getTotalSpace): likewise. + +2007-02-09 Mario Torre + + * vm/reference/java/io/VMFile.java: + (canExecute): new 1.6 native method. + (setReadable): likewise. + (setWritable): likewise. + (setExecutable): likewise. + * java/io/File.java: added import for gnu.classpath.NotImplementedException. + (setReadOnly): new 1.6 method. + (canExecute): likewise. + (setReadable): likewise. + (setWritable): likewise. + (setExecutable): likewise. + (getUsableSpace): added stub for new 1.6 method. + (getFreeSpace): likewise. + (getTotalSpace): likewise. + (checkExec): new private method to support new 1.6 additions. + * native/jni/java-io/java_io_VMFile.c: + set_file_permissions: new helper function. + Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods + in VMFile.java. + Java_java_io_VMFile_setWritable: likewise. + Java_java_io_VMFile_setExecutable: likewise. + Java_java_io_VMFile_canExecute: likewise. + * native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC, + CPFILE_FLAG_USR and CPFILE_FLAG_OFF. + cpio_chmod: new function declaration. + cpio_checkAccess: likewise. + * native/jni/native-lib/cpio.c: + cpio_chmod: new function definition. + cpio_checkAccess: likewise. + +2007-02-09 Gary Benson + + * javax/management/ObjectName.java + (quote): Initialize StringBuilder correctly. + +2007-02-09 Francis Kung + + * java/awt/image/BufferedImage: Reformatted. + +2007-02-09 Ito Kazumitsu + + Fixes bug #30732 + * gnu/java/util/regex/RETokenChar.java(chain): Check whether the next + token has a next token. + +2007-02-08 Roman Kennke + + PR 30347 + * javax/swing/JViewport.java + (scrollRectToVisible): Use correct X/Y offset for calculations. + (paintBackingStore): Update backbuffer when we are not the paint + root. + +2007-02-08 Roman Kennke + + * java/awt/image/SinglePixelPackedSampleModel.java + (getDataElements(int,int,Object,DataBuffer)): + Replace DataBuffer using method with simple + switch. This does not check for the exact type (class) of the + DataBuffer but instead checks the transfer type. + (getDataElements(int,int,int,intObject,DataBuffer)): Removed. + (setDataElements): Fixed indentation. + (setPixels): Removed unused statement. + +2007-02-07 Tom Tromey + + * tools/gnu/classpath/tools/javah/PathOptionGroup.java + (PathOptionGroup): Allow '-cp' as well. + +2007-02-07 Chris Burdess + + Fixes PR 30718. + * gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators. + * gnu/xml/transform/XSLURIResolver.java: Add support for custom + SAXSources without a backing URL or stream. + +2007-02-06 Tom Tromey + + PR libgcj/30707: + * tools/gnu/classpath/tools/javah/JniIncludePrinter.java + (printClass): Always print a header. + +2007-02-06 Chris Burdess + + Fixes PR 27710. + * gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous + LSParser if implementation does not support asynchronous. + * gnu/xml/stream/XMLParser.java, + gnu/xml/stream/XIncludeFilter.java: Use custom code instead of + java.net.URL to resolve to an an absolute URI, to avoid nonexistent + protocol handler problems. + +2007-02-05 Andrew Haley + + PR cp-tools/30706 + * tools/gnu/classpath/tools/javah/JniIncludePrinter.java: + (printClass): Replace '/' in filenames with '_'. + * tools/gnu/classpath/tools/javah/JniStubPrinter.java + (printClass): Likewise. + +2007-02-05 Tom Tromey + + * java/net/Proxy.java (equals): Handle case where address==null. + (hashCode): Likewise. + (toString): Likewise. + +2007-02-04 Jeroen Frijters + + * java/lang/Class.java + (newInstance): Moved setAccessible call to helper method. + (getEnumConstants): Call new helper method to allow values method to be + called on non-public enum classes. + (setAccessible): New helper method. + * java/lang/Enum.java + (valueOf): Call new helper method in class to allow field value to + be read on non-public enum classes. + +2007-02-04 Jeroen Frijters + + Fix for #30693 + * gnu/java/nio/charset/ByteCharset.java + (ByteCharset.Decoder.decodeLoop): Reset input buffer position if + the byte read was unmappable. + +2007-02-02 Kyle Galloway + + * gnu/classpath/jdwp/processor/StackFrameCommandSet.java + (executeGetValues): Changed getFrame to use a jlong to pass frameID. + (executeSetValues): Ditto. + (executeThisObject): Ditto. + * vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a + constructor used to create VMFrames. + (getThread): New method. + * vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed + to take a long instead of a ByteBuffer to pass the frameID. + +2007-02-01 Tom Tromey + + * java/util/logging/LogManager.java (reset): Remove bogus + 'while'. + +2007-01-31 Casey Marshall + + * gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.' + * gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports. + (add): use `gnu.java.util.Base64.' + * gnu/java/net/protocol/http/Request.java (authenticate): use + `gnu.java.util.Base64.' + * tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream): + likewise. + * tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise. + * tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise. + * tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421): + likewise. + * gnu/java/net/Base64.java: removed. + * gnu/java/security/util/Base64.java: removed. + +2007-01-31 Casey Marshall + + Fixes PR classpath/24191. + Fix suggested by Rafael Teixeira . + * javax/crypto/CipherOutputStream.java (write): check return value + of `update' for null. + +2007-01-31 Tom Tromey + + * resource/gnu/classpath/tools/jar/messages.properties + (Main.Stdin): New message. + * tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add + '-@' option. + (readNames): New method. + (run): Use it. + +2007-01-30 Roman Kennke + + PR 20577 + * javax/swing/DefaultDesktopManager.java + (activateFrame): Added a bunch of null checks. Don't call + JInternalFrame.setSelected() to avoid recursion. + +2007-01-29 Andrew Haley + + * java/lang/SecurityManager.java (SecurityManager): Load and + initialize java.security.Security. + +2007-01-28 Ito Kazumitsu + + * native/jni/java-nio/gnu_java_nio_VMChannel.c + (Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException + in case of timeout. + * native/jni/java-nio/javanio.c(cpnio_accept): Call select() if + SO_RCVTIMEO is set. + +2007-01-26 Tom Tromey + + * tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print + 'volatile' after field type. + +2007-01-26 Chris Burdess + + Fixes #30597 + * gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause + of LSException is an IOException. + * gnu/xml/dom/ls/DomLSParser.java, + gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set + correctly during LS parsing. + +2007-01-21 Andrew John Hughes + + * javax/management/PersistentMBean.java: + New file. + +2007-01-21 Andrew John Hughes + + * javax/management/AttributeChangeNotificationFilter.java: + Correct typo. + * javax/management/NotificationFilterSupport.java: + New file. + +2007-01-21 Mark Wielaard + + * java/security/SecureClassLoader.java (defineClass): Method returns + Class. + * java/security/SignatureSpi.java (engineUpdate(ByteBuffer): + Does not throw SignatureException. Chain SignatureException inside + IllegalStateException. + +2007-01-21 Andrew John Hughes + + * javax/management/NotificationBroadcasterSupport.java: + New file. + +2007-01-20 Ito Kazumitsu + + * java/text/DecimalFormat.java(parse): Corrected the ParsePosition + settings. + +2007-01-20 Ito Kazumitsu + + * java/text/SimpleDateFormat(parse): Corrected the usage of + NumberFormat. + +2007-01-20 Ito Kazumitsu + + Fixes bug #30488 + * native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted, + (setsockopt_NOSIGPIPE): New function, + (cpnet_send): Corrected the option setting to send(), + (cpnet_sendTo): Corrected the option setting to sendto(). + +2007-01-19 Marco Trudel + + * java/util/Arrays.java (binarySearch): Change comparison order. + +2007-01-17 Keith Seitz + + * gnu/classpath/jdwp/events/filters/StepFilter.java: + Update javadoc. + (matches): Implement. + + * gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor + agent startup suspension for VM_INIT. + +2007-01-17 Tom Tromey + + * tools/gnu/classpath/tools/javah/PathOptionGroup.java + (PathOptionGroup): Set default boot class path. + +2007-01-17 Mark Wielaard + + * javax/activity/ActivityCompletedException.java: Make constructors + public. + * javax/activity/ActivityRequiredException.java: Likewise. + * javax/activity/InvalidActivityException.java: Likewise. + +2007-01-17 Roman Kennke + + * javax/swing/plaf/basic/BasicRadioButtonUI.java + (paint): Use helper method to figure out icon. Don't override + the icon field in that class. Check for null icons. + (getCurrentIcon): New helper function to determine icon to be + painted. + +2007-01-17 Mark Wielaard + + * javax/activity/ActivityCompletedException.java: New file. + * javax/activity/ActivityRequiredException.java: Likewise. + * javax/activity/InvalidActivityException.java: Likewise. + * javax/activity/package.html: Likewise. + +2007-01-15 Andrew John Hughes + + * javax/management/DefaultLoaderRepository.java: + (loadClass(String)): Made static. + (loadClassWithout(String,ClassLoader)): Likewise. + +2007-01-15 Kyle Galloway + + * gnu/classpath/jdwp/exception/TypeMismatchException.java: New file. + * gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation. + * gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation. + +2007-01-15 Andrew John Hughes + + * javax/management/AttributeValueExp.java: + Corrected serialVersionUID typo. + * javax/management/DefaultLoaderRepository.java: + New file. + * javax/management/MBeanServerFactory.java: + Add generic typing. + +2007-01-15 Kyle Galloway + + * gnu/classpath/jdwp/exception/InvalidFrameException.java: New file. + +2007-01-15 Kyle Galloway + + * gnu/classpath/jdwp/exception/AbsentInformationException.java: New file. + +2007-01-15 Kyle Galloway + + * gnu/classpath/jdwp/exception/InvalidSlotException.java: New file. + +2007-01-14 Andrew John Hughes + + * javax/management/AttributeValueExp.java: New file. + * javax/management/QueryEval.java: Likewise. + * javax/management/StringValueExp.java: Likewise. + +2007-01-14 Andrew John Hughes + + * javax/management/AttributeChangeNotificationFilter.java: + New file. + +2007-01-11 Andreas Tobler + + * examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java + (AicasGraphicsBenchmark): Load images from ../icons. + * examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init): + Likewise. + * examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files + to icons. + * examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons. + Delete here. + * examples/gnu/classpath/examples/awt/palme.gif: Likewise. + * examples/gnu/classpath/examples/java2d/aicas.png: Likewise. + * examples/gnu/classpath/examples/java2d/palme.gif: Likewise. + * examples/gnu/classpath/examples/icons/aicas.png: Moved. + * examples/gnu/classpath/examples/icons/palme.gif: Likewise. + +2007-01-09 Tania Bento + + * java/security/Permission.java: + (toString): If there are no actions, then there should not + be a space between its name and ')'. + +2007-01-08 Andrew John Hughes + + * javax/management/AttributeChangeNotification.java: + New file. + +2007-01-08 Cameron McCormack + + PR 30355 + * java/util/Arrays.java: + (binarySearch(byte[],byte)): Added check for zero-length array. + (binarySearch(short[],short)): Likewise. + (binarySearch(int[],int)): Likewise. + (binarySearch(long[],long)): Likewise. + (binarySearch(char[],char)): Likewise. + (binarySearch(float[],float)): Likewise. + (binarySearch(double[],double)): Likewise. + (binarySearch(Object[],Object)): Likewise. + (binarySearch(T[],T,Comparator)): Likewise. + +2007-01-08 Tom Tromey + + * tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run): + Fix length check. PR classpath/30346. + +2007-01-09 Raif S. Naffah + + * tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year. + (sfEntries): Use generics. + (writeDSA()): Likewise. + (startSigning()): Likewise. + (updateEntry()): Likewise. + * tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year. + (CACHED_FORMATS): Use generics. + (getFormattedString()): Likewise. + * tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year. + (fileAndAlias): Use generics. + (ToolParser.validate()): Likewise. + * tools/gnu/classpath/tools/jarsigner/JarVerifier.java: + Updated copyright year. + Re-ordered imports and removed unused entries. + (entryHashes): Use generics. + (start()): Likewise. + (verifySFEntries()): Likewise. + Use map's entrySet() instead of its keySet(). + +2007-01-08 Andrew John Hughes + + * java/text/DateFormat.java: + (computeInstance(int,int,Locale,boolean,boolean)): + Throw an exception when locale info. is unavailable. + (computeDefault(int,int,boolean,boolean)): New method. + (getDateInstance(int,Locale)): Check providers. + (getDateTimeInstance(int,int,Locale)): Likewise. + (getTimeInstance(int,Locale)): Likewise. + * java/text/DateFormatSymbols.java: + Update documentation to match DecimalFormatSymbols. + * java/text/DecimalFormatSymbols.java: + (DecimalFormatSymbols(Locale)): Reordered. + (getInstance()): Implemented. + (getInstance(Locale)): Implemented. + * java/text/NumberFormat.java: + (computeInstance(Locale,String,String)): + Throw an exception when locale info is unavailable. + (getCurrencyInstance(Locale)): Check providers. + (getIntegerInstance(Locale)): Likewise. + (getNumberInstance(Locale)): Likewise. + (getPercentInstance(Locale)): Likewise. + * java/text/spi/DateFormatProvider.java: New file. + * java/text/spi/DecimalFormatSymbolsProvider.java: Likewise. + * java/text/spi/NumberFormatProvider.java: Likewise. + +2007-01-07 Ito Kazumitsu + + Fixes bug #30377 + * native/jni/native-lib/cpnet.h: Add some include files. + +2007-01-07 Roman Kennke + + PR 30337 + * java/awt/Component.java + (getFontImpl): Return null when the component has no font set + and also has no parent yet. + * javax/swing/plaf/basic/BasicComboBoxUI.java + (PropertyChangeHandler.propertyChange): Only add editor when combo + box is editable. Avoid fetching the property name repeatedly. + Invalidate when renderer or prototypeDisplayValue change. + (uninstallComponents): Unconfigure everything and then remove all + components. + * javax/swing/plaf/basic/BasicComboPopup.java + (uninstallingUI): Don't nullify list model. + * javax/swing/plaf/metal/MetalComboBoxUI.java + (createArrowButton): Pass currentValuePane to the MetalComboBoxButton + constructor rather than a new (unconnected) CellRendererPane. + +2007-01-06 Roman Kennke + + PR 30337 + * javax/swing/plaf/basic/BasicComboBoxUI.java + (installUI): Install popup and list here. + Don't configure the arrow button and editor here. + (installComponents): Don't install popup and list here. (Moved + to installUI). Configure arrow button here and check for null. + (addEditor): Configure editor here. + (configureArrowButton): Directly fetch listeners from popup. + (paintCurrentValue): Removed unused local variables. + (layoutContainer): Removed unused local variables. + (PropertyChangeHandler.propertyChange): Don't invalidate minimumSize + on each property change. Avoid calling getPropertyName() repeatedly. + Clean up. Call addEditor() when editor changes. Configure and + unconfigure editor when editable changes. Use 'model' instead + of non-existing 'dataModel' property. + * javax/swing/plaf/basic/BasicComboPopup.java + (uninstallingUI): Remove property change listener and item listener + here. Uninstall list listeners. Set model to null to prevent leakage. + (configureList): Don't sync list selection there. + (uninstallComboBoxListeners): Moved to uninstallingUI. + (uninstallListeners): Moved to uninstallingUI. + * javax/swing/plaf/metal/MetalComboBoxUI.java + (createPopup): Call super. + (getMinimumSize): Removed unused statement. + +2007-01-06 Andrew John Hughes + + * java/text/Collator.java: + (getInstance(Locale)): Check providers. + * java/text/spi/CollatorProvider.java: + New file. + +2007-01-04 Roman Kennke + + PR 30122 + * java/awt/Component.java + (getFont): Don't synchronize on tree lock here. The method is + thread-safe 'enough' by fetching local variables in getFontImpl(). + +2007-01-04 Roman Kennke + + * java/awt/AWTEvent.java + (toString): Don't include the whole component in the output, + only its name. + * java/awt/Component.java + (isShowing): Create local copy of parent field for better + thread safety and efficiency. + * java/awt/EventDispatchThread.java + (EventDispatchThread): Make sure the event thread is not a daemon + thread in case it gets started by a daemon thread. + * java/awt/image/IndexColorModel.java + (createColorMap): New helper method for creating the color map. + (IndexColorModel): (all constructors) use createColorMap() helper + method. + +2007-01-04 Roman Kennke + + * gnu/java/awt/font/autofit/GlyphHints.java + (alignStrongPoints): Don't special case the vertical dimension. + (computeInflectionPoints): Corrected computation of inflection + points. + * gnu/java/awt/font/autofit/Utils.java + (ANGLE_4PI): Removed. + (ANGLE_PI2): New constant for PI/2. + (ANGLE_PI4): New constant for PI/4. + (angleDiff): Fixed. + (atan): Fixed. + +2007-01-03 Cameron McCormack + + Fixes bug #29246 + * java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities + isValidKey method. Throw UnsupportedOperationException on a valid + key (for which no locking state can be given). + * gnu/java/awt/AWTUtilities.java (isValidKey): New method. + * gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New + method. + * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c + (Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method. + * include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated. + +2007-01-03 Andrew John Hughes + + * java/text/BreakIterator.java: + (getCharacterInstance(Locale)): Check providers. + (getLineInstance(Locale)): Likewise. + (getSentenceInstance(Locale)): Likewise. + (getWordInstance(Locale)): Likewise. + * java/text/spi/BreakIteratorProvider.java: + New file. + * java/text/spi/DateFormatSymbolsProvider.java: + Update header text. + * java/util/ServiceConfigurationError.java: + Add serialVersionUID. + +2007-01-03 Francis Kung + + * gnu/java/awt/peer/gtk/CairoGraphics2D.java: + (copy): Copy and set antialias value. + +2007-01-03 Tania Bento + + * java/awt/CardLayout.java: + (maximumLayoutSize): Return a new Dimension with a width of value + Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component + has no components. + +2007-01-03 Andrew John Hughes + + * java/text/DateFormatSymbols.java: + (getZoneStrings(ResourceBundle)): Changed to... + (getZoneStrings(ResourceBundle,Locale)): Added + use of TimeZoneNamesProvider. + (getZoneStrings()): Return either mutated zone + strings or initial ones. + (getInstance(Locale)): Check DateFormatSymbolsProvider + instances. + * java/text/spi/DateFormatSymbolsProvider.java: + New file. + * java/text/spi/package.html: New file. + +2007-01-02 Andrew John Hughes + + * java/util/Currency.java: + (getSymbol(Locale)): Removed unneeded variable + and terminate loop early. + * java/util/Locale.java: + (getDisplayLanguage(Locale)): Fixed to use + LocaleNameProvider. + (getDisplayCountry(Locale)): Likewise. + (getDisplayVariant(Locale)): Likewise. + * java/util/spi/LocaleNameProvider.java: + New file. + * java/util/spi/TimeZoneNameProvider.java: + Likewise. + +2007-01-02 Andrew John Hughes + + * gnu/java/locale/LocaleHelper.java: + (getLocalizedString(Locale,String,String,boolean, + boolean)): Removed, no longer needed. + (getFallbackLocale(Locale)): Implemented. + * java/lang/String.java: + (isEmpty()): Implemented. + * java/util/Currency.java: + (getSymbol(Locale)): Reimplemented to use SPI. + * java/util/Locale.java: + (ROOT): Added. + * java/util/spi/CurrencyNameProvider.java: + New file. + * java/util/spi/LocaleServiceProvider.java: + Likewise. + * java/util/spi/package.html: Likewise. + +2007-01-02 Roman Kennke + + * gnu/java/awt/java2d/AbstractGraphics2D.java + (FONT): New constant field. This is the default font to use as long + as nothing else is set. + (paintContext): New field. Temporarily stores the paint context. + (scanlineConverters): New field. Stores the scanline converters + for each thread. + (shapeCache): Genericified. + (STANDARD_HINTS): New constant field. The standard rendering hints + as long as nothing else is set. + (STANDARD_STROKE): New constant field. The standard stroke as long + as nothing else is set. + (static_initializer): Initialize standard hints. + (AbstractGraphics2D): Use constant fields for hints and stroke. + (drawGlyphVector): Use simpler method to draw the outline. + (fillScanline): Use paintContext field. + (fillShape): Use new ScanlineConverter to fill shapes. + (fillShapeAntialias): Removed. This will be done in fillShape. + (fillShapeImpl): Removed. This is done now in the ScanlineConverter + class. + (getScanlineConverter): New method. Returns the scanline converter + for each thread. + (getSegments): Removed. This is now implemented in ScanlineConverter. + (getShapeCache): Use genericified shapeCache field. + (init): Use fixed default font. Don't fetch destination raster here. + * gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set + of active edges for scanline conversion. + * gnu/java/awt/java2d/PolyEdge.java + (poolNext): Implements linked list for edge pool. + (scanlineNext): Implements linked list for scanline edge lists. + (slope): Use fixed point decimal. + (slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal. + (PolyEdge()): New constructor. + (PolyEdge): Use fixed point decimals. + (init): Use fixed point decimals. + (intersect): New method. Intersects this edge with a scanline. + * gnu/java/awt/java2d/Scanline.java: New class. A list of edges + for a scanline plus utilities. + * gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements + an efficient scanline converter for rendering Shape objects. + +2007-01-02 Roman Kennke + + * gnu/java/math/Fixed.java: New class. Fixed point arithmetics + utilities. + +2007-01-01 Andrew John Hughes + + * ChangeLog-2006: New file. + * gnu/classpath/ServiceFactory.java: + Add option of throwing a ServiceConfigurationError. + (lookupProviders(Class,ClassLoader,boolean)): Implemented. + * java/util/ServiceConfigurationError.java: New file. + * java/util/ServiceLoader.java: Likewise. + + + +Local Variables: +coding: iso-latin-1-unix +End: diff --git a/libjava/classpath/ChangeLog.gcj b/libjava/classpath/ChangeLog.gcj index 7dc67d2..010aad3 100644 --- a/libjava/classpath/ChangeLog.gcj +++ b/libjava/classpath/ChangeLog.gcj @@ -1,3 +1,14 @@ +2008-06-28 Matthias Klose + + * m4/ac_prog_javac.m4: Disable check for JAVAC, when + not configured with --enable-java-maintainer-mode. + * aclocal.m4, configure: Regenerate. + * native/jni/gstreamer-peer/Makefile.am: Do not link with + libclasspathnative. + * native/jni/gstreamer-peer/Makefile.in: Regenerate. + * tools/Makefile.am, lib/Makefile.am: Use JAVAC for setting + JCOMPILER, drop flags not understood by gcj. + 2008-06-24 Tom Tromey PR libgcj/32198: @@ -6,6 +17,62 @@ * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.class: Rebuilt. +2008-04-18 Paolo Bonzini + + PR bootstrap/35457 + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2008-04-18 Ralf Wildenhues + + * lib/gen-classlist.sh.in: Avoid grepping each omission, by + building an awk script with a hash for literal files, and + awk regular expressions for the rest. + * configure.ac: Call AC_PROG_AWK. + * configure: Regenerate. + + * m4/gcc_attribute.m4 (GCC_ATTRIBUTE): Fix cache variable name. + * tools/Makefile.am (gappletviewer, gjarsigner, gkeytool, gjar) + (gnative2ascii, gserialver, gjavah, grmiregistry, gtnameserv) + (gorbd, grmid, grmic) [!CREATE_WRAPPERS]: Add stub dependencies + for these scripts, to trick automake into hiding the respective + rules for the programs below the CREATE_WRAPPERS conditional. + * aclocal.m4: Regenerate. + * configure: Likewise. + * Makefile.in: Likewise. + * native/jni/Makefile.in: Likewise. + * native/jni/classpath/Makefile.in: Likewise. + * native/jni/gstreamer-peer/Makefile.in: Likewise. + * native/jni/midi-dssi/Makefile.in: Likewise. + * native/jni/gconf-peer/Makefile.in: Likewise. + * native/jni/java-io/Makefile.in: Likewise. + * native/jni/native-lib/Makefile.in: Likewise. + * native/jni/java-util/Makefile.in: Likewise. + * native/jni/java-lang/Makefile.in: Likewise. + * native/jni/midi-alsa/Makefile.in: Likewise. + * native/jni/java-nio/Makefile.in: Likewise. + * native/jni/java-net/Makefile.in: Likewise. + * native/jni/xmlj/Makefile.in: Likewise. + * native/jni/qt-peer/Makefile.in: Likewise. + * native/jni/gtk-peer/Makefile.in: Likewise. + * native/Makefile.in: Likewise. + * native/jawt/Makefile.in: Likewise. + * native/fdlibm/Makefile.in: Likewise. + * native/plugin/Makefile.in: Likewise. + * resource/Makefile.in: Likewise. + * scripts/Makefile.in: Likewise. + * tools/Makefile.in: Likewise. + * doc/Makefile.in: Likewise. + * doc/api/Makefile.in: Likewise. + * lib/Makefile.in: Likewise. + * external/Makefile.in: Likewise. + * external/jsr166/Makefile.in: Likewise. + * external/sax/Makefile.in: Likewise. + * external/w3c_dom/Makefile.in: Likewise. + * external/relaxngDatatype/Makefile.in: Likewise. + * include/Makefile.in: Likewise. + * examples/Makefile.in: Likewise. + 2008-04-17 Tom Tromey PR libgcj/35950: @@ -13,6 +80,22 @@ Classpath. * tools/classes/gnu/classpath/tools/jar/Entry.class: Update. +2008-03-10 Jim Meyering + + Don't leak upon failed realloc. + * native/jni/classpath/jcl.c (JCL_realloc): Upon failed realloc, + free the original buffer before throwing the exception. + +2008-03-09 Ralf Wildenhues + + * doc/cp-hacking.texinfo: Fix spacing after periods. + * doc/cp-tools.texinfo: Likewise. + * doc/cp-vmintegration.texinfo: Likewise. + + * doc/cp-hacking.texinfo: Fix some typos. + * doc/cp-tools.texinfo: Likewise. + * doc/cp-vmintegration.texinfo: Likewise. + 2008-03-02 Jakub Jelinek * gnu/java/rmi/registry/RegistryImpl.java (version): Update @@ -42,6 +125,16 @@ * tools/classes/gnu/classpath/tools/native2ascii/Native2ASCII$3.class: Added. +2008-01-27 Bernhard Fischer + + * java/util/SimpleTimeZone.java (SimpleTimeZone): Fix typo in comment. + * gnu/CORBA/GIOP/v1_2/RequestHeader.java (RequestHeader): Fix typo in + exception message. + +2008-01-27 Ralf Wildenhues + + * doc/README.jaxp: Fix typos. + 2007-09-04 Matthias Klose * configure.ac: Append libgcj soversion to nativeexeclibdir. diff --git a/libjava/classpath/INSTALL b/libjava/classpath/INSTALL index 23e5f25..d3c5b40 100644 --- a/libjava/classpath/INSTALL +++ b/libjava/classpath/INSTALL @@ -1,8 +1,8 @@ Installation Instructions ************************* -Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free -Software Foundation, Inc. +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, +2006, 2007 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. @@ -10,7 +10,10 @@ unlimited permission to copy, distribute and modify it. Basic Installation ================== -These are generic installation instructions. +Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses @@ -23,9 +26,9 @@ debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. (Caching is +the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale -cache files.) +cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail @@ -35,20 +38,17 @@ some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You only need -`configure.ac' if you want to change it or regenerate `configure' using -a newer version of `autoconf'. +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. If you're - using `csh' on an old version of System V, you might need to type - `sh ./configure' instead to prevent `csh' from trying to execute - `configure' itself. + `./configure' to configure the package for your system. - Running `configure' takes awhile. While running, it prints some - messages telling which features it is checking for. + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. 2. Type `make' to compile the package. @@ -67,6 +67,9 @@ The simplest way to compile this package is: all sorts of other programs in order to regenerate files that came with the distribution. + 6. Often, you can also type `make uninstall' to remove the installed + files again. + Compilers and Options ===================== @@ -78,7 +81,7 @@ details on some of the pertinent environment variables. by setting variables in the command line or in the environment. Here is an example: - ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. @@ -87,17 +90,15 @@ Compiling For Multiple Architectures You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their -own directory. To do this, you must use a version of `make' that -supports the `VPATH' variable, such as GNU `make'. `cd' to the +own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. - If you have to use a `make' that does not support the `VPATH' -variable, you have to compile the package for one architecture at a -time in the source code directory. After you have installed the -package for one architecture, use `make distclean' before reconfiguring -for another architecture. + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean' before +reconfiguring for another architecture. Installation Names ================== @@ -190,12 +191,12 @@ them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). Here is a another example: +overridden in the site shell script). - /bin/bash ./configure CONFIG_SHELL=/bin/bash +Unfortunately, this technique does not work for `CONFIG_SHELL' due to +an Autoconf bug. Until the bug is fixed you can use this workaround: -Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent -configuration-related scripts to be executed by `/bin/bash'. + CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== diff --git a/libjava/classpath/Makefile.am b/libjava/classpath/Makefile.am index 4434026..fec369b 100644 --- a/libjava/classpath/Makefile.am +++ b/libjava/classpath/Makefile.am @@ -1,6 +1,7 @@ ## Input file for automake to generate the Makefile.in used by configure # lib first, to compile .class files before native code, last examples +## GCJ LOCAL: unconditionally build tools subdur SUBDIRS = lib doc external include native resource scripts tools $(EXAMPLESDIR) DIST_SUBDIRS = lib doc external include native resource scripts tools examples @@ -15,7 +16,8 @@ EXTRA_DIST = HACKING BUGS THANKYOU mauve-classpath LICENSE \ ChangeLog.gnujaxp.1 ChangeLog.gnujaxp.2 ChangeLog.libxmlj \ autogen.sh -#DISTCHECK_CONFIGURE_FLAGS = --enable-gjdoc +DISTCHECK_CONFIGURE_FLAGS = --with-gjdoc --enable-gstreamer-peer \ + --enable-xmlj --enable-qt-peer dist-hook: -$(mkinstalldirs) $(distdir)/include diff --git a/libjava/classpath/Makefile.in b/libjava/classpath/Makefile.in index 05898b4..73e52f3 100644 --- a/libjava/classpath/Makefile.in +++ b/libjava/classpath/Makefile.in @@ -67,6 +67,8 @@ am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ $(top_srcdir)/../../ltoptions.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ + $(top_srcdir)/m4/ac_prog_javac.m4 \ + $(top_srcdir)/m4/ac_prog_javac_works.m4 \ $(top_srcdir)/m4/acattribute.m4 $(top_srcdir)/m4/accross.m4 \ $(top_srcdir)/m4/acinclude.m4 \ $(top_srcdir)/m4/ax_create_stdint_h.m4 \ @@ -177,7 +179,6 @@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ -ECJ = @ECJ@ ECJ_JAR = @ECJ_JAR@ EGREP = @EGREP@ ENABLE_LOCAL_SOCKETS_FALSE = @ENABLE_LOCAL_SOCKETS_FALSE@ @@ -189,19 +190,8 @@ EXTRA_CFLAGS = @EXTRA_CFLAGS@ FASTJAR = @FASTJAR@ FGREP = @FGREP@ FIND = @FIND@ -FOUND_ECJ_FALSE = @FOUND_ECJ_FALSE@ -FOUND_ECJ_TRUE = @FOUND_ECJ_TRUE@ -FOUND_GCJ_FALSE = @FOUND_GCJ_FALSE@ -FOUND_GCJ_TRUE = @FOUND_GCJ_TRUE@ -FOUND_JAVAC_FALSE = @FOUND_JAVAC_FALSE@ -FOUND_JAVAC_TRUE = @FOUND_JAVAC_TRUE@ -FOUND_JIKES_FALSE = @FOUND_JIKES_FALSE@ -FOUND_JIKES_TRUE = @FOUND_JIKES_TRUE@ -FOUND_KJC_FALSE = @FOUND_KJC_FALSE@ -FOUND_KJC_TRUE = @FOUND_KJC_TRUE@ FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@ FREETYPE2_LIBS = @FREETYPE2_LIBS@ -GCJ = @GCJ@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GDK_CFLAGS = @GDK_CFLAGS@ @@ -233,15 +223,12 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JAVAC = @JAVAC@ +JAVAC_MEM_OPT = @JAVAC_MEM_OPT@ JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION = @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@ JAVA_MAINTAINER_MODE_FALSE = @JAVA_MAINTAINER_MODE_FALSE@ JAVA_MAINTAINER_MODE_TRUE = @JAVA_MAINTAINER_MODE_TRUE@ JAY = @JAY@ JAY_SKELETON = @JAY_SKELETON@ -JIKES = @JIKES@ -JIKESENCODING = @JIKESENCODING@ -JIKESWARNINGS = @JIKESWARNINGS@ -KJC = @KJC@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBDEBUG = @LIBDEBUG@ @@ -289,10 +276,8 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRICT_WARNING_CFLAGS = @STRICT_WARNING_CFLAGS@ STRIP = @STRIP@ -USER_CLASSLIB = @USER_CLASSLIB@ +TOOLSDIR = @TOOLSDIR@ USER_JAVAH = @USER_JAVAH@ -USER_SPECIFIED_CLASSLIB_FALSE = @USER_SPECIFIED_CLASSLIB_FALSE@ -USER_SPECIFIED_CLASSLIB_TRUE = @USER_SPECIFIED_CLASSLIB_TRUE@ USE_ESCHER_FALSE = @USE_ESCHER_FALSE@ USE_ESCHER_TRUE = @USE_ESCHER_TRUE@ USE_PREBUILT_GLIBJ_ZIP_FALSE = @USE_PREBUILT_GLIBJ_ZIP_FALSE@ @@ -376,6 +361,9 @@ EXTRA_DIST = HACKING BUGS THANKYOU mauve-classpath LICENSE \ ChangeLog.gnujaxp.1 ChangeLog.gnujaxp.2 ChangeLog.libxmlj \ autogen.sh +DISTCHECK_CONFIGURE_FLAGS = --with-gjdoc --enable-gstreamer-peer \ + --enable-xmlj --enable-qt-peer + all: all-recursive .SUFFIXES: @@ -828,8 +816,6 @@ uninstall-info: uninstall-info-recursive native: lib -#DISTCHECK_CONFIGURE_FLAGS = --enable-gjdoc - dist-hook: -$(mkinstalldirs) $(distdir)/include -cp -f $(top_srcdir)/include/*.in $(distdir)/include diff --git a/libjava/classpath/NEWS b/libjava/classpath/NEWS index c46be60..0a9e462 100644 --- a/libjava/classpath/NEWS +++ b/libjava/classpath/NEWS @@ -1,9 +1,61 @@ -New in release 0.96 +Bug fixes in release 0.97.2 (Jun 06, 2007) + +* Include headers in the release tarball. +* Allow the building of tools to be optional. +* Only check for a Java compiler when required. +* Allow VMOperatingSystemMXBeanImpl to compile on Solaris. +* Documentation typo fixes +* Fix memory leak in native/jni/classpath/jcl.c +* Web page updates (PR classpath/22883) +* Fixes to pass the JSR166 TCK +* Use awk to construct the classlist on building +* Fix deadlock in Logger (PR classpath/35974) +* Fix regression in java.lang.String (PR classpath/35482) +* Allow Classpath tools to handle @file options. +* Allow parseInt to handle a + prefix correctly. +* Remove use of 1.5 language constructs in the VM layer. + +Bug fixes in release 0.97.1 (Mar 11, 2007) + +* Include documentation for JSR166 (java.util.concurrent) +* Fix STaX API compatability. +* Include the tools properties file in the release tarball. + +New in release 0.97 (Feb 22, 2007) + +Build changes: + +* A copy of javah (to produce C header files from Java source code) +is now required to generate the files in include. +* The javac check has been changed so that it attempts to find ecj, +javac and gcj (in that order). You may override this by using +JAVAC= + +Runtime interface changes: + +* Removed VMFloat.floatToIntBits amd VMDouble.doubleToLongBits. +* Added new getParameterAnnotations() methods in Constructor and Method. + +New in release 0.96.1 (Oct 16, 2007) + +* Small compile, configure and build fixes. + +New in release 0.96 (Oct 15, 2007) + +* New experimental GStreamer javax.sound peer (see README.gstreamer) +* The JNI interface has been updated to 1.6 +* Better support for the OpenJDK javac compiler +* Support for using javah via tools.zip and com.sun.tools.javah.Main +* Much improved Escher AWT peers +* Many bug fixes including improvements to AWT and Swing support Runtime interface changes: * Add VMFloat.toString(float) and VMFloat.parseFloat(String). Default implementations are the same as previous behavior. +* Add new default implementations of VMMemoryMXBean.getHeapUsage() + and VMMemoryMXBean.getNonHeapUsage() via iteration over the memory + pools of the appropriate type. New in release 0.95 (Apr 23, 2007) diff --git a/libjava/classpath/THANKYOU b/libjava/classpath/THANKYOU index cb93e25..036bd08 100644 --- a/libjava/classpath/THANKYOU +++ b/libjava/classpath/THANKYOU @@ -41,6 +41,7 @@ Patrik Reali (reali@inf.ethz.ch) Petter Reinholdtsen (pere@hungry.com) Julian Scheid (julian.scheid@sektor37.de) Martin Schröder (ms@artcom-gmbh.de) +Robert Schuster (robertschuster@fsfe.org) Gaute Smaaland (gs@sevenmountains.no) Michael Smith (msmith@spinnakernet.com) J. Russell Smyth (drfish@uswest.net) diff --git a/libjava/classpath/aclocal.m4 b/libjava/classpath/aclocal.m4 index be4d5cb..2639d47 100644 --- a/libjava/classpath/aclocal.m4 +++ b/libjava/classpath/aclocal.m4 @@ -911,6 +911,8 @@ m4_include([../../libtool.m4]) m4_include([../../ltoptions.m4]) m4_include([../../ltsugar.m4]) m4_include([../../ltversion.m4]) +m4_include([m4/ac_prog_javac.m4]) +m4_include([m4/ac_prog_javac_works.m4]) m4_include([m4/acattribute.m4]) m4_include([m4/accross.m4]) m4_include([m4/acinclude.m4]) diff --git a/libjava/classpath/config.guess b/libjava/classpath/config.guess index 2b03b48..c7607c7 100755 --- a/libjava/classpath/config.guess +++ b/libjava/classpath/config.guess @@ -1,10 +1,10 @@ #! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. -timestamp='2006-12-08' +timestamp='2008-04-14' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -56,8 +56,8 @@ version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -330,7 +330,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; - i86pc:SunOS:5.*:*) + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) @@ -532,7 +532,7 @@ EOF echo rs6000-ibm-aix3.2 fi exit ;; - *:AIX:*:[45]) + *:AIX:*:[456]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 @@ -781,7 +781,7 @@ EOF i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; - i*:MINGW*:*) + *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:windows32*:*) @@ -791,12 +791,18 @@ EOF i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; - x86:Interix*:[3456]*) - echo i586-pc-interix${UNAME_RELEASE} - exit ;; - EM64T:Interix*:[3456]* | authenticamd:Interix*:[3456]*) - echo x86_64-unknown-interix${UNAME_RELEASE} - exit ;; + *:Interix*:[3456]*) + case ${UNAME_MACHINE} in + x86) + echo i586-pc-interix${UNAME_RELEASE} + exit ;; + EM64T | authenticamd) + echo x86_64-unknown-interix${UNAME_RELEASE} + exit ;; + IA64) + echo ia64-unknown-interix${UNAME_RELEASE} + exit ;; + esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; @@ -830,7 +836,14 @@ EOF echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) - echo ${UNAME_MACHINE}-unknown-linux-gnu + eval $set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo ${UNAME_MACHINE}-unknown-linux-gnu + else + echo ${UNAME_MACHINE}-unknown-linux-gnueabi + fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu @@ -951,8 +964,8 @@ EOF x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; - xtensa:Linux:*:*) - echo xtensa-unknown-linux-gnu + xtensa*:Linux:*:*) + echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so @@ -972,9 +985,6 @@ EOF a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; - coff-i386) - echo "${UNAME_MACHINE}-pc-linux-gnucoff" - exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. @@ -1203,6 +1213,9 @@ EOF BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; @@ -1218,6 +1231,9 @@ EOF SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux${UNAME_RELEASE} + exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; @@ -1468,9 +1484,9 @@ This script, last modified $timestamp, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run ($0) is already up to date, please send the following data and any information you think might be diff --git a/libjava/classpath/config.sub b/libjava/classpath/config.sub index b91a4bc..63bfff0 100755 --- a/libjava/classpath/config.sub +++ b/libjava/classpath/config.sub @@ -1,10 +1,10 @@ #! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, -# Inc. +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +# Free Software Foundation, Inc. -timestamp='2006-12-08' +timestamp='2008-04-14' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -72,8 +72,8 @@ Report bugs and patches to ." version="\ GNU config.sub ($timestamp) -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 -Free Software Foundation, Inc. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." @@ -250,13 +250,14 @@ case $basic_machine in | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ - | maxq | mb | microblaze | mcore \ - | mep \ + | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ - | mips64vr | mips64vrel \ + | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ @@ -332,13 +333,14 @@ case $basic_machine in | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ - | m88110-* | m88k-* | maxq-* | mcore-* \ + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ - | mep-* \ | mips16-* \ | mips64-* | mips64el-* \ - | mips64vr-* | mips64vrel-* \ + | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ + | mips64r5900-* | mips64r5900el-* \ + | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ @@ -366,15 +368,19 @@ case $basic_machine in | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ - | xstormy16-* | xtensa-* \ + | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-*) ;; + # Recognize the basic CPU types without company name, with glob match. + xtensa*) + basic_machine=$basic_machine-unknown + ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) @@ -445,6 +451,14 @@ case $basic_machine in basic_machine=ns32k-sequent os=-dynix ;; + blackfin) + basic_machine=bfin-unknown + os=-linux + ;; + blackfin-*) + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; c90) basic_machine=c90-cray os=-unicos @@ -477,8 +491,8 @@ case $basic_machine in basic_machine=craynv-cray os=-unicosmp ;; - cr16c) - basic_machine=cr16c-unknown + cr16) + basic_machine=cr16-unknown os=-elf ;; crds | unos) @@ -516,6 +530,10 @@ case $basic_machine in basic_machine=m88k-motorola os=-sysv3 ;; + dicos) + basic_machine=i686-pc + os=-dicos + ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp @@ -670,6 +688,14 @@ case $basic_machine in basic_machine=m68k-isi os=-sysv ;; + m68knommu) + basic_machine=m68k-unknown + os=-linux + ;; + m68knommu-*) + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; m88k-omron*) basic_machine=m88k-omron ;; @@ -685,6 +711,10 @@ case $basic_machine in basic_machine=i386-pc os=-mingw32 ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; miniframe) basic_machine=m68000-convergent ;; @@ -811,6 +841,14 @@ case $basic_machine in basic_machine=i860-intel os=-osf ;; + parisc) + basic_machine=hppa-unknown + os=-linux + ;; + parisc-*) + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` + os=-linux + ;; pbd) basic_machine=sparc-tti ;; @@ -1019,6 +1057,10 @@ case $basic_machine in basic_machine=tic6x-unknown os=-coff ;; + tile*) + basic_machine=tile-unknown + os=-linux-gnu + ;; tx39) basic_machine=mipstx39-unknown ;; @@ -1224,7 +1266,7 @@ case $os in | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ - | -skyos* | -haiku* | -rdos* | -toppers*) + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) @@ -1354,6 +1396,9 @@ case $os in -zvmoe) os=-zvmoe ;; + -dicos*) + os=-dicos + ;; -none) ;; *) @@ -1419,6 +1464,9 @@ case $basic_machine in m68*-cisco) os=-aout ;; + mep-*) + os=-elf + ;; mips*-cisco) os=-elf ;; diff --git a/libjava/classpath/configure b/libjava/classpath/configure index 6a10d6c..966fcbd 100755 --- a/libjava/classpath/configure +++ b/libjava/classpath/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59 for GNU Classpath 0.96-pre. +# Generated by GNU Autoconf 2.59 for GNU Classpath 0.97.2. # # Report bugs to . # @@ -418,8 +418,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME='GNU Classpath' PACKAGE_TARNAME='classpath' -PACKAGE_VERSION='0.96-pre' -PACKAGE_STRING='GNU Classpath 0.96-pre' +PACKAGE_VERSION='0.97.2' +PACKAGE_STRING='GNU Classpath 0.97.2' PACKAGE_BUGREPORT='classpath@gnu.org' ac_unique_file="java/lang/System.java" @@ -461,7 +461,7 @@ ac_includes_default="\ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE GENINSRC_TRUE GENINSRC_FALSE multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE CREATE_GSTREAMER_PEER_LIBRARIES_TRUE CREATE_GSTREAMER_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS EXTRA_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS CAIRO_CFLAGS CAIRO_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GSTREAMER_BASE_CFLAGS GSTREAMER_BASE_LIBS GSTREAMER_PLUGINS_BASE_CFLAGS GSTREAMER_PLUGINS_BASE_LIBS GST_PLUGIN_LDFLAGS GSTREAMER_FILE_READER GSTREAMER_MIXER_PROVIDER QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH CLASSPATH_INCLUDES GCJ JIKES JIKESENCODING JIKESWARNINGS KJC ECJ JAVAC FOUND_GCJ_TRUE FOUND_GCJ_FALSE FOUND_JIKES_TRUE FOUND_JIKES_FALSE FOUND_ECJ_TRUE FOUND_ECJ_FALSE FOUND_JAVAC_TRUE FOUND_JAVAC_FALSE FOUND_KJC_TRUE FOUND_KJC_FALSE USER_CLASSLIB USER_SPECIFIED_CLASSLIB_TRUE USER_SPECIFIED_CLASSLIB_FALSE vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os JAVA_MAINTAINER_MODE_TRUE JAVA_MAINTAINER_MODE_FALSE GENINSRC_TRUE GENINSRC_FALSE multi_basedir LIBVERSION CLASSPATH_MODULE CLASSPATH_CONVENIENCE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CREATE_COLLECTIONS_TRUE CREATE_COLLECTIONS_FALSE CREATE_JNI_LIBRARIES_TRUE CREATE_JNI_LIBRARIES_FALSE CREATE_CORE_JNI_LIBRARIES_TRUE CREATE_CORE_JNI_LIBRARIES_FALSE CREATE_GCONF_PEER_LIBRARIES_TRUE CREATE_GCONF_PEER_LIBRARIES_FALSE CREATE_GSTREAMER_PEER_LIBRARIES_TRUE CREATE_GSTREAMER_PEER_LIBRARIES_FALSE default_toolkit CREATE_XMLJ_LIBRARY_TRUE CREATE_XMLJ_LIBRARY_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP CREATE_ALSA_LIBRARIES_TRUE CREATE_ALSA_LIBRARIES_FALSE CREATE_DSSI_LIBRARIES_TRUE CREATE_DSSI_LIBRARIES_FALSE CREATE_GTK_PEER_LIBRARIES_TRUE CREATE_GTK_PEER_LIBRARIES_FALSE CREATE_QT_PEER_LIBRARIES_TRUE CREATE_QT_PEER_LIBRARIES_FALSE CREATE_PLUGIN_TRUE CREATE_PLUGIN_FALSE toolexeclibdir nativeexeclibdir glibjdir VM_BINARY CREATE_JNI_HEADERS_TRUE CREATE_JNI_HEADERS_FALSE CREATE_WRAPPERS_TRUE CREATE_WRAPPERS_FALSE LN_S LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP PERL COLLECTIONS_PREFIX LIBMAGIC LIBICONV LTLIBICONV WARNING_CFLAGS EXTRA_CFLAGS STRICT_WARNING_CFLAGS ERROR_CFLAGS PKG_CONFIG XML_CFLAGS XML_LIBS XSLT_CFLAGS XSLT_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS GTK_CFLAGS GTK_LIBS FREETYPE2_CFLAGS FREETYPE2_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS CAIRO_CFLAGS CAIRO_LIBS XTEST_LIBS GCONF_CFLAGS GCONF_LIBS GDK_CFLAGS GDK_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GSTREAMER_BASE_CFLAGS GSTREAMER_BASE_LIBS GSTREAMER_PLUGINS_BASE_CFLAGS GSTREAMER_PLUGINS_BASE_LIBS GST_PLUGIN_LDFLAGS GSTREAMER_FILE_READER GSTREAMER_MIXER_PROVIDER QT_CFLAGS QT_LIBS MOC MOZILLA_CFLAGS MOZILLA_LIBS GLIB_CFLAGS GLIB_LIBS PLUGIN_DIR USER_JAVAH CLASSPATH_INCLUDES vm_classes MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBDEBUG INIT_LOAD_LIBRARY ECJ_JAR JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION REMOVE MKDIR CP DATE FIND ZIP FASTJAR INSTALL_GLIBJ_ZIP_TRUE INSTALL_GLIBJ_ZIP_FALSE INSTALL_CLASS_FILES_TRUE INSTALL_CLASS_FILES_FALSE BUILD_CLASS_FILES_TRUE BUILD_CLASS_FILES_FALSE EXAMPLESDIR TOOLSDIR GJDOC CREATE_API_DOCS_TRUE CREATE_API_DOCS_FALSE JAY JAY_SKELETON REGEN_PARSERS_TRUE REGEN_PARSERS_FALSE USE_PREBUILT_GLIBJ_ZIP_TRUE USE_PREBUILT_GLIBJ_ZIP_FALSE PATH_TO_GLIBJ_ZIP JAVAC JAVAC_MEM_OPT USE_ESCHER_TRUE USE_ESCHER_FALSE PATH_TO_ESCHER ENABLE_LOCAL_SOCKETS_TRUE ENABLE_LOCAL_SOCKETS_FALSE DEFAULT_PREFS_PEER LIBOBJS LTLIBOBJS' ac_subst_files='' ac_pwd=`pwd` @@ -943,7 +943,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures GNU Classpath 0.96-pre to adapt to many kinds of systems. +\`configure' configures GNU Classpath 0.97.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1014,7 +1014,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GNU Classpath 0.96-pre:";; + short | recursive ) echo "Configuration of GNU Classpath 0.97.2:";; esac cat <<\_ACEOF @@ -1059,7 +1059,8 @@ Optional Features: default=no --disable-plugin compile gcjwebplugin (disabled by --disable-plugin) default=yes - --enable-regen-headers automatically regenerate JNI headers default=no + --enable-regen-headers automatically regenerate JNI headers default=yes if + headers don't exist --enable-tool-wrappers create tool wrapper binaries default=no --enable-static[=PKGS] build static libraries [default=no] @@ -1077,6 +1078,7 @@ Optional Features: will the VM explicitly invoke java.lang.System's static initialization methods default=no --enable-examples enable build of the examples default=yes + --enable-tools enable build of the tools default=yes --enable-portable-native-sync synchronize VM threads portably --enable-local-sockets enables local (AF_LOCAL) socket API default: no @@ -1100,12 +1102,6 @@ Optional Packages: --with-qt4dir=DIR Qt4 installation directory used for OS-X. For other systems use pkg-config. --with-javah specify path or name of a javah-like program - --with-gcj bytecode compilation with gcj - --with-jikes bytecode compilation with jikes - --with-kjc bytecode compilation with kjc - --with-ecj bytecode compilation with ecj - --with-javac bytecode compilation with javac - --with-classpath specify path to a classes.zip like file --with-vm-classes specify path to VM override source files --with-ecj-jar=ABS.PATH specify jar file containing the Eclipse Java Compiler @@ -1113,8 +1109,7 @@ Optional Packages: --with-glibj define what to install (zip|flat|both|none|build) [default=zip] --with-gjdoc generate documentation using gjdoc (default is NO) - --with-jay Regenerate the parsers with jay must be given the - path to the jay executable + --with-jay=DIR|PATH Regenerate the parsers with jay --with-glibj-zip=ABS.PATH use prebuilt glibj.zip class library --with-escher=ABS.PATH specify path to escher dir or JAR for X peers @@ -1230,7 +1225,7 @@ fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF -GNU Classpath configure 0.96-pre +GNU Classpath configure 0.97.2 generated by GNU Autoconf 2.59 Copyright (C) 2003 Free Software Foundation, Inc. @@ -1244,7 +1239,7 @@ cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GNU Classpath $as_me 0.96-pre, which was +It was created by GNU Classpath $as_me 0.97.2, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ @@ -2105,7 +2100,7 @@ fi # Define the identity of the package. PACKAGE='classpath' - VERSION='0.96-pre' + VERSION='0.97.2' cat >>confdefs.h <<_ACEOF @@ -4852,10 +4847,14 @@ if test "${enable_regen_headers+set}" = set; then case "${enableval}" in yes) REGENERATE_JNI_HEADERS=yes ;; no) REGENERATE_JNI_HEADERS=no ;; - *) REGENERATE_JNI_HEADERS=no ;; + *) REGENERATE_JNI_HEADERS=yes ;; esac else - REGENERATE_JNI_HEADERS=no + if test -e include/java_lang_VMSystem.h; then + REGENERATE_JNI_HEADERS=no ; + else + REGENERATE_JNI_HEADERS=yes ; + fi fi; @@ -5753,13 +5752,13 @@ if test "${lt_cv_nm_interface+set}" = set; then else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext - (eval echo "\"\$as_me:5756: $ac_compile\"" >&5) + (eval echo "\"\$as_me:5755: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 - (eval echo "\"\$as_me:5759: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval echo "\"\$as_me:5758: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 - (eval echo "\"\$as_me:5762: output\"" >&5) + (eval echo "\"\$as_me:5761: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" @@ -6803,7 +6802,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 6806 "configure"' > conftest.$ac_ext + echo '#line 6805 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -7435,11 +7434,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7438: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7437: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7442: \$? = $ac_status" >&5 + echo "$as_me:7441: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7757,11 +7756,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7760: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7759: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:7764: \$? = $ac_status" >&5 + echo "$as_me:7763: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -7862,11 +7861,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7865: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7864: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7869: \$? = $ac_status" >&5 + echo "$as_me:7868: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -7917,11 +7916,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:7920: $lt_compile\"" >&5) + (eval echo "\"\$as_me:7919: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:7924: \$? = $ac_status" >&5 + echo "$as_me:7923: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -10769,7 +10768,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10772 "configure" +#line 10771 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -10869,7 +10868,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 10872 "configure" +#line 10871 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -15312,11 +15311,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15315: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15314: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15319: \$? = $ac_status" >&5 + echo "$as_me:15318: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -15411,11 +15410,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15414: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15413: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15418: \$? = $ac_status" >&5 + echo "$as_me:15417: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -15463,11 +15462,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15466: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15465: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15470: \$? = $ac_status" >&5 + echo "$as_me:15469: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17107,6 +17106,10 @@ fi + + + + for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \ asm/ioctls.h \ inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \ @@ -17117,7 +17120,9 @@ for ac_header in unistd.h sys/types.h sys/config.h sys/ioctl.h \ sys/mman.h \ magic.h \ sys/event.h sys/epoll.h \ - ifaddrs.h + ifaddrs.h \ + netinet/in_systm.h netinet/ip.h net/if.h \ + sys/loadavg.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then @@ -17535,6 +17540,7 @@ fi + for ac_func in ftruncate fsync select \ gethostname socket strerror fork pipe execve open close \ lseek fstat read readv write writev htonl memset htons connect \ @@ -17543,11 +17549,12 @@ for ac_func in ftruncate fsync select \ gethostbyname_r localtime_r \ strerror_r \ fcntl \ + statvfs \ mmap munmap mincore msync madvise getpagesize sysconf \ lstat readlink \ inet_aton inet_addr inet_pton \ getifaddrs kqueue kevent epoll_create \ - readdir_r getloadavg + getloadavg do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -19945,7 +19952,7 @@ ac_x_header_dirs=' /usr/openwin/share/include' if test "$ac_x_includes" = no; then - # Guess where to find include files, by looking for Xlib.h. + # Guess where to find include files, by looking for Intrinsic.h. # First, try using that file with no special directory specified. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ @@ -19953,7 +19960,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -19980,7 +19987,7 @@ else sed 's/^/| /' conftest.$ac_ext >&5 for ac_dir in $ac_x_header_dirs; do - if test -r "$ac_dir/X11/Xlib.h"; then + if test -r "$ac_dir/X11/Intrinsic.h"; then ac_x_includes=$ac_dir break fi @@ -19994,7 +20001,7 @@ if test "$ac_x_libraries" = no; then # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS - LIBS="-lX11 $LIBS" + LIBS="-lXt $LIBS" if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} @@ -20006,11 +20013,11 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include int main () { -XrmInitialize () +XtMalloc (0) ; return 0; } @@ -21323,7 +21330,7 @@ fi echo "$as_me: error: GTK+ peers requested but no X library available" >&2;} { (exit 1); exit 1; }; } fi - echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5 + echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 @@ -21393,15 +21400,18 @@ fi echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then - XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst" + +cat >>confdefs.h <<\_ACEOF +#define HAVE_XTEST 1 +_ACEOF +XTEST_LIBS="$XTEST_LIBS -X11 -lXtst" else - { { echo "$as_me:$LINENO: error: libXtst NOT found, required for GdkRobot" >&5 -echo "$as_me: error: libXtst NOT found, required for GdkRobot" >&2;} - { (exit 1); exit 1; }; } + true fi + succeeded=no if test -z "$PKG_CONFIG"; then @@ -22165,7 +22175,7 @@ echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adj USE_GCONF_PREFS_PEER=$enable_default_preferences_peer if test "$USE_GCONF_PREFS_PEER" = ""; then - DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory + DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory fi fi @@ -22479,6 +22489,107 @@ echo "$as_me: error: Library requirements (gstreamer-plugins-base-$GST_MAJORMINO GST_PLUGIN_LDFLAGS='-module -avoid-version -Wno-unused-parameter -no-undefined' + + succeeded=no + + if test -z "$PKG_CONFIG"; then + # Extract the first word of "pkg-config", so it can be a program name with args. +set dummy pkg-config; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + case $PKG_CONFIG in + [\\/]* | ?:[\\/]*) + ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. + ;; + *) + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" + ;; +esac +fi +PKG_CONFIG=$ac_cv_path_PKG_CONFIG + +if test -n "$PKG_CONFIG"; then + echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 +echo "${ECHO_T}$PKG_CONFIG" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + fi + + if test "$PKG_CONFIG" = "no" ; then + echo "*** The pkg-config script could not be found. Make sure it is" + echo "*** in your path, or set the PKG_CONFIG environment variable" + echo "*** to the full path to pkg-config." + echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." + else + PKG_CONFIG_MIN_VERSION=0.9.0 + if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then + echo "$as_me:$LINENO: checking for gdk-2.0 >= 2.8" >&5 +echo $ECHO_N "checking for gdk-2.0 >= 2.8... $ECHO_C" >&6 + + if $PKG_CONFIG --exists "gdk-2.0 >= 2.8" ; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + succeeded=yes + + echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5 +echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6 + GDK_CFLAGS=`$PKG_CONFIG --cflags "gdk-2.0 >= 2.8"` + echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5 +echo "${ECHO_T}$GDK_CFLAGS" >&6 + + echo "$as_me:$LINENO: checking GDK_LIBS" >&5 +echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6 + GDK_LIBS=`$PKG_CONFIG --libs "gdk-2.0 >= 2.8"` + echo "$as_me:$LINENO: result: $GDK_LIBS" >&5 +echo "${ECHO_T}$GDK_LIBS" >&6 + else + GDK_CFLAGS="" + GDK_LIBS="" + ## If we have a custom action on failure, don't print errors, but + ## do set a variable so people can do so. + GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-2.0 >= 2.8"` + echo $GDK_PKG_ERRORS + fi + + + + else + echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." + echo "*** See http://www.freedesktop.org/software/pkgconfig" + fi + fi + + if test $succeeded = yes; then + : + else + { { echo "$as_me:$LINENO: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 +echo "$as_me: error: Library requirements (gdk-2.0 >= 2.8) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} + { (exit 1); exit 1; }; } + fi + + + + GSTREAMER_FILE_READER=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader GSTREAMER_MIXER_PROVIDER=gnu.javax.sound.sampled.gstreamer.GStreamerMixerProvider fi @@ -23805,7 +23916,7 @@ fi fi else - for ac_prog in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah + for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -23904,7 +24015,7 @@ fi fi else - for ac_prog in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah + for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -24006,7 +24117,7 @@ fi fi else - for ac_prog in gjavah gcjh-wrapper-4.1 gcjh-4.1 gcjh javah + for ac_prog in gjavah gjavah-4.3 gjavah-4.2 gjavah-4.1 gcjh-wrapper-4.1 gcjh-4.1 javah do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -24091,30 +24202,121 @@ echo "$as_me: WARNING: no" >&2;} fi - user_specified_javac= +# Check whether --with-vm-classes or --without-vm-classes was given. +if test "${with_vm_classes+set}" = set; then + withval="$with_vm_classes" + vm_classes="$with_vm_classes" +else + vm_classes='${top_srcdir}/vm/reference' +fi; -# Check whether --with-gcj or --without-gcj was given. -if test "${with_gcj+set}" = set; then - withval="$with_gcj" - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then + enableval="$enable_maintainer_mode" + USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi; + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 - if test "x${withval}" != x; then - if test -f "${withval}"; then - GCJ="${withval}" - else - # Extract the first word of ""${withval}"", so it can be a program name with args. -set dummy "${withval}"; ac_word=$2 + +if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + +# Check whether --enable-debug or --disable-debug was given. +if test "${enable_debug+set}" = set; then + enableval="$enable_debug" + case "${enableval}" in + yes) + LIBDEBUG="true" + +cat >>confdefs.h <<\_ACEOF +#define DEBUG 1 +_ACEOF + + ;; + no) LIBDEBUG="false" ;; + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} + { (exit 1); exit 1; }; } ;; + esac +else + LIBDEBUG="false" +fi; + + +# Check whether --enable-load-library or --disable-load-library was given. +if test "${enable_load_library+set}" = set; then + enableval="$enable_load_library" + case "${enableval}" in + yes) INIT_LOAD_LIBRARY="true" ;; + no) INIT_LOAD_LIBRARY="false" ;; + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;} + { (exit 1); exit 1; }; } ;; + esac +else + INIT_LOAD_LIBRARY="true" +fi; + + + + +# Check whether --with-ecj-jar or --without-ecj-jar was given. +if test "${with_ecj_jar+set}" = set; then + withval="$with_ecj_jar" + ECJ_JAR=$withval +else + if test -f $multi_basedir/ecj.jar; then + ECJ_JAR='$(jardir)/ecj.jar' + fi +fi; + + +# Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given. +if test "${enable_java_lang_system_explicit_initialization+set}" = set; then + enableval="$enable_java_lang_system_explicit_initialization" + case "${enableval}" in + yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;; + no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;; + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;} + { (exit 1); exit 1; }; } ;; + esac +else + JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" +fi; + + + +REMOVE="" + + +# Extract the first word of "mkdir", so it can be a program name with args. +set dummy mkdir; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GCJ+set}" = set; then +if test "${ac_cv_path_MKDIR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $GCJ in + case $MKDIR in [\\/]* | ?:[\\/]*) - ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path. + ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -24124,7 +24326,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext" + ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -24134,28 +24336,26 @@ done ;; esac fi -GCJ=$ac_cv_path_GCJ +MKDIR=$ac_cv_path_MKDIR -if test -n "$GCJ"; then - echo "$as_me:$LINENO: result: $GCJ" >&5 -echo "${ECHO_T}$GCJ" >&6 +if test -n "$MKDIR"; then + echo "$as_me:$LINENO: result: $MKDIR" >&5 +echo "${ECHO_T}$MKDIR" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi - fi - else - # Extract the first word of ""gcj"", so it can be a program name with args. -set dummy "gcj"; ac_word=$2 +# Extract the first word of "cp", so it can be a program name with args. +set dummy cp; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GCJ+set}" = set; then +if test "${ac_cv_path_CP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - case $GCJ in + case $CP in [\\/]* | ?:[\\/]*) - ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path. + ac_cv_path_CP="$CP" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -24165,7 +24365,7 @@ do test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext" + ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi @@ -24175,1717 +24375,11 @@ done ;; esac fi -GCJ=$ac_cv_path_GCJ +CP=$ac_cv_path_CP -if test -n "$GCJ"; then - echo "$as_me:$LINENO: result: $GCJ" >&5 -echo "${ECHO_T}$GCJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - if test "x$GCJ" != x; then - echo "$as_me:$LINENO: checking gcj version 4.0" >&5 -echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6 - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -#if __GNUC__ <= 3 - #error GCJ 4.0.0 or higher is required - #endif - -_ACEOF - $GCJ -E conftest.c > /dev/null - gcj_4_result=$? - if test "x$gcj_4_result" = "x0"; then - echo "$as_me:$LINENO: result: 4.0 or higher found" >&5 -echo "${ECHO_T}4.0 or higher found" >&6 - else - { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5 -echo "$as_me: WARNING: 4.0 or higher required" >&2;} - fi - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - else - if test "x${withval}" != xno; then - - if test "x" != x; then - if test -f ""; then - GCJ="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $GCJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -GCJ=$ac_cv_path_GCJ - -if test -n "$GCJ"; then - echo "$as_me:$LINENO: result: $GCJ" >&5 -echo "${ECHO_T}$GCJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""gcj"", so it can be a program name with args. -set dummy "gcj"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $GCJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -GCJ=$ac_cv_path_GCJ - -if test -n "$GCJ"; then - echo "$as_me:$LINENO: result: $GCJ" >&5 -echo "${ECHO_T}$GCJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - if test "x$GCJ" != x; then - echo "$as_me:$LINENO: checking gcj version 4.0" >&5 -echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6 - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -#if __GNUC__ <= 3 - #error GCJ 4.0.0 or higher is required - #endif - -_ACEOF - $GCJ -E conftest.c > /dev/null - gcj_4_result=$? - if test "x$gcj_4_result" = "x0"; then - echo "$as_me:$LINENO: result: 4.0 or higher found" >&5 -echo "${ECHO_T}4.0 or higher found" >&6 - else - { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5 -echo "$as_me: WARNING: 4.0 or higher required" >&2;} - fi - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - fi - user_specified_javac=gcj - -else - - - if test "x" != x; then - if test -f ""; then - GCJ="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $GCJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -GCJ=$ac_cv_path_GCJ - -if test -n "$GCJ"; then - echo "$as_me:$LINENO: result: $GCJ" >&5 -echo "${ECHO_T}$GCJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""gcj"", so it can be a program name with args. -set dummy "gcj"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_GCJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $GCJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_GCJ="$GCJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GCJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -GCJ=$ac_cv_path_GCJ - -if test -n "$GCJ"; then - echo "$as_me:$LINENO: result: $GCJ" >&5 -echo "${ECHO_T}$GCJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - if test "x$GCJ" != x; then - echo "$as_me:$LINENO: checking gcj version 4.0" >&5 -echo $ECHO_N "checking gcj version 4.0... $ECHO_C" >&6 - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat >conftest.$ac_ext <<_ACEOF -#if __GNUC__ <= 3 - #error GCJ 4.0.0 or higher is required - #endif - -_ACEOF - $GCJ -E conftest.c > /dev/null - gcj_4_result=$? - if test "x$gcj_4_result" = "x0"; then - echo "$as_me:$LINENO: result: 4.0 or higher found" >&5 -echo "${ECHO_T}4.0 or higher found" >&6 - else - { echo "$as_me:$LINENO: WARNING: 4.0 or higher required" >&5 -echo "$as_me: WARNING: 4.0 or higher required" >&2;} - fi - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - -fi; - - - - -# Check whether --with-jikes or --without-jikes was given. -if test "${with_jikes+set}" = set; then - withval="$with_jikes" - - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - - if test "x${withval}" != x; then - if test -f "${withval}"; then - JIKES="${withval}" - else - # Extract the first word of ""${withval}"", so it can be a program name with args. -set dummy "${withval}"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JIKES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JIKES in - [\\/]* | ?:[\\/]*) - ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JIKES=$ac_cv_path_JIKES - -if test -n "$JIKES"; then - echo "$as_me:$LINENO: result: $JIKES" >&5 -echo "${ECHO_T}$JIKES" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""jikes"", so it can be a program name with args. -set dummy "jikes"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JIKES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JIKES in - [\\/]* | ?:[\\/]*) - ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JIKES=$ac_cv_path_JIKES - -if test -n "$JIKES"; then - echo "$as_me:$LINENO: result: $JIKES" >&5 -echo "${ECHO_T}$JIKES" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - if test "x$JIKES" != "x"; then - echo "$as_me:$LINENO: checking jikes version" >&5 -echo $ECHO_N "checking jikes version... $ECHO_C" >&6 - JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5` - JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1` - JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2` - if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then - if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then - JIKES="" - fi - fi - if test "x$JIKES" != "x"; then - echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5 -echo "${ECHO_T}$JIKES_VERSION" >&6 - else - { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5 -echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;} - fi - - JIKESENCODING= - if test -n "`$JIKES --help 2>&1 | grep encoding`"; then - JIKESENCODING='-encoding UTF-8' - fi - - - JIKESWARNINGS="+Pno-switchcheck" - if test "x$JIKES_VERSION_MAJOR" = x"1" ; then - if ! test "x$JIKES_VERSION_MINOR" = x"19"; then - JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow" - fi - fi - - - fi - - else - if test "x${withval}" != xno; then - - if test "x" != x; then - if test -f ""; then - JIKES="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JIKES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JIKES in - [\\/]* | ?:[\\/]*) - ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JIKES=$ac_cv_path_JIKES - -if test -n "$JIKES"; then - echo "$as_me:$LINENO: result: $JIKES" >&5 -echo "${ECHO_T}$JIKES" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""jikes"", so it can be a program name with args. -set dummy "jikes"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JIKES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JIKES in - [\\/]* | ?:[\\/]*) - ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JIKES=$ac_cv_path_JIKES - -if test -n "$JIKES"; then - echo "$as_me:$LINENO: result: $JIKES" >&5 -echo "${ECHO_T}$JIKES" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - if test "x$JIKES" != "x"; then - echo "$as_me:$LINENO: checking jikes version" >&5 -echo $ECHO_N "checking jikes version... $ECHO_C" >&6 - JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5` - JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1` - JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2` - if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then - if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then - JIKES="" - fi - fi - if test "x$JIKES" != "x"; then - echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5 -echo "${ECHO_T}$JIKES_VERSION" >&6 - else - { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5 -echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;} - fi - - JIKESENCODING= - if test -n "`$JIKES --help 2>&1 | grep encoding`"; then - JIKESENCODING='-encoding UTF-8' - fi - - - JIKESWARNINGS="+Pno-switchcheck" - if test "x$JIKES_VERSION_MAJOR" = x"1" ; then - if ! test "x$JIKES_VERSION_MINOR" = x"19"; then - JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow" - fi - fi - - - fi - - fi - fi - user_specified_javac=jikes - -else - - - if test "x" != x; then - if test -f ""; then - JIKES="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JIKES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JIKES in - [\\/]* | ?:[\\/]*) - ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JIKES=$ac_cv_path_JIKES - -if test -n "$JIKES"; then - echo "$as_me:$LINENO: result: $JIKES" >&5 -echo "${ECHO_T}$JIKES" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""jikes"", so it can be a program name with args. -set dummy "jikes"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JIKES+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JIKES in - [\\/]* | ?:[\\/]*) - ac_cv_path_JIKES="$JIKES" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JIKES="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JIKES=$ac_cv_path_JIKES - -if test -n "$JIKES"; then - echo "$as_me:$LINENO: result: $JIKES" >&5 -echo "${ECHO_T}$JIKES" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - if test "x$JIKES" != "x"; then - echo "$as_me:$LINENO: checking jikes version" >&5 -echo $ECHO_N "checking jikes version... $ECHO_C" >&6 - JIKES_VERSION=`$JIKES --version | awk '/^Jikes Compiler/' | cut -d ' ' -f 5` - JIKES_VERSION_MAJOR=`echo "$JIKES_VERSION" | cut -d '.' -f 1` - JIKES_VERSION_MINOR=`echo "$JIKES_VERSION" | cut -d '.' -f 2` - if expr "$JIKES_VERSION_MAJOR" = 1 > /dev/null; then - if expr "$JIKES_VERSION_MINOR" \< 19 > /dev/null; then - JIKES="" - fi - fi - if test "x$JIKES" != "x"; then - echo "$as_me:$LINENO: result: $JIKES_VERSION" >&5 -echo "${ECHO_T}$JIKES_VERSION" >&6 - else - { echo "$as_me:$LINENO: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&5 -echo "$as_me: WARNING: $JIKES_VERSION: jikes 1.19 or higher required" >&2;} - fi - - JIKESENCODING= - if test -n "`$JIKES --help 2>&1 | grep encoding`"; then - JIKESENCODING='-encoding UTF-8' - fi - - - JIKESWARNINGS="+Pno-switchcheck" - if test "x$JIKES_VERSION_MAJOR" = x"1" ; then - if ! test "x$JIKES_VERSION_MINOR" = x"19"; then - JIKESWARNINGS="$JIKESWARNINGS +Pno-shadow" - fi - fi - - - fi - - -fi; - - - - -# Check whether --with-kjc or --without-kjc was given. -if test "${with_kjc+set}" = set; then - withval="$with_kjc" - - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - - if test "x${withval}" != x; then - if test -f "${withval}"; then - KJC="${withval}" - else - # Extract the first word of ""${withval}"", so it can be a program name with args. -set dummy "${withval}"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_KJC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $KJC in - [\\/]* | ?:[\\/]*) - ac_cv_path_KJC="$KJC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -KJC=$ac_cv_path_KJC - -if test -n "$KJC"; then - echo "$as_me:$LINENO: result: $KJC" >&5 -echo "${ECHO_T}$KJC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""kJC"", so it can be a program name with args. -set dummy "kJC"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_KJC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $KJC in - [\\/]* | ?:[\\/]*) - ac_cv_path_KJC="$KJC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -KJC=$ac_cv_path_KJC - -if test -n "$KJC"; then - echo "$as_me:$LINENO: result: $KJC" >&5 -echo "${ECHO_T}$KJC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - else - if test "x${withval}" != xno; then - - if test "x" != x; then - if test -f ""; then - KJC="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_KJC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $KJC in - [\\/]* | ?:[\\/]*) - ac_cv_path_KJC="$KJC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -KJC=$ac_cv_path_KJC - -if test -n "$KJC"; then - echo "$as_me:$LINENO: result: $KJC" >&5 -echo "${ECHO_T}$KJC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""kJC"", so it can be a program name with args. -set dummy "kJC"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_KJC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $KJC in - [\\/]* | ?:[\\/]*) - ac_cv_path_KJC="$KJC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -KJC=$ac_cv_path_KJC - -if test -n "$KJC"; then - echo "$as_me:$LINENO: result: $KJC" >&5 -echo "${ECHO_T}$KJC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - fi - fi - user_specified_javac=kjc - -else - - - if test "x" != x; then - if test -f ""; then - KJC="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_KJC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $KJC in - [\\/]* | ?:[\\/]*) - ac_cv_path_KJC="$KJC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -KJC=$ac_cv_path_KJC - -if test -n "$KJC"; then - echo "$as_me:$LINENO: result: $KJC" >&5 -echo "${ECHO_T}$KJC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""kJC"", so it can be a program name with args. -set dummy "kJC"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_KJC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $KJC in - [\\/]* | ?:[\\/]*) - ac_cv_path_KJC="$KJC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_KJC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -KJC=$ac_cv_path_KJC - -if test -n "$KJC"; then - echo "$as_me:$LINENO: result: $KJC" >&5 -echo "${ECHO_T}$KJC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - -fi; - - - - -# Check whether --with-ecj or --without-ecj was given. -if test "${with_ecj+set}" = set; then - withval="$with_ecj" - - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - - if test "x${withval}" != x; then - if test -f "${withval}"; then - ECJ="${withval}" - else - # Extract the first word of ""${withval}"", so it can be a program name with args. -set dummy "${withval}"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ECJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -ECJ=$ac_cv_path_ECJ - -if test -n "$ECJ"; then - echo "$as_me:$LINENO: result: $ECJ" >&5 -echo "${ECHO_T}$ECJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""ecj"", so it can be a program name with args. -set dummy "ecj"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ECJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -ECJ=$ac_cv_path_ECJ - -if test -n "$ECJ"; then - echo "$as_me:$LINENO: result: $ECJ" >&5 -echo "${ECHO_T}$ECJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - else - if test "x${withval}" != xno; then - - if test "x" != x; then - if test -f ""; then - ECJ="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ECJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -ECJ=$ac_cv_path_ECJ - -if test -n "$ECJ"; then - echo "$as_me:$LINENO: result: $ECJ" >&5 -echo "${ECHO_T}$ECJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""ecj"", so it can be a program name with args. -set dummy "ecj"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ECJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -ECJ=$ac_cv_path_ECJ - -if test -n "$ECJ"; then - echo "$as_me:$LINENO: result: $ECJ" >&5 -echo "${ECHO_T}$ECJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - fi - fi - user_specified_javac=ecj - -else - - - if test "x" != x; then - if test -f ""; then - ECJ="" - else - # Extract the first word of """", so it can be a program name with args. -set dummy ""; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ECJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -ECJ=$ac_cv_path_ECJ - -if test -n "$ECJ"; then - echo "$as_me:$LINENO: result: $ECJ" >&5 -echo "${ECHO_T}$ECJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - else - # Extract the first word of ""ecj"", so it can be a program name with args. -set dummy "ecj"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_ECJ+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ECJ in - [\\/]* | ?:[\\/]*) - ac_cv_path_ECJ="$ECJ" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_ECJ="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -ECJ=$ac_cv_path_ECJ - -if test -n "$ECJ"; then - echo "$as_me:$LINENO: result: $ECJ" >&5 -echo "${ECHO_T}$ECJ" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - -fi; - - - - -# Check whether --with-javac or --without-javac was given. -if test "${with_javac+set}" = set; then - withval="$with_javac" - - if test "x${withval}" != x && test "x${withval}" != xyes && test "x${withval}" != xno; then - - if test "x${withval}" != x; then - JAVAC="${withval}" - else - # Extract the first word of ""javac"", so it can be a program name with args. -set dummy "javac"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JAVAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JAVAC in - [\\/]* | ?:[\\/]*) - ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JAVAC=$ac_cv_path_JAVAC - -if test -n "$JAVAC"; then - echo "$as_me:$LINENO: result: $JAVAC" >&5 -echo "${ECHO_T}$JAVAC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - else - if test "x${withval}" != xno; then - - if test "x" != x; then - JAVAC="" - else - # Extract the first word of ""javac"", so it can be a program name with args. -set dummy "javac"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JAVAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JAVAC in - [\\/]* | ?:[\\/]*) - ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JAVAC=$ac_cv_path_JAVAC - -if test -n "$JAVAC"; then - echo "$as_me:$LINENO: result: $JAVAC" >&5 -echo "${ECHO_T}$JAVAC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - fi - fi - user_specified_javac=javac - -else - - - if test "x" != x; then - JAVAC="" - else - # Extract the first word of ""javac"", so it can be a program name with args. -set dummy "javac"; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_JAVAC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $JAVAC in - [\\/]* | ?:[\\/]*) - ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -JAVAC=$ac_cv_path_JAVAC - -if test -n "$JAVAC"; then - echo "$as_me:$LINENO: result: $JAVAC" >&5 -echo "${ECHO_T}$JAVAC" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - - fi - - -fi; - - - - if test "x${user_specified_javac}" = x; then - - -if test "x${GCJ}" != x; then - FOUND_GCJ_TRUE= - FOUND_GCJ_FALSE='#' -else - FOUND_GCJ_TRUE='#' - FOUND_GCJ_FALSE= -fi - - - -if test "x${JIKES}" != x; then - FOUND_JIKES_TRUE= - FOUND_JIKES_FALSE='#' -else - FOUND_JIKES_TRUE='#' - FOUND_JIKES_FALSE= -fi - - - -if test "x${ECJ}" != x; then - FOUND_ECJ_TRUE= - FOUND_ECJ_FALSE='#' -else - FOUND_ECJ_TRUE='#' - FOUND_ECJ_FALSE= -fi - - - -if test "x${JAVAC}" != x; then - FOUND_JAVAC_TRUE= - FOUND_JAVAC_FALSE='#' -else - FOUND_JAVAC_TRUE='#' - FOUND_JAVAC_FALSE= -fi - - else - - -if test "x${user_specified_javac}" = xgcj; then - FOUND_GCJ_TRUE= - FOUND_GCJ_FALSE='#' -else - FOUND_GCJ_TRUE='#' - FOUND_GCJ_FALSE= -fi - - - -if test "x${user_specified_javac}" = xjikes; then - FOUND_JIKES_TRUE= - FOUND_JIKES_FALSE='#' -else - FOUND_JIKES_TRUE='#' - FOUND_JIKES_FALSE= -fi - - - -if test "x${user_specified_javac}" = xecj; then - FOUND_ECJ_TRUE= - FOUND_ECJ_FALSE='#' -else - FOUND_ECJ_TRUE='#' - FOUND_ECJ_FALSE= -fi - - - -if test "x${user_specified_javac}" = xjavac; then - FOUND_JAVAC_TRUE= - FOUND_JAVAC_FALSE='#' -else - FOUND_JAVAC_TRUE='#' - FOUND_JAVAC_FALSE= -fi - - fi - - -if test "x${user_specified_javac}" = xkjc; then - FOUND_KJC_TRUE= - FOUND_KJC_FALSE='#' -else - FOUND_KJC_TRUE='#' - FOUND_KJC_FALSE= -fi - - - ## GCJ LOCAL - if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \ - && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xkjc - then - { { echo "$as_me:$LINENO: error: cannot find javac, try --with-ecj" >&5 -echo "$as_me: error: cannot find javac, try --with-ecj" >&2;} - { (exit 1); exit 1; }; } - fi - ## END GCJ LOCAL - - - - -# Check whether --with-classpath or --without-classpath was given. -if test "${with_classpath+set}" = set; then - withval="$with_classpath" - - if test "x${withval}" = xyes; then - # set user classpath to CLASSPATH from env - echo "$as_me:$LINENO: checking for classlib" >&5 -echo $ECHO_N "checking for classlib... $ECHO_C" >&6 - USER_CLASSLIB=${CLASSPATH} - - echo "$as_me:$LINENO: result: ${USER_CLASSLIB}" >&5 -echo "${ECHO_T}${USER_CLASSLIB}" >&6 - conditional_with_classlib=true - elif test "x${withval}" != x && test "x${withval}" != xno; then - # set user classpath to specified value - echo "$as_me:$LINENO: checking for classlib" >&5 -echo $ECHO_N "checking for classlib... $ECHO_C" >&6 - USER_CLASSLIB=${withval} - - echo "$as_me:$LINENO: result: ${withval}" >&5 -echo "${ECHO_T}${withval}" >&6 - conditional_with_classlib=true - fi - -else - conditional_with_classlib=false -fi; - - -if test "x${conditional_with_classlib}" = xtrue; then - USER_SPECIFIED_CLASSLIB_TRUE= - USER_SPECIFIED_CLASSLIB_FALSE='#' -else - USER_SPECIFIED_CLASSLIB_TRUE='#' - USER_SPECIFIED_CLASSLIB_FALSE= -fi - - - -# Check whether --with-vm-classes or --without-vm-classes was given. -if test "${with_vm_classes+set}" = set; then - withval="$with_vm_classes" - vm_classes="$with_vm_classes" -else - vm_classes='${top_srcdir}/vm/reference' -fi; - - - -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. -if test "${enable_maintainer_mode+set}" = set; then - enableval="$enable_maintainer_mode" - USE_MAINTAINER_MODE=$enableval -else - USE_MAINTAINER_MODE=no -fi; - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 - - -if test $USE_MAINTAINER_MODE = yes; then - MAINTAINER_MODE_TRUE= - MAINTAINER_MODE_FALSE='#' -else - MAINTAINER_MODE_TRUE='#' - MAINTAINER_MODE_FALSE= -fi - - MAINT=$MAINTAINER_MODE_TRUE - - - -# Check whether --enable-debug or --disable-debug was given. -if test "${enable_debug+set}" = set; then - enableval="$enable_debug" - case "${enableval}" in - yes) - LIBDEBUG="true" - -cat >>confdefs.h <<\_ACEOF -#define DEBUG 1 -_ACEOF - - ;; - no) LIBDEBUG="false" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} - { (exit 1); exit 1; }; } ;; - esac -else - LIBDEBUG="false" -fi; - - -# Check whether --enable-load-library or --disable-load-library was given. -if test "${enable_load_library+set}" = set; then - enableval="$enable_load_library" - case "${enableval}" in - yes) INIT_LOAD_LIBRARY="true" ;; - no) INIT_LOAD_LIBRARY="false" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-load-library" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-load-library" >&2;} - { (exit 1); exit 1; }; } ;; - esac -else - INIT_LOAD_LIBRARY="true" -fi; - - - - -# Check whether --with-ecj-jar or --without-ecj-jar was given. -if test "${with_ecj_jar+set}" = set; then - withval="$with_ecj_jar" - ECJ_JAR=$withval -else - if test -f $multi_basedir/ecj.jar; then - ECJ_JAR='$(jardir)/ecj.jar' - fi -fi; - - -# Check whether --enable-java-lang-system-explicit-initialization or --disable-java-lang-system-explicit-initialization was given. -if test "${enable_java_lang_system_explicit_initialization+set}" = set; then - enableval="$enable_java_lang_system_explicit_initialization" - case "${enableval}" in - yes|true) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="true" ;; - no|false) JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-java-lang-system-explicit-initialization" >&2;} - { (exit 1); exit 1; }; } ;; - esac -else - JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION="false" -fi; - - - -REMOVE="" - - -# Extract the first word of "mkdir", so it can be a program name with args. -set dummy mkdir; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_MKDIR+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $MKDIR in - [\\/]* | ?:[\\/]*) - ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -MKDIR=$ac_cv_path_MKDIR - -if test -n "$MKDIR"; then - echo "$as_me:$LINENO: result: $MKDIR" >&5 -echo "${ECHO_T}$MKDIR" >&6 -else - echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6 -fi - -# Extract the first word of "cp", so it can be a program name with args. -set dummy cp; ac_word=$2 -echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -if test "${ac_cv_path_CP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $CP in - [\\/]* | ?:[\\/]*) - ac_cv_path_CP="$CP" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done - - ;; -esac -fi -CP=$ac_cv_path_CP - -if test -n "$CP"; then - echo "$as_me:$LINENO: result: $CP" >&5 -echo "${ECHO_T}$CP" >&6 +if test -n "$CP"; then + echo "$as_me:$LINENO: result: $CP" >&5 +echo "${ECHO_T}$CP" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 @@ -26023,8 +24517,10 @@ echo $ECHO_N "checking for user supplied fastjar... $ECHO_C" >&6 echo "${ECHO_T}${FASTJAR}" >&6 else - # Extract the first word of "fastjar", so it can be a program name with args. -set dummy fastjar; ac_word=$2 + for ac_prog in fastjar gjar jar +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_FASTJAR+set}" = set; then @@ -26062,6 +24558,9 @@ else echo "${ECHO_T}no" >&6 fi + test -n "$FASTJAR" && break +done + fi; if test x"${FASTJAR}" != x; then ZIP="" @@ -26153,6 +24652,24 @@ fi; fi + # Check whether --enable-tools or --disable-tools was given. +if test "${enable_tools+set}" = set; then + enableval="$enable_tools" + case "${enableval}" in + yes) TOOLSDIR="tools" ;; + no) TOOLSDIR="" ;; + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tools" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-tools" >&2;} + { (exit 1); exit 1; }; } ;; + esac +else + TOOLSDIR="tools" +fi; + if test "x${use_zip}" = xno && test "x${install_class_files}" = xno; then + TOOLSDIR="" + fi + + @@ -26260,8 +24777,33 @@ fi if test "${with_jay+set}" = set; then withval="$with_jay" - if test -d "${withval}"; then + echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5 +echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6 + JAY_FOUND=no + JAY_DIR_PATH= + if test "x${withval}" = xno; then + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + elif test "x${withval}" = xyes; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + JAY_DIR_PATH="/usr/share/jay" + elif test -d "${withval}"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 JAY_DIR_PATH="${withval}" + elif test -f "${withval}"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + JAY_DIR_PATH=`dirname "${withval}"` + JAY="${withval}" + else + { { echo "$as_me:$LINENO: error: jay not found at ${withval}" >&5 +echo "$as_me: error: jay not found at ${withval}" >&2;} + { (exit 1); exit 1; }; } + fi + + if test "x${JAY_DIR_PATH}" != x; then # Extract the first word of "jay", so it can be a program name with args. set dummy jay; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 @@ -26275,7 +24817,8 @@ else ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in ${JAY_DIR_PATH} +as_dummy="${JAY_DIR_PATH}:${PATH}" +for as_dir in $as_dummy do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. @@ -26303,17 +24846,12 @@ echo "${ECHO_T}no" >&6 fi if test "x${JAY}" = xno; then - { { echo "$as_me:$LINENO: error: \"jay executable not found\"" >&5 -echo "$as_me: error: \"jay executable not found\"" >&2;} + { { echo "$as_me:$LINENO: error: jay executable not found" >&5 +echo "$as_me: error: jay executable not found" >&2;} { (exit 1); exit 1; }; }; fi - else - JAY_DIR_PATH=`dirname "${withval}"` - JAY="${withval}" - - fi - JAY_SKELETON="${JAY_DIR_PATH}/skeleton" - as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh` + JAY_SKELETON="${JAY_DIR_PATH}/skeleton" + as_ac_File=`echo "ac_cv_file_${JAY_SKELETON}" | $as_tr_sh` echo "$as_me:$LINENO: checking for ${JAY_SKELETON}" >&5 echo $ECHO_N "checking for ${JAY_SKELETON}... $ECHO_C" >&6 if eval "test \"\${$as_ac_File+set}\" = set"; then @@ -26334,15 +24872,20 @@ echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6 if test `eval echo '${'$as_ac_File'}'` = yes; then : else - { { echo "$as_me:$LINENO: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&5 -echo "$as_me: error: \"Expected skeleton file in \`dirname ${withval}\`\"" >&2;} + { { echo "$as_me:$LINENO: error: Expected skeleton file in ${JAY_DIR_PATH}" >&5 +echo "$as_me: error: Expected skeleton file in ${JAY_DIR_PATH}" >&2;} { (exit 1); exit 1; }; } fi - JAY_FOUND=yes + JAY_FOUND=yes + fi else + echo "$as_me:$LINENO: checking whether to regenerate parsers with jay" >&5 +echo $ECHO_N "checking whether to regenerate parsers with jay... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 JAY_FOUND=no fi; @@ -29306,6 +27849,173 @@ fi +# Check for javac if we need to build either the class library, +# the examples or the tools +if test "x${use_glibj_zip}" = xfalse || \ + test "x${EXAMPLESDIR}" != x || \ + test "x${TOOLSDIR}" != x && \ + test "x${build_class_files}" != xno; then + +if test "x$JAVAPREFIX" = x; then + test "x$JAVAC" = x && for ac_prog in "ecj$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.3$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.2$EXEEXT -warn:-deprecation,serial,unusedImport" "javac$EXEEXT -Xlint:unchecked" "gcj$EXEEXT -C" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_JAVAC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$JAVAC"; then + ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_JAVAC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +JAVAC=$ac_cv_prog_JAVAC +if test -n "$JAVAC"; then + echo "$as_me:$LINENO: result: $JAVAC" >&5 +echo "${ECHO_T}$JAVAC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$JAVAC" && break +done + +else + test "x$JAVAC" = x && for ac_prog in "ecj$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.3$EXEEXT -warn:-deprecation,serial,unusedImport" "ecj-3.2$EXEEXT -warn:-deprecation,serial,unusedImport" "javac$EXEEXT -Xlint:unchecked" "gcj$EXEEXT -C" +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_JAVAC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$JAVAC"; then + ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_JAVAC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +JAVAC=$ac_cv_prog_JAVAC +if test -n "$JAVAC"; then + echo "$as_me:$LINENO: result: $JAVAC" >&5 +echo "${ECHO_T}$JAVAC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$JAVAC" && break +done +test -n "$JAVAC" || JAVAC="$JAVAPREFIX" + +fi +test "x$JAVAC" = x && { { echo "$as_me:$LINENO: error: no acceptable Java compiler found in \$PATH" >&5 +echo "$as_me: error: no acceptable Java compiler found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +if test "$enable_java_maintainer_mode" = yes; then + +echo "$as_me:$LINENO: checking if $JAVAC works" >&5 +echo $ECHO_N "checking if $JAVAC works... $ECHO_C" >&6 +if test "${ac_cv_prog_javac_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + +JAVA_TEST=Object.java +CLASS_TEST=Object.class +cat << \EOF > $JAVA_TEST +/* #line 27957 "configure" */ +package java.lang; + +public class Object +{ + static void doStuff() + { + } +} +EOF +if { ac_try='$JAVAC $JAVA_TEST' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } >/dev/null 2>&1; then + ac_cv_prog_javac_works=yes +else + { { echo "$as_me:$LINENO: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&5 +echo "$as_me: error: The Java compiler $JAVAC failed (see config.log, check the CLASSPATH?)" >&2;} + { (exit 1); exit 1; }; } + echo "configure: failed program was:" >&5 + cat $JAVA_TEST >&5 +fi +rm -f $JAVA_TEST $CLASS_TEST + +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_javac_works" >&5 +echo "${ECHO_T}$ac_cv_prog_javac_works" >&6 + +fi + + + JAVA_TEST=Test.java + CLASS_TEST=Test.class + cat << \EOF > $JAVA_TEST + /* #line 27993 "configure" */ + public class Test + { + public static void main(String args) + { + System.out.println("Hello World"); + } + } +EOF + echo "$as_me:$LINENO: checking whether javac supports -J" >&5 +echo $ECHO_N "checking whether javac supports -J... $ECHO_C" >&6 + $JAVAC $JAVACFLAGS -J-Xmx768M -sourcepath '' $JAVA_TEST + javac_result=$? + if test "x$javac_result" = "x0"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + JAVAC_MEM_OPT="-J-Xmx768M" + else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + fi + rm -f $JAVA_TEST $CLASS_TEST + + +fi + # Check whether --with-escher or --without-escher was given. if test "${with_escher+set}" = set; then @@ -29630,7 +28340,7 @@ fi - ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d" + ac_config_files="$ac_config_files Makefile doc/Makefile doc/api/Makefile external/Makefile external/sax/Makefile external/w3c_dom/Makefile external/relaxngDatatype/Makefile external/jsr166/Makefile gnu/classpath/Configuration.java gnu/java/security/Configuration.java include/Makefile native/Makefile native/fdlibm/Makefile native/jawt/Makefile native/jni/Makefile native/jni/classpath/Makefile native/jni/java-io/Makefile native/jni/java-lang/Makefile native/jni/java-net/Makefile native/jni/java-nio/Makefile native/jni/java-util/Makefile native/jni/gtk-peer/Makefile native/jni/gconf-peer/Makefile native/jni/gstreamer-peer/Makefile native/jni/qt-peer/Makefile native/jni/xmlj/Makefile native/jni/midi-alsa/Makefile native/jni/midi-dssi/Makefile native/jni/native-lib/Makefile native/plugin/Makefile resource/Makefile resource/META-INF/services/java.util.prefs.PreferencesFactory resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader resource/META-INF/services/javax.sound.sampled.spi.MixerProvider scripts/Makefile scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh scripts/check_jni_methods.sh tools/Makefile examples/Makefile examples/Makefile.jawt examples/Makefile.java2d" if test "x${COMPILE_WRAPPERS}" = xno @@ -29898,76 +28608,6 @@ echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi -if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_GCJ_TRUE}" && test -z "${FOUND_GCJ_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_GCJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_GCJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_JIKES_TRUE}" && test -z "${FOUND_JIKES_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_JIKES\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_JIKES\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_ECJ_TRUE}" && test -z "${FOUND_ECJ_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_ECJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_ECJ\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_JAVAC_TRUE}" && test -z "${FOUND_JAVAC_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_JAVAC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_JAVAC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${FOUND_KJC_TRUE}" && test -z "${FOUND_KJC_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"FOUND_KJC\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"FOUND_KJC\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi -if test -z "${USER_SPECIFIED_CLASSLIB_TRUE}" && test -z "${USER_SPECIFIED_CLASSLIB_FALSE}"; then - { { echo "$as_me:$LINENO: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined. -Usually this means the macro was only invoked conditionally." >&5 -echo "$as_me: error: conditional \"USER_SPECIFIED_CLASSLIB\" was never defined. -Usually this means the macro was only invoked conditionally." >&2;} - { (exit 1); exit 1; }; } -fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 @@ -30302,7 +28942,7 @@ _ASBOX } >&5 cat >&5 <<_CSEOF -This file was extended by GNU Classpath $as_me 0.96-pre, which was +This file was extended by GNU Classpath $as_me 0.97.2, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -30368,7 +29008,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ -GNU Classpath config.status 0.96-pre +GNU Classpath config.status 0.97.2 configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" @@ -30880,6 +29520,7 @@ do "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; "lib/gen-classlist.sh" ) CONFIG_FILES="$CONFIG_FILES lib/gen-classlist.sh" ;; "lib/copy-vmresources.sh" ) CONFIG_FILES="$CONFIG_FILES lib/copy-vmresources.sh" ;; + "scripts/check_jni_methods.sh" ) CONFIG_FILES="$CONFIG_FILES scripts/check_jni_methods.sh" ;; "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;; "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; "examples/Makefile.jawt" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile.jawt" ;; @@ -31165,26 +29806,6 @@ s,@GLIB_LIBS@,$GLIB_LIBS,;t t s,@PLUGIN_DIR@,$PLUGIN_DIR,;t t s,@USER_JAVAH@,$USER_JAVAH,;t t s,@CLASSPATH_INCLUDES@,$CLASSPATH_INCLUDES,;t t -s,@GCJ@,$GCJ,;t t -s,@JIKES@,$JIKES,;t t -s,@JIKESENCODING@,$JIKESENCODING,;t t -s,@JIKESWARNINGS@,$JIKESWARNINGS,;t t -s,@KJC@,$KJC,;t t -s,@ECJ@,$ECJ,;t t -s,@JAVAC@,$JAVAC,;t t -s,@FOUND_GCJ_TRUE@,$FOUND_GCJ_TRUE,;t t -s,@FOUND_GCJ_FALSE@,$FOUND_GCJ_FALSE,;t t -s,@FOUND_JIKES_TRUE@,$FOUND_JIKES_TRUE,;t t -s,@FOUND_JIKES_FALSE@,$FOUND_JIKES_FALSE,;t t -s,@FOUND_ECJ_TRUE@,$FOUND_ECJ_TRUE,;t t -s,@FOUND_ECJ_FALSE@,$FOUND_ECJ_FALSE,;t t -s,@FOUND_JAVAC_TRUE@,$FOUND_JAVAC_TRUE,;t t -s,@FOUND_JAVAC_FALSE@,$FOUND_JAVAC_FALSE,;t t -s,@FOUND_KJC_TRUE@,$FOUND_KJC_TRUE,;t t -s,@FOUND_KJC_FALSE@,$FOUND_KJC_FALSE,;t t -s,@USER_CLASSLIB@,$USER_CLASSLIB,;t t -s,@USER_SPECIFIED_CLASSLIB_TRUE@,$USER_SPECIFIED_CLASSLIB_TRUE,;t t -s,@USER_SPECIFIED_CLASSLIB_FALSE@,$USER_SPECIFIED_CLASSLIB_FALSE,;t t s,@vm_classes@,$vm_classes,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t @@ -31207,6 +29828,7 @@ s,@INSTALL_CLASS_FILES_FALSE@,$INSTALL_CLASS_FILES_FALSE,;t t s,@BUILD_CLASS_FILES_TRUE@,$BUILD_CLASS_FILES_TRUE,;t t s,@BUILD_CLASS_FILES_FALSE@,$BUILD_CLASS_FILES_FALSE,;t t s,@EXAMPLESDIR@,$EXAMPLESDIR,;t t +s,@TOOLSDIR@,$TOOLSDIR,;t t s,@GJDOC@,$GJDOC,;t t s,@CREATE_API_DOCS_TRUE@,$CREATE_API_DOCS_TRUE,;t t s,@CREATE_API_DOCS_FALSE@,$CREATE_API_DOCS_FALSE,;t t @@ -31217,6 +29839,8 @@ s,@REGEN_PARSERS_FALSE@,$REGEN_PARSERS_FALSE,;t t s,@USE_PREBUILT_GLIBJ_ZIP_TRUE@,$USE_PREBUILT_GLIBJ_ZIP_TRUE,;t t s,@USE_PREBUILT_GLIBJ_ZIP_FALSE@,$USE_PREBUILT_GLIBJ_ZIP_FALSE,;t t s,@PATH_TO_GLIBJ_ZIP@,$PATH_TO_GLIBJ_ZIP,;t t +s,@JAVAC@,$JAVAC,;t t +s,@JAVAC_MEM_OPT@,$JAVAC_MEM_OPT,;t t s,@USE_ESCHER_TRUE@,$USE_ESCHER_TRUE,;t t s,@USE_ESCHER_FALSE@,$USE_ESCHER_FALSE,;t t s,@PATH_TO_ESCHER@,$PATH_TO_ESCHER,;t t diff --git a/libjava/classpath/configure.ac b/libjava/classpath/configure.ac index 96db95d..a14d2c1 100644 --- a/libjava/classpath/configure.ac +++ b/libjava/classpath/configure.ac @@ -6,7 +6,7 @@ dnl ----------------------------------------------------------- dnl define([AC_CACHE_LOAD], )dnl dnl define([AC_CACHE_SAVE], )dnl -AC_INIT([GNU Classpath],[0.96-pre],[classpath@gnu.org],[classpath]) +AC_INIT([GNU Classpath],[0.97.2],[classpath@gnu.org],[classpath]) AC_CONFIG_SRCDIR(java/lang/System.java) dnl GCJ LOCAL @@ -338,13 +338,17 @@ dnl ----------------------------------------------------------- dnl Regenerate headers at build time (disabled by default) dnl ----------------------------------------------------------- AC_ARG_ENABLE([regen-headers], - [AS_HELP_STRING(--enable-regen-headers,automatically regenerate JNI headers [default=no])], + [AS_HELP_STRING(--enable-regen-headers,automatically regenerate JNI headers [default=yes if headers don't exist])], [case "${enableval}" in yes) REGENERATE_JNI_HEADERS=yes ;; no) REGENERATE_JNI_HEADERS=no ;; - *) REGENERATE_JNI_HEADERS=no ;; + *) REGENERATE_JNI_HEADERS=yes ;; esac], - [REGENERATE_JNI_HEADERS=no]) + [if test -e include/java_lang_VMSystem.h; then + REGENERATE_JNI_HEADERS=no ; + else + REGENERATE_JNI_HEADERS=yes ; + fi]) AM_CONDITIONAL(CREATE_JNI_HEADERS, test "x${REGENERATE_JNI_HEADERS}" = xyes) dnl ----------------------------------------------------------- @@ -416,6 +420,8 @@ if test "x${COMPILE_JNI}" = xyes; then dnl On that system, sys/ioctl.h will not include sys/filio.h unless dnl BSD_COMP is defined; just including sys/filio.h is simpler. dnl Check for crt_externs.h on Darwin. + dnl Check for netinet/in_systm.h, netinet/ip.h and net/if.h for Windows CE. + dnl Check for sys/loadavg.h for getloadavg() on Solaris 9. AC_CHECK_HEADERS([unistd.h sys/types.h sys/config.h sys/ioctl.h \ asm/ioctls.h \ inttypes.h stdint.h utime.h sys/utime.h sys/filio.h \ @@ -426,7 +432,9 @@ if test "x${COMPILE_JNI}" = xyes; then sys/mman.h \ magic.h \ sys/event.h sys/epoll.h \ - ifaddrs.h]) + ifaddrs.h \ + netinet/in_systm.h netinet/ip.h net/if.h \ + sys/loadavg.h]) AC_EGREP_HEADER(uint32_t, stdint.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t])) AC_EGREP_HEADER(uint32_t, inttypes.h, AC_DEFINE(HAVE_INT32_DEFINED, 1, [Define to 1 if you have uint32_t])) @@ -442,11 +450,12 @@ if test "x${COMPILE_JNI}" = xyes; then gethostbyname_r localtime_r \ strerror_r \ fcntl \ + statvfs \ mmap munmap mincore msync madvise getpagesize sysconf \ lstat readlink \ inet_aton inet_addr inet_pton \ getifaddrs kqueue kevent epoll_create \ - readdir_r getloadavg]) + getloadavg]) LIBMAGIC= AC_CHECK_LIB(magic, magic_open, LIBMAGIC=-lmagic) @@ -539,11 +548,13 @@ if test "x${COMPILE_JNI}" = xyes; then if test "$no_x" = yes; then AC_MSG_ERROR([GTK+ peers requested but no X library available]) fi - dnl We explicitly want the XTest Extension for Robot support. + dnl Check if we can link against the XTest library and set + dnl HAVE_XTEST accordingly. AC_CHECK_LIB([Xtst], [XTestQueryExtension], - [XTEST_LIBS="$XTEST_LIBS -lX11 -lXtst"], - [AC_MSG_ERROR([libXtst NOT found, required for GdkRobot])], - [${X_LIBS}]) + [AC_DEFINE(HAVE_XTEST, 1, [Define to 1 if you have libXtst.])[XTEST_LIBS="$XTEST_LIBS -X11 -lXtst"]], + [true], + [${X_LIBS}]) + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) PKG_CHECK_MODULES(FREETYPE2, freetype2) @@ -586,7 +597,7 @@ if test "x${COMPILE_JNI}" = xyes; then dnl compiled in USE_GCONF_PREFS_PEER=$enable_default_preferences_peer if test "$USE_GCONF_PREFS_PEER" = ""; then - DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory + DEFAULT_PREFS_PEER=gnu.java.util.prefs.GConfBasedFactory fi fi @@ -614,6 +625,10 @@ if test "x${COMPILE_JNI}" = xyes; then GST_PLUGIN_LDFLAGS='-module -avoid-version -Wno-unused-parameter -no-undefined' AC_SUBST(GST_PLUGIN_LDFLAGS) + + PKG_CHECK_MODULES(GDK, gdk-2.0 >= 2.8) + AC_SUBST(GDK_CFLAGS) + AC_SUBST(GDK_LIBS) dnl set the gstreamer based file reader, writer and mixer GSTREAMER_FILE_READER=gnu.javax.sound.sampled.gstreamer.io.GstAudioFileReader @@ -773,8 +788,6 @@ if test "x${COMPILE_JNI}" = xyes; then AC_CONFIG_LINKS([$ac_config_links_1]) fi -CLASSPATH_FIND_JAVAC - CLASSPATH_WITH_CLASSLIB dnl ----------------------------------------------------------- @@ -935,6 +948,16 @@ esac; AM_CONDITIONAL(USE_PREBUILT_GLIBJ_ZIP, test x$use_glibj_zip = xtrue) AC_SUBST(PATH_TO_GLIBJ_ZIP) +# Check for javac if we need to build either the class library, +# the examples or the tools +if test "x${use_glibj_zip}" = xfalse || \ + test "x${EXAMPLESDIR}" != x || \ + test "x${TOOLSDIR}" != x && \ + test "x${build_class_files}" != xno; then + AC_PROG_JAVAC + CLASSPATH_JAVAC_MEM_CHECK +fi + dnl ----------------------------------------------------------- dnl Build with Escher based X peers. dnl ----------------------------------------------------------- @@ -1030,6 +1053,7 @@ scripts/classpath.spec lib/Makefile lib/gen-classlist.sh lib/copy-vmresources.sh +scripts/check_jni_methods.sh tools/Makefile examples/Makefile examples/Makefile.jawt diff --git a/libjava/classpath/depcomp b/libjava/classpath/depcomp index 04701da..e5f9736 100755 --- a/libjava/classpath/depcomp +++ b/libjava/classpath/depcomp @@ -1,9 +1,10 @@ #! /bin/sh # depcomp - compile a program generating dependencies as side-effects -scriptversion=2005-07-09.11 +scriptversion=2007-03-29.01 -# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software +# Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -91,7 +92,20 @@ gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. - "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" +## Unfortunately, FreeBSD c89 acceptance of flags depends upon +## the command line argument order; so add the flags where they +## appear in depend2.am. Note that the slowdown incurred here +## affects only configure: in makefiles, %FASTDEP% shortcuts this. + for arg + do + case $arg in + -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; + *) set fnord "$@" "$arg" ;; + esac + shift # fnord + shift # $arg + done + "$@" stat=$? if test $stat -eq 0; then : else @@ -201,34 +215,39 @@ aix) # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. - stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` - tmpdepfile="$stripped.u" + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then + tmpdepfile1=$dir$base.u + tmpdepfile2=$base.u + tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else + tmpdepfile1=$dir$base.u + tmpdepfile2=$dir$base.u + tmpdepfile3=$dir$base.u "$@" -M fi stat=$? - if test -f "$tmpdepfile"; then : - else - stripped=`echo "$stripped" | sed 's,^.*/,,'` - tmpdepfile="$stripped.u" - fi - if test $stat -eq 0; then : else - rm -f "$tmpdepfile" + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" + do + test -f "$tmpdepfile" && break + done if test -f "$tmpdepfile"; then - outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. - sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" - sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" + sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" + # That's a tab and a space in the []. + sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile @@ -276,6 +295,46 @@ icc) rm -f "$tmpdepfile" ;; +hp2) + # The "hp" stanza above does not work with aCC (C++) and HP's ia64 + # compilers, which have integrated preprocessors. The correct option + # to use with these is +Maked; it writes dependencies to a file named + # 'foo.d', which lands next to the object file, wherever that + # happens to be. + # Much of this is similar to the tru64 case; see comments there. + dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` + test "x$dir" = "x$object" && dir= + base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` + if test "$libtool" = yes; then + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir.libs/$base.d + "$@" -Wc,+Maked + else + tmpdepfile1=$dir$base.d + tmpdepfile2=$dir$base.d + "$@" +Maked + fi + stat=$? + if test $stat -eq 0; then : + else + rm -f "$tmpdepfile1" "$tmpdepfile2" + exit $stat + fi + + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" + do + test -f "$tmpdepfile" && break + done + if test -f "$tmpdepfile"; then + sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" + # Add `dependent.h:' lines. + sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile" + else + echo "#dummy" > "$depfile" + fi + rm -f "$tmpdepfile" "$tmpdepfile2" + ;; + tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. @@ -288,13 +347,13 @@ tru64) if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a - # static library. This mecanism is used in libtool 1.4 series to + # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two - # compilations output dependencies in in $dir.libs/$base.o.d and + # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is diff --git a/libjava/classpath/doc/Makefile.in b/libjava/classpath/doc/Makefile.in index f29a519..7c1b244 100644 --- a/libjava/classpath/doc/Makefile.in +++ b/libjava/classpath/doc/Makefile.in @@ -49,6 +49,8 @@ am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ $(top_srcdir)/../../ltoptions.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ + $(top_srcdir)/m4/ac_prog_javac.m4 \ + $(top_srcdir)/m4/ac_prog_javac_works.m4 \ $(top_srcdir)/m4/acattribute.m4 $(top_srcdir)/m4/accross.m4 \ $(top_srcdir)/m4/acinclude.m4 \ $(top_srcdir)/m4/ax_create_stdint_h.m4 \ @@ -154,7 +156,6 @@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ -ECJ = @ECJ@ ECJ_JAR = @ECJ_JAR@ EGREP = @EGREP@ ENABLE_LOCAL_SOCKETS_FALSE = @ENABLE_LOCAL_SOCKETS_FALSE@ @@ -166,19 +167,8 @@ EXTRA_CFLAGS = @EXTRA_CFLAGS@ FASTJAR = @FASTJAR@ FGREP = @FGREP@ FIND = @FIND@ -FOUND_ECJ_FALSE = @FOUND_ECJ_FALSE@ -FOUND_ECJ_TRUE = @FOUND_ECJ_TRUE@ -FOUND_GCJ_FALSE = @FOUND_GCJ_FALSE@ -FOUND_GCJ_TRUE = @FOUND_GCJ_TRUE@ -FOUND_JAVAC_FALSE = @FOUND_JAVAC_FALSE@ -FOUND_JAVAC_TRUE = @FOUND_JAVAC_TRUE@ -FOUND_JIKES_FALSE = @FOUND_JIKES_FALSE@ -FOUND_JIKES_TRUE = @FOUND_JIKES_TRUE@ -FOUND_KJC_FALSE = @FOUND_KJC_FALSE@ -FOUND_KJC_TRUE = @FOUND_KJC_TRUE@ FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@ FREETYPE2_LIBS = @FREETYPE2_LIBS@ -GCJ = @GCJ@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GDK_CFLAGS = @GDK_CFLAGS@ @@ -210,15 +200,12 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JAVAC = @JAVAC@ +JAVAC_MEM_OPT = @JAVAC_MEM_OPT@ JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION = @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@ JAVA_MAINTAINER_MODE_FALSE = @JAVA_MAINTAINER_MODE_FALSE@ JAVA_MAINTAINER_MODE_TRUE = @JAVA_MAINTAINER_MODE_TRUE@ JAY = @JAY@ JAY_SKELETON = @JAY_SKELETON@ -JIKES = @JIKES@ -JIKESENCODING = @JIKESENCODING@ -JIKESWARNINGS = @JIKESWARNINGS@ -KJC = @KJC@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBDEBUG = @LIBDEBUG@ @@ -266,10 +253,8 @@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRICT_WARNING_CFLAGS = @STRICT_WARNING_CFLAGS@ STRIP = @STRIP@ -USER_CLASSLIB = @USER_CLASSLIB@ +TOOLSDIR = @TOOLSDIR@ USER_JAVAH = @USER_JAVAH@ -USER_SPECIFIED_CLASSLIB_FALSE = @USER_SPECIFIED_CLASSLIB_FALSE@ -USER_SPECIFIED_CLASSLIB_TRUE = @USER_SPECIFIED_CLASSLIB_TRUE@ USE_ESCHER_FALSE = @USE_ESCHER_FALSE@ USE_ESCHER_TRUE = @USE_ESCHER_TRUE@ USE_PREBUILT_GLIBJ_ZIP_FALSE = @USE_PREBUILT_GLIBJ_ZIP_FALSE@ diff --git a/libjava/classpath/doc/api/Makefile.am b/libjava/classpath/doc/api/Makefile.am index b63b31f..76b35c5 100644 --- a/libjava/classpath/doc/api/Makefile.am +++ b/libjava/classpath/doc/api/Makefile.am @@ -2,7 +2,7 @@ if CREATE_API_DOCS noinst_DATA = html endif -sourcepath = $(top_builddir):$(top_srcdir):$(top_srcdir)/vm/reference:$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax +sourcepath = $(top_builddir):$(top_srcdir):$(top_srcdir)/vm/reference:$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax:$(top_srcdir)/external/jsr166 classpathbox = "