/hg/release/icedtea6-1.7: 2 new changesets

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Wed Jul 21 09:32:21 PDT 2010


changeset 4b9a6c6f0b30 in /hg/release/icedtea6-1.7
details: http://icedtea.classpath.org/hg/release/icedtea6-1.7?cmd=changeset;node=4b9a6c6f0b30
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Jul 21 17:27:47 2010 +0100

	Update NEWS for 1.7.4.

	2010-07-21 Andrew John Hughes <ahughes at redhat.com>

	 * NEWS: Updated for 1.7.4.


changeset 40a2a5a54fce in /hg/release/icedtea6-1.7
details: http://icedtea.classpath.org/hg/release/icedtea6-1.7?cmd=changeset;node=40a2a5a54fce
author: Andrew John Hughes <ahughes at redhat.com>
date: Wed Jul 21 17:31:46 2010 +0100

	Fix use of fstatat in NIO2 on architectures other than x86 and
	x86_64.

	2010-07-21 Andrew John Hughes <ahughes at redhat.com>

	 * NEWS: Add NIO2 changes.

	2010-07-20 Andrew John Hughes <ahughes at redhat.com>

	 * overlays/nio2/openjdk/jdk/src/solaris/native/sun/nio/fs/Un
	ixNativeDispatcher.c: Define _ATFILE_SOURCE to obtain
	fstatat64, regardless of architecture.


diffstat:

4 files changed, 64 insertions(+), 31 deletions(-)
ChangeLog                                                                      |   15 +++
NEWS                                                                           |   42 +++++++++-
THANKYOU                                                                       |    1 
overlays/nio2/openjdk/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c |   37 ++------

diffs (152 lines):

diff -r ce09ca575fdb -r 40a2a5a54fce ChangeLog
--- a/ChangeLog	Tue Jul 20 16:49:21 2010 -0400
+++ b/ChangeLog	Wed Jul 21 17:31:46 2010 +0100
@@ -1,7 +1,20 @@ 2010-07-20  Man Lung Wong  <mwong at redhat
+2010-07-21  Andrew John Hughes  <ahughes at redhat.com>
+
+	* NEWS: Add NIO2 changes.
+
+2010-07-20  Andrew John Hughes  <ahughes at redhat.com>
+
+	* overlays/nio2/openjdk/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c:
+	Define _ATFILE_SOURCE to obtain fstatat64, regardless of architecture.
+
+2010-07-21  Andrew John Hughes  <ahughes at redhat.com>
+
+	* NEWS: Updated for 1.7.4.
+
 2010-07-20  Man Lung Wong  <mwong at redhat.com>
 
 	* netx/net/sourceforge/jnlp/SecurityDesc.java:
-	Add permission to read javawebstart.version property as part of 
+	Add permission to read javawebstart.version property as part of
 	sandbox permission.
 	* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize):
 	Set the javawebstart.version property as part of System property
diff -r ce09ca575fdb -r 40a2a5a54fce NEWS
--- a/NEWS	Tue Jul 20 16:49:21 2010 -0400
+++ b/NEWS	Wed Jul 21 17:31:46 2010 +0100
@@ -1,13 +1,51 @@ New in release 1.7.4 (2010-XX-XX):
 New in release 1.7.4 (2010-XX-XX):
 
 * Backport --with-tzdata-dir support from IcedTea6 1.8 to ensure
-  that external timezone data works again.
+   that external timezone data works again.
+* Restore icedtea-override-metacity.patch to allow full screen apps and
+   other expected behavioral improvements.
+* S6678385, RH551835: Fixes JVM crashes when window is resized.
 * Make the new plugin the default.  This is now the main supported
   plugin.  Use --disable-npplugin to use the old one.
-* Updates to the new plugin:
+* New plugin:
   - Added support for JSObject.finalize()
   - Liveconnect message processing design changes.
   - Message protocol overhaul to fix race conditions
+  - PR166: Create FIFO pies in temp dir instead of ~/.icedteaplugin
+  - Profiled memory usage and implemented proper cleanup for C++ side.
+  - Update debug output string and function/structure names to
+    change 'GCJ' references to ITNP/IcedTea NP Plugin
+  - PR461: plugin working for NSS enabled builds with firefox including a private NSS copy
+  - Removed unncessary debug and trace output
+  - PR474: Patch from Paulo Cesar Pereira de Andrade, incrementing malloc size to account for NULL terminator.
+  - RH524387: javax.net.ssl.SSLKeyException: RSA premaster secret error
+  - Set context classloader for all threads in an applet's threadgroup
+  - PR436: Close all applet threads on exit
+  - PR480: NPPlugin with NoScript extension.
+  - PR488: Question mark changing into underscore in URL.
+  - RH592553: Fix bug causing 100% CPU usage.
+  - Don't generate a random pointer from a pthread_t in the debug output.
+  - Add ForbiddenTargetException for legacy support.
+  - Use variadic macro for plugin debug message printing.
+  - Don't link the plugin with libxul libraries.
+  - Fix race conditions in plugin initialization code that were causing hangs.
+  - RH506730: BankID (Norwegian common online banking authentication system) applet fails to load.
+  - Fix policy evaluation to match the proprietary JDK.
+  - PR491: pass java_{code,codebase,archive} parameters to Java.
+  - Adds javawebstart.version property and give user permission to read that property.
+* NetX:
+  - Make path sanitization consistent; use a blacklisting approach.
+  - Make the SingleInstanceServer thread a daemon thread.
+  - Handle JNLP files which use native libraries but do not indicate it
+  - Allow JNLP classloaders to share native libraries
+  - Added encoding support
+* PulseAudio provider:
+  - Eliminate spurious exception throwing.
+* SystemTap support:
+  - PR476: Enable building SystemTap support on GCC 4.5.
+  - Fix HotSpot tapset object_alloc size variable.
+* NIO2 support:
+  - Fix UnixNativeDispatcher to build on all systems, not just x86 and x86_64.
 
 New in release 1.7.3 (2010-03-31):
 
diff -r ce09ca575fdb -r 40a2a5a54fce THANKYOU
--- a/THANKYOU	Tue Jul 20 16:49:21 2010 -0400
+++ b/THANKYOU	Wed Jul 21 17:31:46 2010 +0100
@@ -5,3 +5,4 @@ us know. Please keep this list in alphab
 us know. Please keep this list in alphabetic order.
 
 Alon Bar-Lev (alon.barlev at gmail.com)
+Paulo Cesar Pereira de Andrade (pcpa at mandriva.com.br)
diff -r ce09ca575fdb -r 40a2a5a54fce overlays/nio2/openjdk/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c
--- a/overlays/nio2/openjdk/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c	Tue Jul 20 16:49:21 2010 -0400
+++ b/overlays/nio2/openjdk/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c	Wed Jul 21 17:31:46 2010 +0100
@@ -22,6 +22,13 @@
  * CA 95054 USA or visit www.sun.com if you need additional information or
  * have any questions.
  */
+
+/**
+ * fstatat in glibc requires _ATFILE_SOURCE to be defined.
+ */
+#if defined(__linux__)
+#define _ATFILE_SOURCE
+#endif
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -102,32 +109,6 @@ static fdopendir_func* my_fdopendir_func
 static fdopendir_func* my_fdopendir_func = NULL;
 
 /**
- * fstatat missing from glibc on Linux. Temporary workaround
- * for x86/x64, will fail to compile on other architectures.
- */
-#if defined(__linux__) && defined(__i386)
-static int fstatat64_wrapper(int dfd, const char *path,
-                             struct stat64 *statbuf, int flag)
-{
-    #ifndef __NR_fstatat64
-    #define __NR_fstatat64  300
-    #endif
-    return syscall(__NR_fstatat64, dfd, path, statbuf, flag);
-}
-#endif
-
-#if defined(__linux__) && defined(__x86_64__)
-static int fstatat64_wrapper(int dfd, const char *path,
-                             struct stat64 *statbuf, int flag)
-{
-    #ifndef __NR_newfstatat
-    #define __NR_newfstatat  262
-    #endif
-    return syscall(__NR_newfstatat, dfd, path, statbuf, flag);
-}
-#endif
-
-/**
  * Call this to throw an internal UnixException when a system/library
  * call fails
  */
@@ -198,9 +179,9 @@ Java_sun_nio_fs_UnixNativeDispatcher_ini
     my_fdopendir_func = (fdopendir_func*) dlsym(RTLD_DEFAULT, "fdopendir");
 
 #if defined(__linux__)
-    /* fstatat64 missing from glibc */
+    /* fstatat64 from glibc requires a define */
     if (my_fstatat64_func == NULL)
-        my_fstatat64_func = (fstatat64_func*)&fstatat64_wrapper;
+        my_fstatat64_func = (fstatat64_func*)&fstatat64;
 #endif
 }
 



More information about the distro-pkg-dev mailing list