rpms/java-1.6.0-openjdk/F-12 java-1.6.0-openjdk-plugin.patch, NONE, 1.1 java-1.6.0-openjdk.spec, 1.153, 1.154

Martin Matejovic mmatejov at fedoraproject.org
Wed Jun 16 07:28:47 UTC 2010


Author: mmatejov

Update of /cvs/pkgs/rpms/java-1.6.0-openjdk/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv10133

Modified Files:
	java-1.6.0-openjdk.spec 
Added Files:
	java-1.6.0-openjdk-plugin.patch 
Log Message:

* Mon Jun 14 2010 Martin Matejovic <mmatejov at redhat.com> -1:1.6.0.-39.b18
- Fixed plugin update to IcedTeaPlugin.so
- Fixed plugin cpu usage issue
- Fixed plugin rewrites ? in URL
- Added java-1.6.0-openjdk-plugin.patch
- Resovles: rhbz#598353
- Resolves: rhbz#592553
- Resolves: rhbz#602906


java-1.6.0-openjdk-plugin.patch:
 IcedTeaPluginUtils.h                            |    4 ++--
 java/sun/applet/PluginMessageConsumer.java      |    4 ++--
 java/sun/applet/PluginMessageHandlerWorker.java |    9 ++++-----
 3 files changed, 8 insertions(+), 9 deletions(-)

--- NEW FILE java-1.6.0-openjdk-plugin.patch ---
--- plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java_back	2010-06-15 09:22:46.327336487 +0200
+++ plugin/icedteanp/java/sun/applet/PluginMessageConsumer.java	2010-06-15 09:24:04.254334852 +0200
@@ -164,11 +164,11 @@
 	        registerPriorityWait("instance " + instanceNum + " handle");
 	        registerPriorityWait("instance " + instanceNum + " width");
 
-	    } else if (msgParts[2].equals("handle") || msgParts[2].equals("width")) {
+	    } else if (msgParts[2].equals("handle") ) {
 	            Integer instanceNum = new Integer(msgParts[1]);
 
 	            // If this instance is not in init, return false immediately. 
-	            // Handle/Width messages should NEVER go before tag messages
+	            // Handle messages should NEVER go before tag messages
 	            if (!isInInit(instanceNum))
 	                return false;
 	    }
--- plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java_back	2010-06-15 09:25:19.852584496 +0200
+++ plugin/icedteanp/java/sun/applet/PluginMessageHandlerWorker.java	2010-06-15 09:27:22.124346502 +0200
@@ -71,8 +71,8 @@
 		while (true) {
 
 			if (message != null) {
-				
-			    PluginDebug.debug("Consumer thread " + id + " consuming " + message);
+			
+	         	    PluginDebug.debug("Consumer (priority=" + isPriorityWorker + ") thread " + id + " consuming " + message);			
 			    
 				// ideally, whoever returns things object should mark it 
 				// busy first, but just in case..
@@ -89,9 +89,8 @@
 				}
 
 				this.message = null;
-				
-				PluginDebug.debug("Consumption completed by consumer thread " + id);
-
+			        PluginDebug.debug("Consumption (priority=" + isPriorityWorker + ") completed by consumer thread " + id);
+	
 	            // mark ourselves free again
 				free();
 				
--- plugin/icedteanp/IcedTeaPluginUtils.h_back	2010-06-15 09:54:46.700361097 +0200
+++ plugin/icedteanp/IcedTeaPluginUtils.h	2010-06-15 09:55:44.410346382 +0200
@@ -137,8 +137,8 @@
 }
 
 #define HEX_TO_INT(c) \
-    ((*c >= 'A') ? *c - 'A' + 10 : \
-     (*c >= 'a') ? *c - 'a' + 10 : \
+    ((*c >= 'a') ? *c - 'a' + 10 : \
+    (*c >= 'A') ? *c - 'A' + 10 : \ 
      *c - '0')
 
 #define IS_VALID_HEX(c) \


Index: java-1.6.0-openjdk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/java-1.6.0-openjdk/F-12/java-1.6.0-openjdk.spec,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -p -r1.153 -r1.154
--- java-1.6.0-openjdk.spec	12 May 2010 14:41:37 -0000	1.153
+++ java-1.6.0-openjdk.spec	16 Jun 2010 07:28:47 -0000	1.154
@@ -143,7 +143,7 @@
 
 Name:    java-%{javaver}-%{origin}
 Version: %{javaver}.%{buildver}
-Release: 38.%{openjdkver}%{?dist}
+Release: 39.%{openjdkver}%{?dist}
 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons,
 # and this change was brought into RHEL-4.  java-1.5.0-ibm packages
 # also included the epoch in their virtual provides.  This created a
@@ -171,7 +171,7 @@ Source8: %{visualvmurl}/visualvm-111-src
 Source9: %{jafurl}jdk6-jaf-%{jafdate}.zip
 Source10: %{jaxpurl}jdk6-jaxp-%{jaxpdate}.zip
 Source11: %{jaxwsurl}jdk6-jaxws-%{jaxwsdate}.zip
-
+Source12: mkbc.c
 # FIXME: This patch needs to be fixed. optflags argument
 # -mtune=generic is being ignored because it breaks several graphical
 # applications.
@@ -180,6 +180,7 @@ Patch1:   java-1.6.0-openjdk-java-access
 Patch2:   java-1.6.0-openjdk-java-access-bridge-idlj.patch
 Patch3:	  java-1.6.0-openjdk-java-access-bridge-security.patch
 Patch4:   java-1.6.0-openjdk-accessible-toolkit.patch
+Patch5:   java-1.6.0-openjdk-plugin.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -390,10 +391,12 @@ The OpenJDK web browser plugin.
 %setup -q -n icedtea6-%{icedteaver} -T -D -a 5
 %setup -q -n icedtea6-%{icedteaver} -T -D -a 2
 %patch0
+%patch5
 cp %{SOURCE4} .
 cp %{SOURCE6} .
 cp %{SOURCE7} .
 cp %{SOURCE8} .
+cp %{SOURCE12} .
 
 %build
 # Build IcedTea and OpenJDK.
@@ -829,6 +832,8 @@ then
   alternatives --remove %{javaplugin} \
     %{_jvmdir}/%{jrelnk}/lib/%{archinstall}/gcjwebplugin.so 2>/dev/null
 fi
+alternatives --remove %{javaplugin} \
+  %{_jvmdir}/%{jrelnk}/lib/%{archinstall}/IcedTeaNPPlugin.so 2>/dev/null  	
 
 alternatives \
   --install %{syslibdir}/mozilla/plugins/libjavaplugin.so %{javaplugin} \
@@ -960,6 +965,15 @@ exit 0
 %{_jvmdir}/%{jredir}/lib/%{archinstall}/IcedTeaPlugin.so
 
 %changelog 
+* Mon Jun 14 2010 Martin Matejovic <mmatejov at redhat.com> -1:1.6.0.-39.b18
+- Fixed plugin update to IcedTeaPlugin.so
+- Fixed plugin cpu usage issue
+- Fixed plugin rewrites ? in URL
+- Added java-1.6.0-openjdk-plugin.patch
+- Resovles: rhbz#598353
+- Resolves: rhbz#592553
+- Resolves: rhbz#602906
+
 * Tue Apr 20 2010 Martin Matejovic <mmatejov at redhat.com> - 1:1.6.0-38.b18
 - Added icedtea6-1.8
 - Added openjdk b18



More information about the scm-commits mailing list