# HG changeset patch # User Deepak Bhole # Date 1314651756 14400 # Node ID 506fd0d952061364f7aa0740abeecdc1893a10e4 # Parent 8214ff4fe80caa7aaf9477b80c67cf2f8f00e0cd RH734081: Javaws cannot use proxy settings from Firefox Based on patch from Lukas Zachar 2011-08-29 Deepak Bhole * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java (find): Only process Profile sections. Do not throw an exception if a Default= line is not found since it is not guaranteed to exist. diff -r 8214ff4fe80c -r 506fd0d95206 ChangeLog --- a/ChangeLog Wed Aug 24 15:17:46 2011 -0400 +++ b/ChangeLog Mon Aug 29 17:02:36 2011 -0400 @@ -1,3 +1,11 @@ +2011-08-29 Deepak Bhole + + RH734081: Javaws cannot use proxy settings from Firefox + Based on patch from Lukas Zachar + * netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java + (find): Only process Profile sections. Do not throw an exception if a + Default= line is not found since it is not guaranteed to exist. + 2011-08-24 Deepak Bhole RH718693: MindTerm SSH Applet doesn't work diff -r 8214ff4fe80c -r 506fd0d95206 NEWS --- a/NEWS Wed Aug 24 15:17:46 2011 -0400 +++ b/NEWS Mon Aug 29 17:02:36 2011 -0400 @@ -15,6 +15,7 @@ Common - PR768: Signed applets/Web Start apps don't work with OpenJDK7 and up - PR769: IcedTea-Web does not work with some ssl sites with OpenJDK7 + - RH734081: Javaws cannot use proxy settings from Firefox New in release 1.1.1 (2011-07-20): * Security updates: diff -r 8214ff4fe80c -r 506fd0d95206 netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java --- a/netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java Wed Aug 24 15:17:46 2011 -0400 +++ b/netx/net/sourceforge/jnlp/browser/FirefoxPreferencesFinder.java Mon Aug 29 17:02:36 2011 -0400 @@ -93,7 +93,7 @@ } line = line.trim(); - if (line.startsWith("[") && line.endsWith("]")) { + if (line.startsWith("[Profile") && line.endsWith("]")) { if (foundDefaultSection) { break; } @@ -115,7 +115,7 @@ reader.close(); } - if (!foundDefaultSection) { + if (!foundDefaultSection && linesInSection.size() == 0) { throw new FileNotFoundException("preferences file"); }