From 2bc043354c4edb1f5aad751285060fb722a63ea1 Mon Sep 17 00:00:00 2001 From: doko Date: Tue, 21 Oct 2008 17:55:01 +0000 Subject: libjava/ChangeLog: 2008-10-21 Andrew John Hughes * sources.am, Makfile.in: Regenerate. 2008-10-17 Matthias Klose * configure.ac: Fix bashisms. * configure: Regenerate. 2008-10-15 Matthias Klose * configure.ac: Disable build of gjdoc, if configured without --with-antlr-jar or if no antlr.jar found. * configure: Regenerate. 2008-10-09 Andrew John Hughes * classpath/configure.ac, * classpath/m4/ac_prog_antlr.m4, * classpath/m4/ac_prog_java.m4, * classpath/tools/Makefile.am: Ported --regen-gjdoc-parser patch and cantlr support from GNU Classpath. 2008-10-06 Andrew Haley * java/lang/Thread.java (Thread): Always create the ThreadLocalMap when creating a thread. (getThreadLocals) Don't lazily create the ThreadLocalMap. 2008-09-28 Andrew John Hughes * classpath/java/lang/ThreadLocalMap.java, * java/lang/ThreadLocalMap$Entry.h, * java/lang/ThreadLocalMap.h, * lib/java/lang/ThreadLocalMap.class, * lib/java/lang/ThreadLocalMap$Entry.class: Add the new files for the ThreadLocal patch. 2008-09-28 Andrew John Hughes * classpath/ChangeLog, * classpath/java/lang/InheritableThreadLocal.java, * classpath/java/lang/Thread.java, * classpath/java/lang/ThreadLocal.java: Merge Daniel Frampton's ThreadLocal patch. * gcj/javaprims.h: Updated. * java/lang/Thread.h: Regenerated. * java/lang/Thread.java: Replace WeakIdentityHashMap with ThreadLocalMap. (getThreadLocals()): Likewise. * java/lang/ThreadLocal.h: Regenerated. * java/lang/ThreadLocal.java: (computeNextHash()): New method. (ThreadLocal()): Initialise fastHash. (internalGet()): Updated to match Classpath's get(). (internalSet(Object)): Likewise for set(Object). (internalRemove()): Likewise for remove(). 2008-09-25 Andrew John Hughes * classpath/configure, * classpath/configure.ac: Resynchronise with Classpath's configure. * classpath/examples/Makefile.in: Add equivalent support for building as in tools/Makefile.in. * classpath/java/nio/Buffer.java, * classpath/java/nio/ByteBuffer.java, * classpath/java/nio/ByteBufferImpl.java, * classpath/java/nio/CharBuffer.java, * classpath/java/nio/CharBufferImpl.java, * classpath/java/nio/CharSequenceBuffer.java, * classpath/java/nio/CharViewBufferImpl.java, * classpath/java/nio/DirectByteBufferImpl.java, * classpath/java/nio/DoubleBuffer.java, * classpath/java/nio/DoubleBufferImpl.java, * classpath/java/nio/DoubleViewBufferImpl.java, * classpath/java/nio/FloatBuffer.java, * classpath/java/nio/FloatBufferImpl.java, * classpath/java/nio/FloatViewBufferImpl.java, * classpath/java/nio/IntBuffer.java, * classpath/java/nio/IntBufferImpl.java, * classpath/java/nio/IntViewBufferImpl.java, * classpath/java/nio/LongBuffer.java, * classpath/java/nio/LongBufferImpl.java, * classpath/java/nio/LongViewBufferImpl.java, * classpath/java/nio/MappedByteBuffer.java, * classpath/java/nio/MappedByteBufferImpl.java, * classpath/java/nio/ShortBuffer.java, * classpath/java/nio/ShortBufferImpl.java, * classpath/java/nio/ShortViewBufferImpl.java: Replace use of gnu.classpath.Pointer with gnu.gcj.RawData, and fix some formatting issues. * classpath/tools/gnu/classpath/tools/gjdoc/expr/JavaLexer.java, * classpath/tools/gnu/classpath/tools/gjdoc/expr/JavaLexer.smap, * classpath/tools/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.java, * classpath/tools/gnu/classpath/tools/gjdoc/expr/JavaRecognizer.smap, * classpath/tools/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.java, * classpath/tools/gnu/classpath/tools/gjdoc/expr/JavaTokenTypes.txt: Regenerated (later version of antlr). * java/nio/Buffer.h: Regenerated. * java/nio/Buffer.java: Ported changes from Classpath. * java/nio/ByteBuffer.h, * java/nio/CharBuffer.h: Regenerated. * java/nio/DirectByteBufferImpl.java: Ported changes from Classpath. * java/nio/DoubleBuffer.h, * java/nio/FloatBuffer.h, * java/nio/IntBuffer.h, * java/nio/LongBuffer.h, * java/nio/MappedByteBuffer.h, * java/nio/MappedByteBufferImpl.h: Regenerated. * java/nio/MappedByteBufferImpl.java: Ported changes from Classpath. * java/nio/ShortBuffer.h: Regenerated. 2008-09-24 Matthias Klose * configure.ac: Search for antlr.jar, if not configured. * configure: Regenerate. 2008-09-24 Matthias Klose * Makefile.am: Build a gjdoc binary, if enabled. * configure.ac: Add options --disable-gjdoc, --with-antlr-jar=file. * Makefile.in, */Makefile.in, configure: Regenerate. 2008-09-22 Andrew Haley * java/lang/String.java (toString(char[], int, int)): New method. 2008-09-14 Matthias Klose Import GNU Classpath (libgcj-import-20080914). * Regenerate class and header files. * Regenerate auto* files. * configure.ac: Don't pass --disable-gjdoc to classpath. * sources.am: Regenerated. * HACKING: Mention to build gjdoc in maintainer builds. * gnu/classpath/Configuration.java: Update classpath version. * gcj/javaprims.h: Update. 2008-09-08 Andrew John Hughes * Makefile.am: Replace natStringBuffer.cc and natStringBuilder.cc with natAbstractStringBuffer.cc. * Makefile.in: Regenerated. * java/lang/AbstractStringBuffer.java: (append(int)): Made native. (regionMatches(int,String)): Likewise. * java/lang/StringBuffer.h: Regenerated. * java/lang/StringBuffer.java: Remerged with GNU Classpath. * java/lang/StringBuilder.h: Regenerated. * java/lang/StringBuilder.java: Remerged with GNU Classpath. * java/lang/natAbstractStringBuffer.cc: Provide common native methods for StringBuffer and StringBuilder. * java/lang/natStringBuffer.cc, * java/lang/natStringBuilder.cc: Removed. 2008-09-04 Andrew John Hughes * Makefile.in, * classpath/configure: Regenerated. * gnu/gcj/util/natDebug.cc, * gnu/gcj/xlib/natColormap.cc, * gnu/gcj/xlib/natDisplay.cc, * gnu/gcj/xlib/natDrawable.cc, * gnu/gcj/xlib/natFont.cc, * gnu/gcj/xlib/natWMSizeHints.cc, * gnu/gcj/xlib/natWindow.cc, * gnu/gcj/xlib/natXImage.cc: Add :: prefix to namespaces. * java/io/CharArrayWriter.h, * java/lang/StringBuffer.h: Regenerated using patched gjavah. * java/lang/natStringBuffer.cc: Fix naming of append(jint). * java/sql/Timestamp.h: Regenerated using patched gjavah. * jni.cc: Rename p to functions to match change in GNU Classpath. * scripts/makemake.tcl: Switch gnu.java.math to BC compilation. * sources.am: Regenerated. 2008-08-21 Andrew John Hughes * Makefile.in: Updated location of Configuration.java. * classpath/lib/gnu/java/locale/LocaleData.class: Regenerated. 2008-08-18 Andrew John Hughes * Makefile.in: Updated with new Java files. * classpath/configure: Regenerated. * classpath/tools/Makefile.am: Add missing use of GJDOC_EX so --disable-gjdoc works. * classpath/tools/Makefile.in: Regenerated. 2008-08-15 Matthias Klose Import GNU Classpath (libgcj-import-20080811). * Regenerate class and header files. * Regenerate auto* files. * configure.ac: Don't pass --with-fastjar to classpath, substitute new dummy value in classpath/gnu/classpath/Configuration.java.in, pass --disable-gjdoc to classpath. * scripts/makemake.tcl: * sources.am: Regenerated. * java/lang/AbstractStringBuffer.java, gnu/java/lang/VMCPStringBuilder.java: New, copied from classpath, use System instead of VMSystem. * java/lang/StringBuffer.java: Merge from classpath. * java/lang/ClassLoader.java: Merge from classpath. * gcj/javaprims.h: Update class definitions, remove _Jv_jobjectRefType, jobjectRefType definitions. libjava/classpath/ChangeLog.gcj: 2008-10-21 Matthias Klose * classpath/tools/gnu/classpath/tools/gjdoc/expr/Java*: Move from ... * classpath/tools/generated/gnu/classpath/tools/gjdoc/expr/ ... here. * Update .class files. 2008-10-21 Andrew John Hughes * tools/Makefile.am: Always generate parser in the srcdir. 2008-10-21 Matthias Klose * doc/Makefile.am (MAINTAINERCLEANFILES): Add gjdoc.1. * doc/Makefile.in: Regenerate. 2008-10-20 Matthias Klose * configure.ac: Don't check for working java, if not configured with --enable-java-maintainer-mode. * configure: Regenerate. 2008-10-19 Matthias Klose * m4/ac_prog_java.m4: Revert previous change. * m4/ac_prog_javac.m4: Apply it here. * configure: Regenerate. 2008-10-19 Matthias Klose * m4/ac_prog_javac.m4: Don't check for working javac, if not configured with --enable-java-maintainer-mode. * configure: Regenerate. * Makefile.in, */Makefile.in: Regenerate. 2008-09-30 Matthias Klose * m4/ac_prog_antlr.m4: Check for cantlr binary as well. 2008-09-29 Matthias Klose * m4/ac_prog_antlr.m4: Check for antlr binary as well. 2008-09-28 Matthias Klose * PR libgcj/37636. Revert: 2008-02-20 Matthias Klose * tools/Makefile.am ($(TOOLS_ZIP)): Revert part of previous change, Do copy resource files in JAVA_MAINTAINER_MODE only. * tools/Makefile.in: Regenerate. 2008-09-14 Matthias Klose * m4/ac_prog_javac_works.m4, m4/ac_prog_javac.m4, m4/acinclude.m4: Revert local changes. * m4/ac_prog_antlr.m4: Check for an runantlr binary. * tools/Makefile.am, lib/Makefile.am: Revert local changes (JCOMPILER). * tools/Makefile.am: Remove USE_JAVAC_FLAGS, pass ANTLR_JAR in GLIBJ_CLASSPATH. 2008-09-14 Matthias Klose Revert: Daniel Frampton * AUTHORS: Added. * java/lang/InheritableThreadLocal.java, * java/lang/Thread.java, * java/lang/ThreadLocal.java: Modified to use java.lang.ThreadLocalMap. * java/lang/ThreadLocalMap.java: New cheaper ThreadLocal-specific WeakHashMap. 2008-08-15 Matthias Klose * m4/acinclude.m4 (CLASSPATH_JAVAC_MEM_CHECK): Remove unknown args for javac. libjava/classpath/ChangeLog: 2008-10-20 Andrew John Hughes * m4/ac_prog_antlr.m4: Remove redundant checks. * tools/Makefile.am: Use gjdoc_gendir when calling antlr. 2008-10-15 Andrew John Hughes * configure.ac: Remove superfluous AC_PROG_JAVA call. 2008-10-06 Andrew John Hughes * m4/ac_prog_antlr: Check for cantlr as well. * tools/Makefile.am: Only build GJDoc parser when both CREATE_GJDOC and CREATE_GJDOC_PARSER are on. 2008-10-02 Andrew John Hughes * configure.ac: Add regen-gjdoc-parser option, and separate antlr tests. * m4/ac_prog_antlr.m4: Turn single test into AC_LIB_ANTLR and AC_PROG_ANTLR. * m4/ac_prog_java.m4: Quote tests. * tools/Makefile.am: Support CREATE_GJDOC_PARSER option. 2008-09-14 Andrew John Hughes * examples/Makefile.am: Check lib directly as well as glibj.zip for boot classes. * m4/acinclude.m4: Only require the class files to be built to allow the tools and examples to be built, not the installation of glibj.zip. * tools/Makefile.am: Check lib directly as well as glibj.zip for boot classes. 2008-09-13 Andrew John Hughes * examples/Makefile.am, * lib/Makefile.am: Add GCJ rules. * m4/ac_prog_javac.m4: Check whether JAVAC is gcj. * m4/ac_prog_javac_works.m4: Add GCJ rules. * m4/acinclude.m4: Don't bother checking for -J if using GCJ. * tools/Makefile.am: Add GCJ rules. 2007-08-23 Daniel Frampton * AUTHORS: Added. * java/lang/InheritableThreadLocal.java, * java/lang/Thread.java, * java/lang/ThreadLocal.java: Modified to use java.lang.ThreadLocalMap. * java/lang/ThreadLocalMap.java: New cheaper ThreadLocal-specific WeakHashMap. 2008-02-07 Ian Rogers * java/util/zip/ZipEntry.java: Use byte fields instead of integer fields, store the time as well as the DOS time and don't retain a global Calendar instance. (setDOSTime(int)): Set KNOWN_DOSTIME instead of KNOWN_TIME, and unset KNOWN_TIME. (getDOSTime()): Compute DOS time from UNIX time only when needed. (clone()): Provide cloning via the ZipEntry constructor where possible. (setTime(long)): Don't compute DOS time at this point. (getCalendar()): Removed. 2008-09-09 Andrew John Hughes * tools/gnu/classpath/tools/getopt/Parser.java: (setHeader(String)): Make synchronized. (setFooter(String)): Likewise. * tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java, (reset()): Make synchronized. (name(Class)): Likewise. 2008-09-04 Robert Schuster * gnu/java/nio/charset/ByteDecodeLoopHelper: (arrayDecodeLoop): Added new break label, escape to that label. * gnu/java/nio/charset/ByteEncodeLoopHelper: (arrayDecodeLoop): Added new break label, escape to that label. 2008-09-04 Robert Schuster * java/text/DecimalFormat.java: (scanFix): Use 'i + 1' when looking at following character. (scanNegativePattern): Dito. 2008-09-02 Andrew John Hughes * tools/gnu/classpath/tools/javah/ClassWrapper.java: (makeVtable()): Populate methodNameMap. (printMethods(CniPrintStream)): Always use pre-populated methodNameMap for bridge targets. 2008-09-01 Mario Torre * gnu/java/awt/peer/x/XImage.java (XImageProducer): remove @Override annotation to allow compilation on javac < 1.6 and ecj < 3.4. 2008-09-01 Mario Torre * gnu/java/awt/peer/x/XGraphicsDevice.java (getDisplay): fix to support new Escher API. * gnu/java/awt/peer/x/XImage.java (getSource): method implemented. * gnu/java/awt/peer/x/XImage.java (XImageProducer): implement ImageProducer for getSource. 2008-09-01 Andrew John Hughes * gnu/java/util/regex/BacktrackStack.java, * gnu/java/util/regex/CharIndexed.java, * gnu/java/util/regex/CharIndexedCharArray.java, * gnu/java/util/regex/CharIndexedCharSequence.java, * gnu/java/util/regex/CharIndexedInputStream.java, * gnu/java/util/regex/CharIndexedString.java, * gnu/java/util/regex/CharIndexedStringBuffer.java, * gnu/java/util/regex/RE.java, * gnu/java/util/regex/REException.java, * gnu/java/util/regex/REFilterInputStream.java, * gnu/java/util/regex/REMatch.java, * gnu/java/util/regex/REMatchEnumeration.java, * gnu/java/util/regex/RESyntax.java, * gnu/java/util/regex/REToken.java, * gnu/java/util/regex/RETokenAny.java, * gnu/java/util/regex/RETokenBackRef.java, * gnu/java/util/regex/RETokenChar.java, * gnu/java/util/regex/RETokenEnd.java, * gnu/java/util/regex/RETokenEndOfPreviousMatch.java, * gnu/java/util/regex/RETokenEndSub.java, * gnu/java/util/regex/RETokenIndependent.java, * gnu/java/util/regex/RETokenLookAhead.java, * gnu/java/util/regex/RETokenLookBehind.java, * gnu/java/util/regex/RETokenNamedProperty.java, * gnu/java/util/regex/RETokenOneOf.java, * gnu/java/util/regex/RETokenPOSIX.java, * gnu/java/util/regex/RETokenRange.java, * gnu/java/util/regex/RETokenRepeated.java, * gnu/java/util/regex/RETokenStart.java, * gnu/java/util/regex/RETokenWordBoundary.java, * gnu/java/util/regex/UncheckedRE.java: Fix indentation. 2008-09-01 Andrew John Hughes * gnu/java/util/regex/RETokenStart.java: (getMaximumLength()): Add Override annotation. (matchThis(CharIndexed, REMatch)): Likewise. (returnsFixedLengthMatches()): Renamed from returnsFixedLengthmatches and added Override annotation. (findFixedLengthMatches(CharIndexed,REMatch,int)): Add Override annotation. (dump(CPStringBuilder)): Likewise. * gnu/javax/print/ipp/IppRequest.java: (RequestWriter.writeOperationAttributes(AttributeSet)): Throw exception, don't just create and drop it. * javax/management/MBeanServerPermission.java: (MBeanServerPermissionCollection.add(Permission)): Compare against individual Strings not the entire array, and store the result of replace. * javax/swing/text/html/StyleSheet.java: (setBaseFontSize(size)): Store result of trim(). 2008-09-01 Andrew John Hughes * javax/tools/FileObject.java: (openReader(boolean)): Document new parameter. 2008-03-27 Michael Franz PR classpath/35690: * javax/tools/FileObject.java: (toUri()): Fix case from toURI. (openReader(boolean)): Add missing boolean argument. 2008-08-26 Andrew John Hughes PR classpath/35487: * gnu/javax/management/Server.java: (beans): Change to ConcurrentHashMap. (defaultDomain): Make final. (outer): Likewise. (LazyListenersHolder): Added to wrap listeners, also now a ConcurrentHashMap, providing lazy initialisation safely. (sequenceNumber): Documented. (getBean(ObjectName)): Remove redundant cast. (addNotificationListener(ObjectName,NotificationListener, NotificationFilter,Object)): Remove map initialisation and use holder. (getObjectInstance(ObjectName)): Remove redundant cast. (registerMBean(Object,ObjectName)): Add bean atomically. (removeNotificationListener(ObjectName,NotificationListener)): Simplified. (removeNotificationListener(ObjectName,NotificationListener, NotificationFilter,Object)): Likewise. (notify(ObjectName,String)): Documented. 2008-08-26 Andrew John Hughes * gnu/javax/management/Server.java: Genericised. 2008-08-26 Andrew John Hughes * gnu/javax/management/Translator.java: Genericised. 2008-08-26 Andrew John Hughes * javax/management/DefaultLoaderRepository.java, * javax/management/JMX.java, * javax/management/MBeanAttributeInfo.java, * javax/management/MBeanConstructorInfo.java, * javax/management/MBeanOperationInfo.java, * javax/management/MBeanServerDelegate.java: Fix warnings due to generics. 2008-08-25 Andrew John Hughes * javax/management/MBeanPermission.java, * javax/management/MBeanServerDelegate.java, * javax/management/MBeanServerFactory.java, * javax/management/MBeanServerInvocationHandler.java, * javax/management/MBeanServerPermission.java: Fix warnings due to use of non-generic collections. 2008-08-25 Mario Torre * gnu/javax/rmi/CORBA/RmiUtilities.java (readValue): check if sender is null to avoid NPE. 2008-08-22 Mario Torre * gnu/CORBA/OrbFunctional.java (set_parameters): Fix NullPointerException checking when param is null. 2008-08-23 Andrew John Hughes * java/util/regex/Matcher.java: (reset()): Reset append position so we don't try and append to the end of the old input. 2008-08-22 Andrew John Hughes PR classpath/32028: * m4/acinclude.m4: Also allow versions of GJDoc from 0.8* on, as CVS is 0.8.0-pre. 2008-08-21 Andrew John Hughes PR classpath/32028: * m4/acinclude.m4: (CLASSPATH_WITH_GJDOC): Ensure version 0.7.9 is being used. 2008-08-20 Andrew John Hughes * tools/Makefile.am: Add taglets subdirectory to list of excluded paths when GJDoc is not compiled. 2008-08-19 David P Grove * scripts/check_jni_methods.sh.in: Fix build issue on AIX by splitting generation of method list. 2008-08-18 Andrew John Hughes * native/jni/gstreamer-peer/gst_native_pipeline.c: (get_free_space(int)): Use #else not #elif when there is no condition. 2008-08-17 Andrew John Hughes PR classpath/31895: * java/text/DecimalFormat.java: (setCurrency(Currency)): Update prefixes and suffixes when currency changes. * java/text/DecimalFormatSymbols.java: (DecimalFormatSymbols(Locale)): Set locale earlier so it can be used by setCurrency(Currency). (setCurrency(Currency)): Set the symbol correctly using the locale of the instance. * java/util/Currency.java: Throw error instead of just printing a message. 2008-08-17 Andrew John Hughes * javax/activation/ActivationDataFlavor.java: Suppress warnings from public API. (mimeType): Made final. (representationClass): Added generic type and made final. (normalizeMimeTypeParameter(String,String)): Use CPStringBuilder. * javax/activation/CommandInfo.java: (verb): Made final. (className): Made final. * javax/activation/DataHandler.java: (dataSource): Made final. * javax/activation/FileDataSource.java: (file): Made final. * javax/activation/MailcapCommandMap.java: Use generics on collections and CPStringBuilder instead of StringBuffer. * javax/activation/MimeType.java: (toString()): Use CPStringBuilder. (getBaseType()): Likewise. * javax/activation/MimeTypeParameterList.java: Use generics on collections and CPStringBuilder instead of StringBuffer. * javax/activation/MimeTypeParseException.java: (MimeTypeParseException(String,String)): Use CPStringBuilder. * javax/activation/MimetypesFileTypeMap.java: Use generics on collections and CPStringBuilder instead of StringBuffer. * javax/activation/URLDataSource.java: (url): Made final. 2008-08-17 Andrew John Hughes * gnu/javax/activation/viewers/ImageViewer.java, * gnu/javax/activation/viewers/TextEditor.java, * gnu/javax/activation/viewers/TextViewer.java, * javax/activation/ActivationDataFlavor.java, * javax/activation/CommandInfo.java, * javax/activation/CommandMap.java, * javax/activation/CommandObject.java, * javax/activation/DataContentHandler.java, * javax/activation/DataContentHandlerFactory.java, * javax/activation/DataHandler.java, * javax/activation/DataHandlerDataSource.java, * javax/activation/DataSource.java, * javax/activation/DataSourceDataContentHandler.java, * javax/activation/FileDataSource.java, * javax/activation/FileTypeMap.java, * javax/activation/MailcapCommandMap.java, * javax/activation/MimeType.java, * javax/activation/MimeTypeParameterList.java, * javax/activation/MimeTypeParseException.java, * javax/activation/MimetypesFileTypeMap.java, * javax/activation/ObjectDataContentHandler.java, * javax/activation/URLDataSource.java, * javax/activation/UnsupportedDataTypeException.java, * javax/activation/package.html, * resource/META-INF/mailcap.default, * resource/META-INF/mimetypes.default: Import GNU JAF CVS as of 17/08/2008. 2006-04-25 Archit Shah * javax/activation/MimeTypeParameterList.java: Insert ';' separator before parameter list. 2005-06-29 Xavier Poinsard * javax/activation/ObjectDataContentHandler.java: Fixed typo. 2005-05-28 Chris Burdess * javax/activation/CommandMap.java, * javax/activation/MailcapCommandMap.java: Updated to JAF 1.1. 2004-06-09 Chris Burdess * javax/activation/MailcapCommandMap.java: Fixed bug whereby x-java prefix was not attempted. 2008-08-17 Andrew John Hughes * AUTHORS: Added Laszlo. 2008-04-20 Andrew John Hughes PR classpath/30436: * java/util/Scanner.java: Fix package to be java.util and correct indentation. 2007-07-25 Laszlo Andras Hernadi PR classpath/30436: * java/util/Scanner.java: Initial implementation. 2008-08-17 Andrew John Hughes * java/util/regex/Matcher.java: (toMatchResult()): Implemented. 2008-08-13 Joshua Sumali * doc/Makefile.am (gjdoc.pod): Generate gjdoc pod from cp-tools.texinfo instead of invoke.texi. Remove invoke.texi from EXTRA_DIST. * doc/invoke.texi: Removed and merged into ... * doc/cp-tools.texinfo: Here 2008-08-12 Robert Schuster * native/jni/java-net/local.c (local_bind): Removed fprintf call, fixed access outside of array bounds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141271 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/classpath/include/Makefile.am | 3 + libjava/classpath/include/Makefile.in | 28 +- libjava/classpath/include/config.h.in | 12 + libjava/classpath/include/gnu_java_math_GMP.h | 58 +++ .../gnu_java_util_prefs_gconf_GConfNativePeer.h | 16 +- libjava/classpath/include/java_io_VMFile.h | 1 + .../include/java_net_VMNetworkInterface.h | 4 + libjava/classpath/include/jni.h | 481 ++++++++++----------- 8 files changed, 351 insertions(+), 252 deletions(-) create mode 100644 libjava/classpath/include/gnu_java_math_GMP.h (limited to 'libjava/classpath/include') diff --git a/libjava/classpath/include/Makefile.am b/libjava/classpath/include/Makefile.am index 4920ca08c48..ab59f0f42b0 100644 --- a/libjava/classpath/include/Makefile.am +++ b/libjava/classpath/include/Makefile.am @@ -133,6 +133,7 @@ $(XMLJ_H_FILES) \ $(GTKPEER_H_FILES) \ $(QTPEER_H_FILES) \ $(GCONF_PREFS_FILES) \ +gnu_java_math_GMP.h \ gnu_java_net_VMPlainSocketImpl.h \ gnu_java_net_local_LocalSocketImpl.h \ gnu_java_nio_EpollSelectorImpl.h \ @@ -370,6 +371,8 @@ gnu_javax_sound_sampled_gstreamer_lines_GstNativeDataLine.h: $(top_builddir)/gnu $(JAVAH) -o $@ gnu.javax.sound.sampled.gstreamer.lines.GstNativeDataLine gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h: $(top_builddir)/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java $(JAVAH) -o $@ gnu.javax.sound.sampled.gstreamer.lines.GstPipeline +gnu_java_math_GMP.h: $(top_srcdir)/gnu/java/math/GMP.java + $(JAVAH) -o $@ gnu.java.math.GMP gnu_java_net_VMPlainSocketImpl.h: $(top_srcdir)/vm/reference/gnu/java/net/VMPlainSocketImpl.java $(JAVAH) -o $@ gnu.java.net.VMPlainSocketImpl gnu_java_net_local_LocalSocketImpl.h: $(top_srcdir)/gnu/java/net/local/LocalSocketImpl.java diff --git a/libjava/classpath/include/Makefile.in b/libjava/classpath/include/Makefile.in index c94219b8605..7caa9c8d3c2 100644 --- a/libjava/classpath/include/Makefile.in +++ b/libjava/classpath/include/Makefile.in @@ -51,6 +51,9 @@ am__aclocal_m4_deps = $(top_srcdir)/../../config/depstand.m4 \ $(top_srcdir)/../../ltsugar.m4 \ $(top_srcdir)/../../ltversion.m4 \ $(top_srcdir)/../../lt~obsolete.m4 \ + $(top_srcdir)/m4/ac_prog_antlr.m4 \ + $(top_srcdir)/m4/ac_prog_java.m4 \ + $(top_srcdir)/m4/ac_prog_java_works.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 \ @@ -73,6 +76,8 @@ ACLOCAL = @ACLOCAL@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ +ANTLR = @ANTLR@ +ANTLR_JAR = @ANTLR_JAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ @@ -104,6 +109,12 @@ CREATE_DSSI_LIBRARIES_FALSE = @CREATE_DSSI_LIBRARIES_FALSE@ CREATE_DSSI_LIBRARIES_TRUE = @CREATE_DSSI_LIBRARIES_TRUE@ CREATE_GCONF_PEER_LIBRARIES_FALSE = @CREATE_GCONF_PEER_LIBRARIES_FALSE@ CREATE_GCONF_PEER_LIBRARIES_TRUE = @CREATE_GCONF_PEER_LIBRARIES_TRUE@ +CREATE_GJDOC_FALSE = @CREATE_GJDOC_FALSE@ +CREATE_GJDOC_PARSER_FALSE = @CREATE_GJDOC_PARSER_FALSE@ +CREATE_GJDOC_PARSER_TRUE = @CREATE_GJDOC_PARSER_TRUE@ +CREATE_GJDOC_TRUE = @CREATE_GJDOC_TRUE@ +CREATE_GMPBI_LIBRARY_FALSE = @CREATE_GMPBI_LIBRARY_FALSE@ +CREATE_GMPBI_LIBRARY_TRUE = @CREATE_GMPBI_LIBRARY_TRUE@ CREATE_GSTREAMER_PEER_LIBRARIES_FALSE = @CREATE_GSTREAMER_PEER_LIBRARIES_FALSE@ CREATE_GSTREAMER_PEER_LIBRARIES_TRUE = @CREATE_GSTREAMER_PEER_LIBRARIES_TRUE@ CREATE_GTK_PEER_LIBRARIES_FALSE = @CREATE_GTK_PEER_LIBRARIES_FALSE@ @@ -142,11 +153,12 @@ ERROR_CFLAGS = @ERROR_CFLAGS@ EXAMPLESDIR = @EXAMPLESDIR@ EXEEXT = @EXEEXT@ EXTRA_CFLAGS = @EXTRA_CFLAGS@ -FASTJAR = @FASTJAR@ FGREP = @FGREP@ FIND = @FIND@ FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@ FREETYPE2_LIBS = @FREETYPE2_LIBS@ +GCJ_JAVAC_FALSE = @GCJ_JAVAC_FALSE@ +GCJ_JAVAC_TRUE = @GCJ_JAVAC_TRUE@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ GDK_CFLAGS = @GDK_CFLAGS@ @@ -156,6 +168,8 @@ GENINSRC_TRUE = @GENINSRC_TRUE@ GJDOC = @GJDOC@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_LIBS = @GLIB_LIBS@ +GMP_CFLAGS = @GMP_CFLAGS@ +GMP_LIBS = @GMP_LIBS@ GREP = @GREP@ GSTREAMER_BASE_CFLAGS = @GSTREAMER_BASE_CFLAGS@ GSTREAMER_BASE_LIBS = @GSTREAMER_BASE_LIBS@ @@ -177,7 +191,10 @@ INSTALL_GLIBJ_ZIP_TRUE = @INSTALL_GLIBJ_ZIP_TRUE@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +JAR = @JAR@ +JAVA = @JAVA@ JAVAC = @JAVAC@ +JAVAC_IS_GCJ = @JAVAC_IS_GCJ@ JAVAC_MEM_OPT = @JAVAC_MEM_OPT@ JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION = @JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@ JAVA_MAINTAINER_MODE_FALSE = @JAVA_MAINTAINER_MODE_FALSE@ @@ -243,8 +260,10 @@ USE_ESCHER_TRUE = @USE_ESCHER_TRUE@ USE_PREBUILT_GLIBJ_ZIP_FALSE = @USE_PREBUILT_GLIBJ_ZIP_FALSE@ USE_PREBUILT_GLIBJ_ZIP_TRUE = @USE_PREBUILT_GLIBJ_ZIP_TRUE@ VERSION = @VERSION@ -VM_BINARY = @VM_BINARY@ +WANT_NATIVE_BIG_INTEGER = @WANT_NATIVE_BIG_INTEGER@ WARNING_CFLAGS = @WARNING_CFLAGS@ +WITH_JAR_FALSE = @WITH_JAR_FALSE@ +WITH_JAR_TRUE = @WITH_JAR_TRUE@ XML_CFLAGS = @XML_CFLAGS@ XML_LIBS = @XML_LIBS@ XSLT_CFLAGS = @XSLT_CFLAGS@ @@ -255,6 +274,7 @@ X_EXTRA_LIBS = @X_EXTRA_LIBS@ X_LIBS = @X_LIBS@ X_PRE_LIBS = @X_PRE_LIBS@ ZIP = @ZIP@ +ac_ct_ANTLR = @ac_ct_ANTLR@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ @@ -314,6 +334,7 @@ target_cpu = @target_cpu@ target_os = @target_os@ target_vendor = @target_vendor@ toolexeclibdir = @toolexeclibdir@ +uudecode = @uudecode@ vm_classes = @vm_classes@ @CREATE_JNI_HEADERS_FALSE@DISTCLEANFILES = jni_md.h config-int.h @CREATE_JNI_HEADERS_TRUE@DISTCLEANFILES = jni_md.h config-int.h $(H_FILES) @@ -442,6 +463,7 @@ $(XMLJ_H_FILES) \ $(GTKPEER_H_FILES) \ $(QTPEER_H_FILES) \ $(GCONF_PREFS_FILES) \ +gnu_java_math_GMP.h \ gnu_java_net_VMPlainSocketImpl.h \ gnu_java_net_local_LocalSocketImpl.h \ gnu_java_nio_EpollSelectorImpl.h \ @@ -858,6 +880,8 @@ uninstall-am: uninstall-info-am @CREATE_JNI_HEADERS_TRUE@ $(JAVAH) -o $@ gnu.javax.sound.sampled.gstreamer.lines.GstNativeDataLine @CREATE_JNI_HEADERS_TRUE@gnu_javax_sound_sampled_gstreamer_lines_GstPipeline.h: $(top_builddir)/gnu/javax/sound/sampled/gstreamer/lines/GstPipeline.java @CREATE_JNI_HEADERS_TRUE@ $(JAVAH) -o $@ gnu.javax.sound.sampled.gstreamer.lines.GstPipeline +@CREATE_JNI_HEADERS_TRUE@gnu_java_math_GMP.h: $(top_srcdir)/gnu/java/math/GMP.java +@CREATE_JNI_HEADERS_TRUE@ $(JAVAH) -o $@ gnu.java.math.GMP @CREATE_JNI_HEADERS_TRUE@gnu_java_net_VMPlainSocketImpl.h: $(top_srcdir)/vm/reference/gnu/java/net/VMPlainSocketImpl.java @CREATE_JNI_HEADERS_TRUE@ $(JAVAH) -o $@ gnu.java.net.VMPlainSocketImpl @CREATE_JNI_HEADERS_TRUE@gnu_java_net_local_LocalSocketImpl.h: $(top_srcdir)/gnu/java/net/local/LocalSocketImpl.java diff --git a/libjava/classpath/include/config.h.in b/libjava/classpath/include/config.h.in index 4330a30da8e..0af9aba1328 100644 --- a/libjava/classpath/include/config.h.in +++ b/libjava/classpath/include/config.h.in @@ -96,6 +96,9 @@ /* Define to 1 if you have the `getsockopt' function. */ #undef HAVE_GETSOCKOPT +/* Define to 1 if you have the header file. */ +#undef HAVE_GMP_H + /* Define if function attributes a la GCC 2.5 and higher are available. */ #undef HAVE_GNUC25_ATTRIB @@ -144,6 +147,9 @@ /* Define to 1 if you have the `ltdl' library (-lltdl). */ #undef HAVE_LIBLTDL +/* Define to 1 if you have the `socket' library (-lsocket). */ +#undef HAVE_LIBSOCKET + /* Define to 1 if you have the `listen' function. */ #undef HAVE_LISTEN @@ -291,6 +297,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SELECT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKIO_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H @@ -413,6 +422,9 @@ /* Version number of package */ #undef VERSION +/* Define to 1 if gmp is usable */ +#undef WITH_GNU_MP + /* whether byteorder is bigendian */ #undef WORDS_BIGENDIAN diff --git a/libjava/classpath/include/gnu_java_math_GMP.h b/libjava/classpath/include/gnu_java_math_GMP.h new file mode 100644 index 00000000000..dc79c69d28f --- /dev/null +++ b/libjava/classpath/include/gnu_java_math_GMP.h @@ -0,0 +1,58 @@ +/* DO NOT EDIT THIS FILE - it is machine generated */ + +#include + +#ifndef __gnu_java_math_GMP__ +#define __gnu_java_math_GMP__ + +#ifdef __cplusplus +extern "C" +{ +#endif + +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natInitializeLibrary (JNIEnv *env, jclass); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natInitialize (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natFinalize (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natFromLong (JNIEnv *env, jobject, jlong); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natFromBI (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natFromByteArray (JNIEnv *env, jobject, jbyteArray); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natFromString (JNIEnv *env, jobject, jstring, jint); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natFromSignedMagnitude (JNIEnv *env, jobject, jbyteArray, jboolean); +JNIEXPORT jstring JNICALL Java_gnu_java_math_GMP_natToString (JNIEnv *env, jobject, jint); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natToByteArray (JNIEnv *env, jobject, jbyteArray); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natAbsIntValue (JNIEnv *env, jobject); +JNIEXPORT jdouble JNICALL Java_gnu_java_math_GMP_natDoubleValue (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natCompare (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natAdd (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natSubtract (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natMultiply (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natQuotient (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natRemainder (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natQuotientAndRemainder (JNIEnv *env, jobject, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natModulo (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natPow (JNIEnv *env, jobject, jint, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natModPow (JNIEnv *env, jobject, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natModInverse (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natGCD (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natTestPrimality (JNIEnv *env, jobject, jint); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natShiftLeft (JNIEnv *env, jobject, jint, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natShiftRight (JNIEnv *env, jobject, jint, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natLowestSetBit (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natAbs (JNIEnv *env, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natNegate (JNIEnv *env, jobject, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natBitLength (JNIEnv *env, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natSetBitCount (JNIEnv *env, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natXor (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natOr (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natAnd (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natAndNot (JNIEnv *env, jobject, jobject, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natFlipBit (JNIEnv *env, jobject, jint, jobject); +JNIEXPORT jint JNICALL Java_gnu_java_math_GMP_natTestBit (JNIEnv *env, jobject, jint); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natSetBit (JNIEnv *env, jobject, jint, jboolean, jobject); +JNIEXPORT void JNICALL Java_gnu_java_math_GMP_natNot (JNIEnv *env, jobject, jobject); + +#ifdef __cplusplus +} +#endif + +#endif /* __gnu_java_math_GMP__ */ diff --git a/libjava/classpath/include/gnu_java_util_prefs_gconf_GConfNativePeer.h b/libjava/classpath/include/gnu_java_util_prefs_gconf_GConfNativePeer.h index d63f049c901..1ff36721a99 100644 --- a/libjava/classpath/include/gnu_java_util_prefs_gconf_GConfNativePeer.h +++ b/libjava/classpath/include/gnu_java_util_prefs_gconf_GConfNativePeer.h @@ -13,15 +13,13 @@ extern "C" JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache (JNIEnv *env, jclass); JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class (JNIEnv *env, jclass); JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class (JNIEnv *env, jclass); -JNIEXPORT jboolean JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists (JNIEnv *env, jclass, jstring); -JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir (JNIEnv *env, jclass, jstring); -JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir (JNIEnv *env, jclass, jstring); -JNIEXPORT jboolean JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string (JNIEnv *env, jclass, jstring, jstring); -JNIEXPORT jstring JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string (JNIEnv *env, jclass, jstring); -JNIEXPORT jboolean JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset (JNIEnv *env, jclass, jstring); -JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync (JNIEnv *env, jclass); -JNIEXPORT jobject JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes (JNIEnv *env, jclass, jstring); -JNIEXPORT jobject JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1dir_1exists (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1set_1string (JNIEnv *env, jclass, jstring, jstring); +JNIEXPORT jstring JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1get_1string (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unset (JNIEnv *env, jclass, jstring); +JNIEXPORT void JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1suggest_1sync (JNIEnv *env, jclass); +JNIEXPORT jobject JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1all_1nodes (JNIEnv *env, jclass, jstring); +JNIEXPORT jobject JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1all_1keys (JNIEnv *env, jclass, jstring); JNIEXPORT jstring JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key (JNIEnv *env, jclass, jstring); JNIEXPORT jstring JNICALL Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key (JNIEnv *env, jclass, jstring); diff --git a/libjava/classpath/include/java_io_VMFile.h b/libjava/classpath/include/java_io_VMFile.h index 2702176744c..722c315820b 100644 --- a/libjava/classpath/include/java_io_VMFile.h +++ b/libjava/classpath/include/java_io_VMFile.h @@ -28,6 +28,7 @@ JNIEXPORT jboolean JNICALL Java_java_io_VMFile_setWritable (JNIEnv *env, jclass, JNIEXPORT jboolean JNICALL Java_java_io_VMFile_setExecutable (JNIEnv *env, jclass, jstring, jboolean, jboolean); JNIEXPORT jboolean JNICALL Java_java_io_VMFile_isFile (JNIEnv *env, jclass, jstring); JNIEXPORT jboolean JNICALL Java_java_io_VMFile_canWrite (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_java_io_VMFile_canWriteDirectory (JNIEnv *env, jclass, jstring); JNIEXPORT jboolean JNICALL Java_java_io_VMFile_canRead (JNIEnv *env, jclass, jstring); JNIEXPORT jboolean JNICALL Java_java_io_VMFile_canExecute (JNIEnv *env, jclass, jstring); JNIEXPORT jboolean JNICALL Java_java_io_VMFile_isDirectory (JNIEnv *env, jclass, jstring); diff --git a/libjava/classpath/include/java_net_VMNetworkInterface.h b/libjava/classpath/include/java_net_VMNetworkInterface.h index ff95094a223..3d37e4be47e 100644 --- a/libjava/classpath/include/java_net_VMNetworkInterface.h +++ b/libjava/classpath/include/java_net_VMNetworkInterface.h @@ -12,6 +12,10 @@ extern "C" JNIEXPORT void JNICALL Java_java_net_VMNetworkInterface_initIds (JNIEnv *env, jclass); JNIEXPORT jobjectArray JNICALL Java_java_net_VMNetworkInterface_getVMInterfaces (JNIEnv *env, jclass); +JNIEXPORT jboolean JNICALL Java_java_net_VMNetworkInterface_isUp (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_java_net_VMNetworkInterface_isLoopback (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_java_net_VMNetworkInterface_isPointToPoint (JNIEnv *env, jclass, jstring); +JNIEXPORT jboolean JNICALL Java_java_net_VMNetworkInterface_supportsMulticast (JNIEnv *env, jclass, jstring); #ifdef __cplusplus } diff --git a/libjava/classpath/include/jni.h b/libjava/classpath/include/jni.h index 707edd61263..1c4e69716fd 100644 --- a/libjava/classpath/include/jni.h +++ b/libjava/classpath/include/jni.h @@ -1,5 +1,5 @@ /* jni.h - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008 Free Software Foundation This file is part of GNU Classpath. @@ -136,16 +136,6 @@ struct _jfieldID; struct _jmethodID; typedef struct _jfieldID *jfieldID; typedef struct _jmethodID *jmethodID; - -enum _jobjectRefType -{ - JNIInvalidRefType = 0, - JNILocalRefType = 1, - JNIGlobalRefType = 2, - JNIWeakGlobalRefType = 3 -}; - -typedef enum _jobjectRefType jobjectRefType; #endif /* Version numbers. */ @@ -164,6 +154,15 @@ typedef enum _jobjectRefType jobjectRefType; #define JNI_EDETACHED (-2) #define JNI_EVERSION (-3) +enum _jobjectRefType +{ + JNIInvalidRefType = 0, + JNILocalRefType = 1, + JNIGlobalRefType = 2, + JNIWeakGlobalRefType = 3 +}; + +typedef enum _jobjectRefType jobjectRefType; #ifdef __cplusplus extern "C" @@ -661,894 +660,894 @@ class _Jv_JNIEnv { public: /* The method table. */ - struct JNINativeInterface_ *p; + struct JNINativeInterface_ *functions; #ifdef _CLASSPATH_JNIENV_CONTENTS _CLASSPATH_JNIENV_CONTENTS #endif jint GetVersion () - { return p->GetVersion (this); } + { return functions->GetVersion (this); } jclass DefineClass (const char *name, jobject obj0, const jbyte * val1, jsize val2) - { return p->DefineClass (this, name, obj0, val1, val2); } + { return functions->DefineClass (this, name, obj0, val1, val2); } jclass FindClass (const char * val0) - { return p->FindClass (this, val0); } + { return functions->FindClass (this, val0); } jmethodID FromReflectedMethod (jobject obj0) - { return p->FromReflectedMethod (this, obj0); } + { return functions->FromReflectedMethod (this, obj0); } jfieldID FromReflectedField (jobject obj0) - { return p->FromReflectedField (this, obj0); } + { return functions->FromReflectedField (this, obj0); } jobject ToReflectedMethod (jclass cl0, jmethodID meth1, jboolean val2) - { return p->ToReflectedMethod (this, cl0, meth1, val2); } + { return functions->ToReflectedMethod (this, cl0, meth1, val2); } jclass GetSuperclass (jclass cl0) - { return p->GetSuperclass (this, cl0); } + { return functions->GetSuperclass (this, cl0); } jboolean IsAssignableFrom (jclass cl0, jclass cl1) - { return p->IsAssignableFrom (this, cl0, cl1); } + { return functions->IsAssignableFrom (this, cl0, cl1); } jobject ToReflectedField (jclass cl0, jfieldID fld1, jboolean val2) - { return p->ToReflectedField (this, cl0, fld1, val2); } + { return functions->ToReflectedField (this, cl0, fld1, val2); } jint Throw (jthrowable val0) - { return p->Throw (this, val0); } + { return functions->Throw (this, val0); } jint ThrowNew (jclass cl0, const char * val1) - { return p->ThrowNew (this, cl0, val1); } + { return functions->ThrowNew (this, cl0, val1); } jthrowable ExceptionOccurred () - { return p->ExceptionOccurred (this); } + { return functions->ExceptionOccurred (this); } void ExceptionDescribe () - { p->ExceptionDescribe (this); } + { functions->ExceptionDescribe (this); } void ExceptionClear () - { p->ExceptionClear (this); } + { functions->ExceptionClear (this); } void FatalError (const char * val0) - { p->FatalError (this, val0); } + { functions->FatalError (this, val0); } jint PushLocalFrame (jint val0) - { return p->PushLocalFrame (this, val0); } + { return functions->PushLocalFrame (this, val0); } jobject PopLocalFrame (jobject obj0) - { return p->PopLocalFrame (this, obj0); } + { return functions->PopLocalFrame (this, obj0); } jobject NewGlobalRef (jobject obj0) - { return p->NewGlobalRef (this, obj0); } + { return functions->NewGlobalRef (this, obj0); } void DeleteGlobalRef (jobject obj0) - { p->DeleteGlobalRef (this, obj0); } + { functions->DeleteGlobalRef (this, obj0); } void DeleteLocalRef (jobject obj0) - { p->DeleteLocalRef (this, obj0); } + { functions->DeleteLocalRef (this, obj0); } jboolean IsSameObject (jobject obj0, jobject obj1) - { return p->IsSameObject (this, obj0, obj1); } + { return functions->IsSameObject (this, obj0, obj1); } jobject NewLocalRef (jobject obj0) - { return p->NewLocalRef (this, obj0); } + { return functions->NewLocalRef (this, obj0); } jint EnsureLocalCapacity (jint val0) - { return p->EnsureLocalCapacity (this, val0); } + { return functions->EnsureLocalCapacity (this, val0); } jobject AllocObject (jclass cl0) - { return p->AllocObject (this, cl0); } + { return functions->AllocObject (this, cl0); } jobject NewObject (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jobject result = p->NewObjectV (this, cl0, meth1, args); + jobject result = functions->NewObjectV (this, cl0, meth1, args); va_end (args); return result; } jobject NewObjectV (jclass cl0, jmethodID meth1, va_list val2) - { return p->NewObjectV (this, cl0, meth1, val2); } + { return functions->NewObjectV (this, cl0, meth1, val2); } jobject NewObjectA (jclass cl0, jmethodID meth1, jvalue * val2) - { return p->NewObjectA (this, cl0, meth1, val2); } + { return functions->NewObjectA (this, cl0, meth1, val2); } jclass GetObjectClass (jobject obj0) - { return p->GetObjectClass (this, obj0); } + { return functions->GetObjectClass (this, obj0); } jboolean IsInstanceOf (jobject obj0, jclass cl1) - { return p->IsInstanceOf (this, obj0, cl1); } + { return functions->IsInstanceOf (this, obj0, cl1); } jmethodID GetMethodID (jclass cl0, const char * val1, const char * val2) - { return p->GetMethodID (this, cl0, val1, val2); } + { return functions->GetMethodID (this, cl0, val1, val2); } jobject CallObjectMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jobject result = p->CallObjectMethodV (this, obj0, meth1, args); + jobject result = functions->CallObjectMethodV (this, obj0, meth1, args); va_end (args); return result; } jobject CallObjectMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallObjectMethodV (this, obj0, meth1, val2); } + { return functions->CallObjectMethodV (this, obj0, meth1, val2); } jobject CallObjectMethodA (jobject obj0, jmethodID meth1, jvalue * val2) - { return p->CallObjectMethodA (this, obj0, meth1, val2); } + { return functions->CallObjectMethodA (this, obj0, meth1, val2); } jboolean CallBooleanMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jboolean result = p->CallBooleanMethodV (this, obj0, meth1, args); + jboolean result = functions->CallBooleanMethodV (this, obj0, meth1, args); va_end (args); return result; } jboolean CallBooleanMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallBooleanMethodV (this, obj0, meth1, val2); } + { return functions->CallBooleanMethodV (this, obj0, meth1, val2); } jboolean CallBooleanMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallBooleanMethodA (this, obj0, meth1, val2); } + { return functions->CallBooleanMethodA (this, obj0, meth1, val2); } jbyte CallByteMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jbyte result = p->CallByteMethodV (this, obj0, meth1, args); + jbyte result = functions->CallByteMethodV (this, obj0, meth1, args); va_end (args); return result; } jbyte CallByteMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallByteMethodV (this, obj0, meth1, val2); } + { return functions->CallByteMethodV (this, obj0, meth1, val2); } jbyte CallByteMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallByteMethodA (this, obj0, meth1, val2); } + { return functions->CallByteMethodA (this, obj0, meth1, val2); } jchar CallCharMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jchar result = p->CallCharMethodV (this, obj0, meth1, args); + jchar result = functions->CallCharMethodV (this, obj0, meth1, args); va_end (args); return result; } jchar CallCharMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallCharMethodV (this, obj0, meth1, val2); } + { return functions->CallCharMethodV (this, obj0, meth1, val2); } jchar CallCharMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallCharMethodA (this, obj0, meth1, val2); } + { return functions->CallCharMethodA (this, obj0, meth1, val2); } jshort CallShortMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jshort result = p->CallShortMethodV (this, obj0, meth1, args); + jshort result = functions->CallShortMethodV (this, obj0, meth1, args); va_end (args); return result; } jshort CallShortMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallShortMethodV (this, obj0, meth1, val2); } + { return functions->CallShortMethodV (this, obj0, meth1, val2); } jshort CallShortMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallShortMethodA (this, obj0, meth1, val2); } + { return functions->CallShortMethodA (this, obj0, meth1, val2); } jint CallIntMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jint result = p->CallIntMethodV (this, obj0, meth1, args); + jint result = functions->CallIntMethodV (this, obj0, meth1, args); va_end (args); return result; } jint CallIntMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallIntMethodV (this, obj0, meth1, val2); } + { return functions->CallIntMethodV (this, obj0, meth1, val2); } jint CallIntMethodA (jobject obj0, jmethodID meth1, jvalue * val2) - { return p->CallIntMethodA (this, obj0, meth1, val2); } + { return functions->CallIntMethodA (this, obj0, meth1, val2); } jlong CallLongMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jlong result = p->CallLongMethodV (this, obj0, meth1, args); + jlong result = functions->CallLongMethodV (this, obj0, meth1, args); va_end (args); return result; } jlong CallLongMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallLongMethodV (this, obj0, meth1, val2); } + { return functions->CallLongMethodV (this, obj0, meth1, val2); } jlong CallLongMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallLongMethodA (this, obj0, meth1, val2); } + { return functions->CallLongMethodA (this, obj0, meth1, val2); } jfloat CallFloatMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jfloat result = p->CallFloatMethodV (this, obj0, meth1, args); + jfloat result = functions->CallFloatMethodV (this, obj0, meth1, args); va_end (args); return result; } jfloat CallFloatMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallFloatMethodV (this, obj0, meth1, val2); } + { return functions->CallFloatMethodV (this, obj0, meth1, val2); } jfloat CallFloatMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallFloatMethodA (this, obj0, meth1, val2); } + { return functions->CallFloatMethodA (this, obj0, meth1, val2); } jdouble CallDoubleMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jdouble result = p->CallDoubleMethodV (this, obj0, meth1, args); + jdouble result = functions->CallDoubleMethodV (this, obj0, meth1, args); va_end (args); return result; } jdouble CallDoubleMethodV (jobject obj0, jmethodID meth1, va_list val2) - { return p->CallDoubleMethodV (this, obj0, meth1, val2); } + { return functions->CallDoubleMethodV (this, obj0, meth1, val2); } jdouble CallDoubleMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { return p->CallDoubleMethodA (this, obj0, meth1, val2); } + { return functions->CallDoubleMethodA (this, obj0, meth1, val2); } void CallVoidMethod (jobject obj0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - p->CallVoidMethodV (this, obj0, meth1, args); + functions->CallVoidMethodV (this, obj0, meth1, args); va_end (args); } void CallVoidMethodV (jobject obj0, jmethodID meth1, va_list val2) - { p->CallVoidMethodV (this, obj0, meth1, val2); } + { functions->CallVoidMethodV (this, obj0, meth1, val2); } void CallVoidMethodA (jobject obj0, jmethodID meth1, const jvalue * val2) - { p->CallVoidMethodA (this, obj0, meth1, val2); } + { functions->CallVoidMethodA (this, obj0, meth1, val2); } jobject CallNonvirtualObjectMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jobject result = p->CallNonvirtualObjectMethodV (this, obj0, cl1, meth2, args); + jobject result = functions->CallNonvirtualObjectMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jobject CallNonvirtualObjectMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualObjectMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualObjectMethodV (this, obj0, cl1, meth2, val3); } jobject CallNonvirtualObjectMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualObjectMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualObjectMethodA (this, obj0, cl1, meth2, val3); } jboolean CallNonvirtualBooleanMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jboolean result = p->CallNonvirtualBooleanMethodV (this, obj0, cl1, meth2, args); + jboolean result = functions->CallNonvirtualBooleanMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jboolean CallNonvirtualBooleanMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualBooleanMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualBooleanMethodV (this, obj0, cl1, meth2, val3); } jboolean CallNonvirtualBooleanMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualBooleanMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualBooleanMethodA (this, obj0, cl1, meth2, val3); } jbyte CallNonvirtualByteMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jbyte result = p->CallNonvirtualByteMethodV (this, obj0, cl1, meth2, args); + jbyte result = functions->CallNonvirtualByteMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jbyte CallNonvirtualByteMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualByteMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualByteMethodV (this, obj0, cl1, meth2, val3); } jbyte CallNonvirtualByteMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualByteMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualByteMethodA (this, obj0, cl1, meth2, val3); } jchar CallNonvirtualCharMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jchar result = p->CallNonvirtualCharMethodV (this, obj0, cl1, meth2, args); + jchar result = functions->CallNonvirtualCharMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jchar CallNonvirtualCharMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualCharMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualCharMethodV (this, obj0, cl1, meth2, val3); } jchar CallNonvirtualCharMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualCharMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualCharMethodA (this, obj0, cl1, meth2, val3); } jshort CallNonvirtualShortMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jshort result = p->CallNonvirtualShortMethodV (this, obj0, cl1, meth2, args); + jshort result = functions->CallNonvirtualShortMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jshort CallNonvirtualShortMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualShortMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualShortMethodV (this, obj0, cl1, meth2, val3); } jshort CallNonvirtualShortMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualShortMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualShortMethodA (this, obj0, cl1, meth2, val3); } jint CallNonvirtualIntMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jint result = p->CallNonvirtualIntMethodV (this, obj0, cl1, meth2, args); + jint result = functions->CallNonvirtualIntMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jint CallNonvirtualIntMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualIntMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualIntMethodV (this, obj0, cl1, meth2, val3); } jint CallNonvirtualIntMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualIntMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualIntMethodA (this, obj0, cl1, meth2, val3); } jlong CallNonvirtualLongMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jlong result = p->CallNonvirtualLongMethodV (this, obj0, cl1, meth2, args); + jlong result = functions->CallNonvirtualLongMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jlong CallNonvirtualLongMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualLongMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualLongMethodV (this, obj0, cl1, meth2, val3); } jlong CallNonvirtualLongMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualLongMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualLongMethodA (this, obj0, cl1, meth2, val3); } jfloat CallNonvirtualFloatMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jfloat result = p->CallNonvirtualFloatMethodV (this, obj0, cl1, meth2, args); + jfloat result = functions->CallNonvirtualFloatMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jfloat CallNonvirtualFloatMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualFloatMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualFloatMethodV (this, obj0, cl1, meth2, val3); } jfloat CallNonvirtualFloatMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualFloatMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualFloatMethodA (this, obj0, cl1, meth2, val3); } jdouble CallNonvirtualDoubleMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - jdouble result = p->CallNonvirtualDoubleMethodV (this, obj0, cl1, meth2, args); + jdouble result = functions->CallNonvirtualDoubleMethodV (this, obj0, cl1, meth2, args); va_end (args); return result; } jdouble CallNonvirtualDoubleMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { return p->CallNonvirtualDoubleMethodV (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualDoubleMethodV (this, obj0, cl1, meth2, val3); } jdouble CallNonvirtualDoubleMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { return p->CallNonvirtualDoubleMethodA (this, obj0, cl1, meth2, val3); } + { return functions->CallNonvirtualDoubleMethodA (this, obj0, cl1, meth2, val3); } void CallNonvirtualVoidMethod (jobject obj0, jclass cl1, jmethodID meth2, ...) { va_list args; va_start (args, meth2); - p->CallNonvirtualVoidMethodV (this, obj0, cl1, meth2, args); + functions->CallNonvirtualVoidMethodV (this, obj0, cl1, meth2, args); va_end (args); } void CallNonvirtualVoidMethodV (jobject obj0, jclass cl1, jmethodID meth2, va_list val3) - { p->CallNonvirtualVoidMethodV (this, obj0, cl1, meth2, val3); } + { functions->CallNonvirtualVoidMethodV (this, obj0, cl1, meth2, val3); } void CallNonvirtualVoidMethodA (jobject obj0, jclass cl1, jmethodID meth2, const jvalue * val3) - { p->CallNonvirtualVoidMethodA (this, obj0, cl1, meth2, val3); } + { functions->CallNonvirtualVoidMethodA (this, obj0, cl1, meth2, val3); } jfieldID GetFieldID (jclass cl0, const char * val1, const char * val2) - { return p->GetFieldID (this, cl0, val1, val2); } + { return functions->GetFieldID (this, cl0, val1, val2); } jobject GetObjectField (jobject obj0, jfieldID fld1) - { return p->GetObjectField (this, obj0, fld1); } + { return functions->GetObjectField (this, obj0, fld1); } jboolean GetBooleanField (jobject obj0, jfieldID fld1) - { return p->GetBooleanField (this, obj0, fld1); } + { return functions->GetBooleanField (this, obj0, fld1); } jbyte GetByteField (jobject obj0, jfieldID fld1) - { return p->GetByteField (this, obj0, fld1); } + { return functions->GetByteField (this, obj0, fld1); } jchar GetCharField (jobject obj0, jfieldID fld1) - { return p->GetCharField (this, obj0, fld1); } + { return functions->GetCharField (this, obj0, fld1); } jshort GetShortField (jobject obj0, jfieldID fld1) - { return p->GetShortField (this, obj0, fld1); } + { return functions->GetShortField (this, obj0, fld1); } jint GetIntField (jobject obj0, jfieldID fld1) - { return p->GetIntField (this, obj0, fld1); } + { return functions->GetIntField (this, obj0, fld1); } jlong GetLongField (jobject obj0, jfieldID fld1) - { return p->GetLongField (this, obj0, fld1); } + { return functions->GetLongField (this, obj0, fld1); } jfloat GetFloatField (jobject obj0, jfieldID fld1) - { return p->GetFloatField (this, obj0, fld1); } + { return functions->GetFloatField (this, obj0, fld1); } jdouble GetDoubleField (jobject obj0, jfieldID fld1) - { return p->GetDoubleField (this, obj0, fld1); } + { return functions->GetDoubleField (this, obj0, fld1); } void SetObjectField (jobject obj0, jfieldID fld1, jobject obj2) - { p->SetObjectField (this, obj0, fld1, obj2); } + { functions->SetObjectField (this, obj0, fld1, obj2); } void SetBooleanField (jobject obj0, jfieldID fld1, jboolean val2) - { p->SetBooleanField (this, obj0, fld1, val2); } + { functions->SetBooleanField (this, obj0, fld1, val2); } void SetByteField (jobject obj0, jfieldID fld1, jbyte val2) - { p->SetByteField (this, obj0, fld1, val2); } + { functions->SetByteField (this, obj0, fld1, val2); } void SetCharField (jobject obj0, jfieldID fld1, jchar val2) - { p->SetCharField (this, obj0, fld1, val2); } + { functions->SetCharField (this, obj0, fld1, val2); } void SetShortField (jobject obj0, jfieldID fld1, jshort val2) - { p->SetShortField (this, obj0, fld1, val2); } + { functions->SetShortField (this, obj0, fld1, val2); } void SetIntField (jobject obj0, jfieldID fld1, jint val2) - { p->SetIntField (this, obj0, fld1, val2); } + { functions->SetIntField (this, obj0, fld1, val2); } void SetLongField (jobject obj0, jfieldID fld1, jlong val2) - { p->SetLongField (this, obj0, fld1, val2); } + { functions->SetLongField (this, obj0, fld1, val2); } void SetFloatField (jobject obj0, jfieldID fld1, jfloat val2) - { p->SetFloatField (this, obj0, fld1, val2); } + { functions->SetFloatField (this, obj0, fld1, val2); } void SetDoubleField (jobject obj0, jfieldID fld1, jdouble val2) - { p->SetDoubleField (this, obj0, fld1, val2); } + { functions->SetDoubleField (this, obj0, fld1, val2); } jmethodID GetStaticMethodID (jclass cl0, const char * val1, const char * val2) - { return p->GetStaticMethodID (this, cl0, val1, val2); } + { return functions->GetStaticMethodID (this, cl0, val1, val2); } jobject CallStaticObjectMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jobject result = p->CallStaticObjectMethodV (this, cl0, meth1, args); + jobject result = functions->CallStaticObjectMethodV (this, cl0, meth1, args); va_end (args); return result; } jobject CallStaticObjectMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticObjectMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticObjectMethodV (this, cl0, meth1, val2); } jobject CallStaticObjectMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticObjectMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticObjectMethodA (this, cl0, meth1, val2); } jboolean CallStaticBooleanMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jboolean result = p->CallStaticBooleanMethodV (this, cl0, meth1, args); + jboolean result = functions->CallStaticBooleanMethodV (this, cl0, meth1, args); va_end (args); return result; } jboolean CallStaticBooleanMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticBooleanMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticBooleanMethodV (this, cl0, meth1, val2); } jboolean CallStaticBooleanMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticBooleanMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticBooleanMethodA (this, cl0, meth1, val2); } jbyte CallStaticByteMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jbyte result = p->CallStaticByteMethodV (this, cl0, meth1, args); + jbyte result = functions->CallStaticByteMethodV (this, cl0, meth1, args); va_end (args); return result; } jbyte CallStaticByteMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticByteMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticByteMethodV (this, cl0, meth1, val2); } jbyte CallStaticByteMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticByteMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticByteMethodA (this, cl0, meth1, val2); } jchar CallStaticCharMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jchar result = p->CallStaticCharMethodV (this, cl0, meth1, args); + jchar result = functions->CallStaticCharMethodV (this, cl0, meth1, args); va_end (args); return result; } jchar CallStaticCharMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticCharMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticCharMethodV (this, cl0, meth1, val2); } jchar CallStaticCharMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticCharMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticCharMethodA (this, cl0, meth1, val2); } jshort CallStaticShortMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jshort result = p->CallStaticShortMethodV (this, cl0, meth1, args); + jshort result = functions->CallStaticShortMethodV (this, cl0, meth1, args); va_end (args); return result; } jshort CallStaticShortMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticShortMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticShortMethodV (this, cl0, meth1, val2); } jshort CallStaticShortMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticShortMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticShortMethodA (this, cl0, meth1, val2); } jint CallStaticIntMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jint result = p->CallStaticIntMethodV (this, cl0, meth1, args); + jint result = functions->CallStaticIntMethodV (this, cl0, meth1, args); va_end (args); return result; } jint CallStaticIntMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticIntMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticIntMethodV (this, cl0, meth1, val2); } jint CallStaticIntMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticIntMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticIntMethodA (this, cl0, meth1, val2); } jlong CallStaticLongMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jlong result = p->CallStaticLongMethodV (this, cl0, meth1, args); + jlong result = functions->CallStaticLongMethodV (this, cl0, meth1, args); va_end (args); return result; } jlong CallStaticLongMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticLongMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticLongMethodV (this, cl0, meth1, val2); } jlong CallStaticLongMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticLongMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticLongMethodA (this, cl0, meth1, val2); } jfloat CallStaticFloatMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jfloat result = p->CallStaticFloatMethodV (this, cl0, meth1, args); + jfloat result = functions->CallStaticFloatMethodV (this, cl0, meth1, args); va_end (args); return result; } jfloat CallStaticFloatMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticFloatMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticFloatMethodV (this, cl0, meth1, val2); } jfloat CallStaticFloatMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticFloatMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticFloatMethodA (this, cl0, meth1, val2); } jdouble CallStaticDoubleMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - jdouble result = p->CallStaticDoubleMethodV (this, cl0, meth1, args); + jdouble result = functions->CallStaticDoubleMethodV (this, cl0, meth1, args); va_end (args); return result; } jdouble CallStaticDoubleMethodV (jclass cl0, jmethodID meth1, va_list val2) - { return p->CallStaticDoubleMethodV (this, cl0, meth1, val2); } + { return functions->CallStaticDoubleMethodV (this, cl0, meth1, val2); } jdouble CallStaticDoubleMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { return p->CallStaticDoubleMethodA (this, cl0, meth1, val2); } + { return functions->CallStaticDoubleMethodA (this, cl0, meth1, val2); } void CallStaticVoidMethod (jclass cl0, jmethodID meth1, ...) { va_list args; va_start (args, meth1); - p->CallStaticVoidMethodV (this, cl0, meth1, args); + functions->CallStaticVoidMethodV (this, cl0, meth1, args); va_end (args); } void CallStaticVoidMethodV (jclass cl0, jmethodID meth1, va_list val2) - { p->CallStaticVoidMethodV (this, cl0, meth1, val2); } + { functions->CallStaticVoidMethodV (this, cl0, meth1, val2); } void CallStaticVoidMethodA (jclass cl0, jmethodID meth1, const jvalue * val2) - { p->CallStaticVoidMethodA (this, cl0, meth1, val2); } + { functions->CallStaticVoidMethodA (this, cl0, meth1, val2); } jfieldID GetStaticFieldID (jclass cl0, const char * val1, const char * val2) - { return p->GetStaticFieldID (this, cl0, val1, val2); } + { return functions->GetStaticFieldID (this, cl0, val1, val2); } jobject GetStaticObjectField (jclass cl0, jfieldID fld1) - { return p->GetStaticObjectField (this, cl0, fld1); } + { return functions->GetStaticObjectField (this, cl0, fld1); } jboolean GetStaticBooleanField (jclass cl0, jfieldID fld1) - { return p->GetStaticBooleanField (this, cl0, fld1); } + { return functions->GetStaticBooleanField (this, cl0, fld1); } jbyte GetStaticByteField (jclass cl0, jfieldID fld1) - { return p->GetStaticByteField (this, cl0, fld1); } + { return functions->GetStaticByteField (this, cl0, fld1); } jchar GetStaticCharField (jclass cl0, jfieldID fld1) - { return p->GetStaticCharField (this, cl0, fld1); } + { return functions->GetStaticCharField (this, cl0, fld1); } jshort GetStaticShortField (jclass cl0, jfieldID fld1) - { return p->GetStaticShortField (this, cl0, fld1); } + { return functions->GetStaticShortField (this, cl0, fld1); } jint GetStaticIntField (jclass cl0, jfieldID fld1) - { return p->GetStaticIntField (this, cl0, fld1); } + { return functions->GetStaticIntField (this, cl0, fld1); } jlong GetStaticLongField (jclass cl0, jfieldID fld1) - { return p->GetStaticLongField (this, cl0, fld1); } + { return functions->GetStaticLongField (this, cl0, fld1); } jfloat GetStaticFloatField (jclass cl0, jfieldID fld1) - { return p->GetStaticFloatField (this, cl0, fld1); } + { return functions->GetStaticFloatField (this, cl0, fld1); } jdouble GetStaticDoubleField (jclass cl0, jfieldID fld1) - { return p->GetStaticDoubleField (this, cl0, fld1); } + { return functions->GetStaticDoubleField (this, cl0, fld1); } void SetStaticObjectField (jclass cl0, jfieldID fld1, jobject obj2) - { p->SetStaticObjectField (this, cl0, fld1, obj2); } + { functions->SetStaticObjectField (this, cl0, fld1, obj2); } void SetStaticBooleanField (jclass cl0, jfieldID fld1, jboolean val2) - { p->SetStaticBooleanField (this, cl0, fld1, val2); } + { functions->SetStaticBooleanField (this, cl0, fld1, val2); } void SetStaticByteField (jclass cl0, jfieldID fld1, jbyte val2) - { p->SetStaticByteField (this, cl0, fld1, val2); } + { functions->SetStaticByteField (this, cl0, fld1, val2); } void SetStaticCharField (jclass cl0, jfieldID fld1, jchar val2) - { p->SetStaticCharField (this, cl0, fld1, val2); } + { functions->SetStaticCharField (this, cl0, fld1, val2); } void SetStaticShortField (jclass cl0, jfieldID fld1, jshort val2) - { p->SetStaticShortField (this, cl0, fld1, val2); } + { functions->SetStaticShortField (this, cl0, fld1, val2); } void SetStaticIntField (jclass cl0, jfieldID fld1, jint val2) - { p->SetStaticIntField (this, cl0, fld1, val2); } + { functions->SetStaticIntField (this, cl0, fld1, val2); } void SetStaticLongField (jclass cl0, jfieldID fld1, jlong val2) - { p->SetStaticLongField (this, cl0, fld1, val2); } + { functions->SetStaticLongField (this, cl0, fld1, val2); } void SetStaticFloatField (jclass cl0, jfieldID fld1, jfloat val2) - { p->SetStaticFloatField (this, cl0, fld1, val2); } + { functions->SetStaticFloatField (this, cl0, fld1, val2); } void SetStaticDoubleField (jclass cl0, jfieldID fld1, jdouble val2) - { p->SetStaticDoubleField (this, cl0, fld1, val2); } + { functions->SetStaticDoubleField (this, cl0, fld1, val2); } jstring NewString (const jchar * val0, jsize val1) - { return p->NewString (this, val0, val1); } + { return functions->NewString (this, val0, val1); } jint GetStringLength (jstring val0) - { return p->GetStringLength (this, val0); } + { return functions->GetStringLength (this, val0); } const jchar * GetStringChars (jstring val0, jboolean * val1) - { return p->GetStringChars (this, val0, val1); } + { return functions->GetStringChars (this, val0, val1); } void ReleaseStringChars (jstring val0, const jchar * val1) - { p->ReleaseStringChars (this, val0, val1); } + { functions->ReleaseStringChars (this, val0, val1); } jstring NewStringUTF (const char * val0) - { return p->NewStringUTF (this, val0); } + { return functions->NewStringUTF (this, val0); } jsize GetStringUTFLength (jstring val0) - { return p->GetStringUTFLength (this, val0); } + { return functions->GetStringUTFLength (this, val0); } const char * GetStringUTFChars (jstring val0, jboolean * val1) - { return p->GetStringUTFChars (this, val0, val1); } + { return functions->GetStringUTFChars (this, val0, val1); } void ReleaseStringUTFChars (jstring val0, const char * val1) - { p->ReleaseStringUTFChars (this, val0, val1); } + { functions->ReleaseStringUTFChars (this, val0, val1); } jsize GetArrayLength (jarray val0) - { return p->GetArrayLength (this, val0); } + { return functions->GetArrayLength (this, val0); } jobjectArray NewObjectArray (jsize val0, jclass cl1, jobject obj2) - { return p->NewObjectArray (this, val0, cl1, obj2); } + { return functions->NewObjectArray (this, val0, cl1, obj2); } jobject GetObjectArrayElement (jobjectArray val0, jsize val1) - { return p->GetObjectArrayElement (this, val0, val1); } + { return functions->GetObjectArrayElement (this, val0, val1); } void SetObjectArrayElement (jobjectArray val0, jsize val1, jobject obj2) - { p->SetObjectArrayElement (this, val0, val1, obj2); } + { functions->SetObjectArrayElement (this, val0, val1, obj2); } jbooleanArray NewBooleanArray (jsize val0) - { return p->NewBooleanArray (this, val0); } + { return functions->NewBooleanArray (this, val0); } jbyteArray NewByteArray (jsize val0) - { return p->NewByteArray (this, val0); } + { return functions->NewByteArray (this, val0); } jcharArray NewCharArray (jsize val0) - { return p->NewCharArray (this, val0); } + { return functions->NewCharArray (this, val0); } jshortArray NewShortArray (jsize val0) - { return p->NewShortArray (this, val0); } + { return functions->NewShortArray (this, val0); } jintArray NewIntArray (jsize val0) - { return p->NewIntArray (this, val0); } + { return functions->NewIntArray (this, val0); } jlongArray NewLongArray (jsize val0) - { return p->NewLongArray (this, val0); } + { return functions->NewLongArray (this, val0); } jfloatArray NewFloatArray (jsize val0) - { return p->NewFloatArray (this, val0); } + { return functions->NewFloatArray (this, val0); } jdoubleArray NewDoubleArray (jsize val0) - { return p->NewDoubleArray (this, val0); } + { return functions->NewDoubleArray (this, val0); } jboolean * GetBooleanArrayElements (jbooleanArray val0, jboolean * val1) - { return p->GetBooleanArrayElements (this, val0, val1); } + { return functions->GetBooleanArrayElements (this, val0, val1); } jbyte * GetByteArrayElements (jbyteArray val0, jboolean * val1) - { return p->GetByteArrayElements (this, val0, val1); } + { return functions->GetByteArrayElements (this, val0, val1); } jchar * GetCharArrayElements (jcharArray val0, jboolean * val1) - { return p->GetCharArrayElements (this, val0, val1); } + { return functions->GetCharArrayElements (this, val0, val1); } jshort * GetShortArrayElements (jshortArray val0, jboolean * val1) - { return p->GetShortArrayElements (this, val0, val1); } + { return functions->GetShortArrayElements (this, val0, val1); } jint * GetIntArrayElements (jintArray val0, jboolean * val1) - { return p->GetIntArrayElements (this, val0, val1); } + { return functions->GetIntArrayElements (this, val0, val1); } jlong * GetLongArrayElements (jlongArray val0, jboolean * val1) - { return p->GetLongArrayElements (this, val0, val1); } + { return functions->GetLongArrayElements (this, val0, val1); } jfloat * GetFloatArrayElements (jfloatArray val0, jboolean * val1) - { return p->GetFloatArrayElements (this, val0, val1); } + { return functions->GetFloatArrayElements (this, val0, val1); } jdouble * GetDoubleArrayElements (jdoubleArray val0, jboolean * val1) - { return p->GetDoubleArrayElements (this, val0, val1); } + { return functions->GetDoubleArrayElements (this, val0, val1); } void ReleaseBooleanArrayElements (jbooleanArray val0, jboolean * val1, jint val2) - { p->ReleaseBooleanArrayElements (this, val0, val1, val2); } + { functions->ReleaseBooleanArrayElements (this, val0, val1, val2); } void ReleaseByteArrayElements (jbyteArray val0, jbyte * val1, jint val2) - { p->ReleaseByteArrayElements (this, val0, val1, val2); } + { functions->ReleaseByteArrayElements (this, val0, val1, val2); } void ReleaseCharArrayElements (jcharArray val0, jchar * val1, jint val2) - { p->ReleaseCharArrayElements (this, val0, val1, val2); } + { functions->ReleaseCharArrayElements (this, val0, val1, val2); } void ReleaseShortArrayElements (jshortArray val0, jshort * val1, jint val2) - { p->ReleaseShortArrayElements (this, val0, val1, val2); } + { functions->ReleaseShortArrayElements (this, val0, val1, val2); } void ReleaseIntArrayElements (jintArray val0, jint * val1, jint val2) - { p->ReleaseIntArrayElements (this, val0, val1, val2); } + { functions->ReleaseIntArrayElements (this, val0, val1, val2); } void ReleaseLongArrayElements (jlongArray val0, jlong * val1, jint val2) - { p->ReleaseLongArrayElements (this, val0, val1, val2); } + { functions->ReleaseLongArrayElements (this, val0, val1, val2); } void ReleaseFloatArrayElements (jfloatArray val0, jfloat * val1, jint val2) - { p->ReleaseFloatArrayElements (this, val0, val1, val2); } + { functions->ReleaseFloatArrayElements (this, val0, val1, val2); } void ReleaseDoubleArrayElements (jdoubleArray val0, jdouble * val1, jint val2) - { p->ReleaseDoubleArrayElements (this, val0, val1, val2); } + { functions->ReleaseDoubleArrayElements (this, val0, val1, val2); } void GetBooleanArrayRegion (jbooleanArray val0, jsize val1, jsize val2, jboolean * val3) - { p->GetBooleanArrayRegion (this, val0, val1, val2, val3); } + { functions->GetBooleanArrayRegion (this, val0, val1, val2, val3); } void GetByteArrayRegion (jbyteArray val0, jsize val1, jsize val2, jbyte * val3) - { p->GetByteArrayRegion (this, val0, val1, val2, val3); } + { functions->GetByteArrayRegion (this, val0, val1, val2, val3); } void GetCharArrayRegion (jcharArray val0, jsize val1, jsize val2, jchar * val3) - { p->GetCharArrayRegion (this, val0, val1, val2, val3); } + { functions->GetCharArrayRegion (this, val0, val1, val2, val3); } void GetShortArrayRegion (jshortArray val0, jsize val1, jsize val2, jshort * val3) - { p->GetShortArrayRegion (this, val0, val1, val2, val3); } + { functions->GetShortArrayRegion (this, val0, val1, val2, val3); } void GetIntArrayRegion (jintArray val0, jsize val1, jsize val2, jint * val3) - { p->GetIntArrayRegion (this, val0, val1, val2, val3); } + { functions->GetIntArrayRegion (this, val0, val1, val2, val3); } void GetLongArrayRegion (jlongArray val0, jsize val1, jsize val2, jlong * val3) - { p->GetLongArrayRegion (this, val0, val1, val2, val3); } + { functions->GetLongArrayRegion (this, val0, val1, val2, val3); } void GetFloatArrayRegion (jfloatArray val0, jsize val1, jsize val2, jfloat * val3) - { p->GetFloatArrayRegion (this, val0, val1, val2, val3); } + { functions->GetFloatArrayRegion (this, val0, val1, val2, val3); } void GetDoubleArrayRegion (jdoubleArray val0, jsize val1, jsize val2, jdouble * val3) - { p->GetDoubleArrayRegion (this, val0, val1, val2, val3); } + { functions->GetDoubleArrayRegion (this, val0, val1, val2, val3); } void SetBooleanArrayRegion (jbooleanArray val0, jsize val1, jsize val2, jboolean * val3) - { p->SetBooleanArrayRegion (this, val0, val1, val2, val3); } + { functions->SetBooleanArrayRegion (this, val0, val1, val2, val3); } void SetByteArrayRegion (jbyteArray val0, jsize val1, jsize val2, jbyte * val3) - { p->SetByteArrayRegion (this, val0, val1, val2, val3); } + { functions->SetByteArrayRegion (this, val0, val1, val2, val3); } void SetCharArrayRegion (jcharArray val0, jsize val1, jsize val2, jchar * val3) - { p->SetCharArrayRegion (this, val0, val1, val2, val3); } + { functions->SetCharArrayRegion (this, val0, val1, val2, val3); } void SetShortArrayRegion (jshortArray val0, jsize val1, jsize val2, jshort * val3) - { p->SetShortArrayRegion (this, val0, val1, val2, val3); } + { functions->SetShortArrayRegion (this, val0, val1, val2, val3); } void SetIntArrayRegion (jintArray val0, jsize val1, jsize val2, jint * val3) - { p->SetIntArrayRegion (this, val0, val1, val2, val3); } + { functions->SetIntArrayRegion (this, val0, val1, val2, val3); } void SetLongArrayRegion (jlongArray val0, jsize val1, jsize val2, jlong * val3) - { p->SetLongArrayRegion (this, val0, val1, val2, val3); } + { functions->SetLongArrayRegion (this, val0, val1, val2, val3); } void SetFloatArrayRegion (jfloatArray val0, jsize val1, jsize val2, jfloat * val3) - { p->SetFloatArrayRegion (this, val0, val1, val2, val3); } + { functions->SetFloatArrayRegion (this, val0, val1, val2, val3); } void SetDoubleArrayRegion (jdoubleArray val0, jsize val1, jsize val2, jdouble * val3) - { p->SetDoubleArrayRegion (this, val0, val1, val2, val3); } + { functions->SetDoubleArrayRegion (this, val0, val1, val2, val3); } jint RegisterNatives (jclass cl0, const JNINativeMethod * val1, jint val2) - { return p->RegisterNatives (this, cl0, val1, val2); } + { return functions->RegisterNatives (this, cl0, val1, val2); } jint UnregisterNatives (jclass cl0) - { return p->UnregisterNatives (this, cl0); } + { return functions->UnregisterNatives (this, cl0); } jint MonitorEnter (jobject obj0) - { return p->MonitorEnter (this, obj0); } + { return functions->MonitorEnter (this, obj0); } jint MonitorExit (jobject obj0) - { return p->MonitorExit (this, obj0); } + { return functions->MonitorExit (this, obj0); } jint GetJavaVM (JavaVM ** val0) - { return p->GetJavaVM (this, val0); } + { return functions->GetJavaVM (this, val0); } /* ---- JNI 1.2 functions ---- */ void GetStringRegion (jstring val0, jsize val1, jsize val2, jchar * val3) - { p->GetStringRegion (this, val0, val1, val2, val3); } + { functions->GetStringRegion (this, val0, val1, val2, val3); } void GetStringUTFRegion (jstring val0, jsize val1, jsize val2, char * val3) - { p->GetStringUTFRegion (this, val0, val1, val2, val3); } + { functions->GetStringUTFRegion (this, val0, val1, val2, val3); } void * GetPrimitiveArrayCritical (jarray val0, jboolean * val1) - { return p->GetPrimitiveArrayCritical (this, val0, val1); } + { return functions->GetPrimitiveArrayCritical (this, val0, val1); } void ReleasePrimitiveArrayCritical (jarray val0, void * val1, jint val2) - { p->ReleasePrimitiveArrayCritical (this, val0, val1, val2); } + { functions->ReleasePrimitiveArrayCritical (this, val0, val1, val2); } const jchar * GetStringCritical (jstring val0, jboolean * val1) - { return p->GetStringCritical (this, val0, val1); } + { return functions->GetStringCritical (this, val0, val1); } void ReleaseStringCritical (jstring val0, const jchar * val1) - { p->ReleaseStringCritical (this, val0, val1); } + { functions->ReleaseStringCritical (this, val0, val1); } jweak NewWeakGlobalRef (jobject obj0) - { return p->NewWeakGlobalRef (this, obj0); } + { return functions->NewWeakGlobalRef (this, obj0); } void DeleteWeakGlobalRef (jweak val0) - { p->DeleteWeakGlobalRef (this, val0); } + { functions->DeleteWeakGlobalRef (this, val0); } jboolean ExceptionCheck () - { return p->ExceptionCheck (this); } + { return functions->ExceptionCheck (this); } /* ---- JNI 1.4 functions ---- */ jobject NewDirectByteBuffer (void *addr, jlong capacity) - { return p->NewDirectByteBuffer (this, addr, capacity); } + { return functions->NewDirectByteBuffer (this, addr, capacity); } void *GetDirectBufferAddress (jobject buf) - { return p->GetDirectBufferAddress (this, buf); } + { return functions->GetDirectBufferAddress (this, buf); } jlong GetDirectBufferCapacity (jobject buf) - { return p->GetDirectBufferCapacity (this, buf); } + { return functions->GetDirectBufferCapacity (this, buf); } /* ---- JNI 1.6 functions ---- */ jobjectRefType GetObjectRefType (jobject obj) - { return p->GetObjectRefType (this, obj); } + { return functions->GetObjectRefType (this, obj); } }; #endif /* __cplusplus */ -- cgit v1.2.3