- Sep 01, 2006
-
-
gary authored
* java/net/InetAddress.java (getLocalHost): Refactor to avoid security check if getLocalHostname() fails and to provide more meaningful exceptions it the security check fails. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116627 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* java/net/InetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped IPv6 addresses. (getByName, getAllByName): Defer to the above to ensure that the correct Inet*Address objects are returned. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116622 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* java/net/InetAddress.java (getByName, getAllByName): Only perform security check when DNS lookups are required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116621 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 31, 2006
-
-
kseitz authored
Pass millis to _Jv_CondWait. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116611 138bc75d-0d04-0410-961f-82ee72b054a4
-
kseitz authored
improvements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116610 138bc75d-0d04-0410-961f-82ee72b054a4
-
kseitz authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116609 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* libgcj_bc.c (DECLARE_PRIM_TYPE): New macro. Declare primitive classes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116603 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 29, 2006
-
-
gary authored
* java/net/SocketPermission.java (maybeBracketIPv6Address): New method. (<init>): Pass the hostport argument through the above. * java/net/NetworkInterface.java (getInetAddresses): Revert the previous change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116557 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 24, 2006
-
-
kseitz authored
(jdwpOptions): New global. (parse_x_arg): Add processing for "X" options "debug" and "runjdwp:" (_Jv_RunMain): If debugging, start up JDWP backend. Send VM_INIT and VM_DEATH when appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116383 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6 addresses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116375 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 23, 2006
-
-
kseitz authored
(initialize): Declare. * gnu/classpath/jdwp/natVMVirtualMachine.cc (initialize): Get and save JVMTI environment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116357 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 22, 2006
-
-
fitzsim authored
PR libgcj/27890 * gnu/classpath/natSystemProperties.cc (insertSystemProperties): Set gnu.classpath.home.url to TOOLEXECLIBDIR. * configure.ac: Do not add --with-native-libdir to ac_configure_args. * java/security/libgcj.security: Remove file. * java/util/logging/logging.properties: Likewise. * classpath/m4/acinclude.m4 (CLASSPATH_TOOLEXECLIBDIR): New macro. * classpath/resource/Makefile.am (loggingdir): Define to toolexeclibdir. (securitydir): Likewise. * classpath/configure.ac: Call CLASSPATH_TOOLEXECLIBDIR. Set default nativeexeclibdir using toolexeclibdir. * HACKING: Fix classpath aclocal arguments. * Makefile.am (secdir): Remove variable. (propdir): Likewise. (AM_CXXFLAGS): Replace LIBDIR definition with TOOLEXECLIBDIR definition. (all_property_files): Remove variable. (install-data-local): Do not install libgcj.security or logging.properties. * configure, Makefile.in, classpath/configure, classpath/Makefile.in, classpath/native/jni/java-lang/Makefile.in, classpath/native/jni/midi-alsa/Makefile.in, classpath/native/jni/classpath/Makefile.in, classpath/native/jni/midi-dssi/Makefile.in, classpath/native/jni/Makefile.in, classpath/native/jni/java-nio/Makefile.in, classpath/native/jni/java-net/Makefile.in, classpath/native/jni/gconf-peer/Makefile.in, classpath/native/jni/java-io/Makefile.in, classpath/native/jni/xmlj/Makefile.in, classpath/native/jni/java-util/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/target/Linux/Makefile.in, classpath/native/target/Makefile.in, classpath/native/target/generic/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/sax/Makefile.in, classpath/external/w3c_dom/Makefile.in, classpath/external/relaxngDatatype/Makefile.in, classpath/include/Makefile.in, classpath/aclocal.m4, classpath/examples/Makefile.in, aclocal.m4: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116332 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 21, 2006
-
-
tromey authored
PR libgcj/13212: * configure.ac: Check for pthread_getattr_np(). Remove GC_PTHREAD_SYM_VERSION detection. * include/gc.h (GC_register_my_thread, GC_unregister_my_thread, GC_get_thread_stack_base): New declarations. * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread, GC_get_thread_stack_base): New functions. (GC_delete_thread): Don't try to free the first_thread. * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible. (pthread_create_, constr): Removed. (pthread_create): Don't rename. * include/gc_ext_config.h.in: Rebuilt. * include/gc_pthread_redirects.h (pthread_create): Define unconditionally. * include/gc_config.h.in: Rebuilt. * configure: Rebuilt. libjava * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread to GC. (_Jv_DetachCurrentThread): Detach thread from GC. * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread): Declare. * boehm.cc (_Jv_GCAttachThread): New function. (_Jv_GCDetachThread): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116313 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 19, 2006
-
-
rmathew authored
as another sequence that can indicate a "pushl %ebp; movl %esp, %ebp" function prologue. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116258 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 18, 2006
-
-
tromey authored
* scripts/check_jni_methods.sh: Don't use the "set -C" command which isn't available in all shells. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116251 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
debugging prints. * gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging print. (readEntries): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116247 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 17, 2006
-
-
hjl authored
* Makefile.am (install-exec-hook): Support $(DESTDIR). * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116227 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116206 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* jvspec.c (lang_specific_driver): Add -s-bc-abi when needed. libjava/ChangeLog * configure, Makefile.in: Rebuilt. * Makefile.am (toolexeclib_LTLIBRARIES): Add libgcj_bc.la. (libgcj_bc_la_SOURCES): New variable. (libgcj_bc_la_LDFLAGS): Likewise. (libgcj_bc_la_LIBADD): Likewise. (libgcj_bc_la_DEPENDENCIES): Likewise. (libgcj_bc_la_LINK): Likewise. (libgcj_bc_dummy_LINK): Likewise. (libgcj_bc.la): New target. (install-exec-hook): Likewise. * libgcj.spec.in (*lib): Use LIBGCJ_SPEC. * libgcj_bc.c: New file. * configure.ac (LIBGCJ_SPEC): New subst. * configure.host (use_libgcj_bc): New variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116204 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 15, 2006
-
-
kgallowa authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116169 138bc75d-0d04-0410-961f-82ee72b054a4
-
kgallowa authored
2006-08-15 Kyle Galloway <kgallowa@redhat.com> * ChangeLog: Added entry for previous patch git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116168 138bc75d-0d04-0410-961f-82ee72b054a4
-
kgallowa authored
* include/java-interp.h (_Jv_InterpMethod::run_debug): New method. * interpret.cc: Added placeholder for debug variable type info to STORE* macros. (_Jv_InterpMethod::run_debug): New method. (_Jv_InterpMethod::run_sync_object_debug): New method. (_Jv_InterpMethod::run_sync_class_debug): New method. (_Jv_InterpMethod::run_normal_debug): New method. (_Jv_InterpMethod::run_class_debug): New method. (_Jv_InterpMethod::ncode ()): Changed to select either debug or normal versions of these functions. * interpret-run.cc: New file, holds contents of old _Jv_InterpMethod::run method. * stacktrace.cc (_Jv_StackTrace::UnwindTraceFn): Changed to select appropriate function for debug or normal mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116167 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 14, 2006
-
-
mark authored
Imported GNU Classpath 0.92 * HACKING: Add more importing hints. Update automake version requirement. * configure.ac (gconf-peer): New enable AC argument. Add --disable-gconf-peer and --enable-default-preferences-peer to classpath configure when gconf is disabled. * scripts/makemake.tcl: Set gnu/java/util/prefs/gconf and gnu/java/awt/dnd/peer/gtk to bc. Classify gnu/java/security/Configuration.java as generated source file. * gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java, gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java, gnu/java/lang/management/VMClassLoadingMXBeanImpl.java, gnu/java/lang/management/VMRuntimeMXBeanImpl.java, gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java, gnu/java/lang/management/VMThreadMXBeanImpl.java, gnu/java/lang/management/VMMemoryMXBeanImpl.java, gnu/java/lang/management/VMCompilationMXBeanImpl.java: New VM stub classes. * java/lang/management/VMManagementFactory.java: Likewise. * java/net/VMURLConnection.java: Likewise. * gnu/java/nio/VMChannel.java: Likewise. * java/lang/Thread.java (getState): Add stub implementation. * java/lang/Class.java (isEnum): Likewise. * java/lang/Class.h (isEnum): Likewise. * gnu/awt/xlib/XToolkit.java (getClasspathTextLayoutPeer): Removed. * javax/naming/spi/NamingManager.java: New override for StackWalker functionality. * configure, sources.am, Makefile.in, gcj/Makefile.in, include/Makefile.in, testsuite/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116139 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* java/lang/Thread.java (accessControlState): New field. * java/security/VMAccessControlState.java: New file. * java/security/natVMAccessControlState.cc: Likewise. * java/security/VMAccessController.java (contexts, inGetContext): Removed. (pushContext, popContext, getContext): Use VMAccessControlState. * Makefile.am (nat_source_files): Updated. * sources.am, Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116128 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 10, 2006
-
-
gary authored
* include/java-stack.h (GetAccessControlStack): Change return type. * stacktrace.cc (accesscontrol_trace_fn): Record the number of Java frames encountered. (GetAccessControlStack): Return a flag indicating whether a call to doPrivileged was encountered rather than an array of method names. * java/security/natVMAccessController.cc (getStack): Change return type. * java/security/VMAccessController.java (getStack): Likewise. (getContext): Change to reflect the above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116058 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 09, 2006
-
-
tromey authored
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c (Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes): Create a 'short' array. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116044 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* stacktrace.cc (accesscontrol_trace_fn): Skip non-Java frames. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116038 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* java/lang/System.java (setSecurityManager): Javadoc fix. * java/security/VMAccessController.java (getContext): Comment fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116033 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* include/java-stack.h (accesscontrol_trace_fn): Declare. (GetAccessControlStack): Likewise. (GetClassMethodStack): Remove. * stacktrace.cc (accesscontrol_trace_fn): New method. (GetAccessControlStack): Likewise. (GetClassMethodStack): Remove. * java/security/natVMAccessController.cc (getStack): Use GetAccessControlStack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116032 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 07, 2006
-
-
tromey authored
* ltconfig: Copied from gcc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116003 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
PR libgcj/28340: * java/lang/ClassLoader.java (clinit): Install a default security manager if java.security.manager is defined. (getParent, getSystemClassLoader): Use the correct stack frame during security checks. * java/net/URLClassLoader.java (findClass): Avoid calling this.toString() during VM initialization. (runtimeInitialized): New method. * java/net/natURLClassLoader.cc: New file. * Makefile.am (nat_source_files): Added the above. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115999 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
Casey Marshall <csm@gnu.org> * java/lang/SecurityManager.java (getSecurityContext, checkPermission, checkAccess, checkRead, checkConnect, checkPackageAccess, checkPackageDefinition, checkPackageList): Merge with Classpath. (SecurityContext): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115998 138bc75d-0d04-0410-961f-82ee72b054a4
-
gary authored
* java/security/VMAccessController.java (pushContext, popContext, getContext): Use Thread.currentThread() to determine when we're bootstrapping. (runtimeInitialized): Remove. * java/security/natVMAccessController.cc (runtimeInitialized): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115996 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 06, 2006
-
-
tromey authored
* configure, include/config.h.in: Rebuilt. * configure.ac: Look for ifaddrs.h, getifaddrs. * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use getifaddrs if available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115977 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
* gnu/java/net/natPlainDatagramSocketImplPosix.cc (connect): Implemented. (disconnect): Likewise. (send): Handle already-connected case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115976 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 05, 2006
-
-
tromey authored
* jvmti.cc: Include gcj/method.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115943 138bc75d-0d04-0410-961f-82ee72b054a4
-
tromey authored
(_Jv_JVMTI_GetObjectSize): Cast _Jv_GetArrayElementFromElementType result to _Jv_uintptr_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115942 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 04, 2006
-
-
kseitz authored
* gnu/classpath/jdwp/VMIdManager.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine: Likewise. * gnu/classpath/jdwp/natVMFrame.java: New file. * gnu/classpath/jdwp/natVMMethod.java: New file. * gnu/classpath/jdwp/natVMVirtualMachine.java: New file. * Makefile.am (nat_source_files): Add new filles. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115934 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 03, 2006
-
-
tromey authored
(_Jv_JVMTI_InterruptThread): New function. (_Jv_JVMTI_CreateRawMonitor): Likewise. (_Jv_JVMTI_DestroyRawMonitor): Likewise. (_Jv_JVMTI_RawMonitorEnter): Likewise. (_Jv_JVMTI_RawMonitorExit): Likewise. (_Jv_JVMTI_RawMonitorWait): Likewise. (_Jv_JVMTI_RawMonitorNotify): Likewise. (_Jv_JVMTI_RawMonitorNotifyAll): Likewise. (_Jv_JVMTI_Allocate): Likewise. (_Jv_JVMTI_Deallocate): Likewise. (_Jv_JVMTI_GetClassModifiers): Likewise. (_Jv_JVMTI_GetClassMethods): Likewise. (_Jv_JVMTI_IsInterface): Likewise. (_Jv_JVMTI_IsArrayClass): Likewise. (_Jv_JVMTI_GetClassLoader): Likewise. (_Jv_JVMTI_GetObjectHashCode): Likewise. (_Jv_JVMTI_GetFieldModifiers): Likewise. (_Jv_JVMTI_IsFieldSynthetic): Likewise. (_Jv_JVMTI_GetMethodModifiers): Likewise. (_Jv_JVMTI_IsMethodNative): Likewise. (_Jv_JVMTI_IsMethodSynthetic): Likewise. (_Jv_JVMTI_GetClassLoaderClasses): Likewise. (_Jv_JVMTI_ForceGarbageCollection): Likewise. (_Jv_JVMTI_GetSystemProperty): Likewise. (_Jv_JVMTI_SetSystemProperty): Likewise. (_Jv_JVMTI_GetTime): Likewise. (_Jv_JVMTI_GetAvailableProcessors): Likewise. (_Jv_JVMTI_AddToBootstrapClassLoaderSearch): Likewise. (_Jv_JVMTI_SetVerboseFlag): Likewise. (_Jv_JVMTI_GetObjectSize): Likewise. (_Jv_JVMTI_SetJNIFunctionTable): Likewise. (_Jv_JVMTI_GetJNIFunctionTable): Likewise. (_Jv_JVMTI_Interface): Updated. (NULL_CHECK): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115907 138bc75d-0d04-0410-961f-82ee72b054a4
-
- Aug 02, 2006
-
-
andreast authored
PR libgcj/28546 * include/no-threads.h: Declare _Jv_Thread_t as empty class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115883 138bc75d-0d04-0410-961f-82ee72b054a4
-