aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/runtime
Commit message (Collapse)AuthorAgeFilesLines
...
* Provide names for unnamed threads for better debuggingAdam Domurad2013-02-061-1/+1
|
* First part of fix of recreating desktop iconJiri Vanek2013-01-101-1/+9
| | | | Another fix can be addition of buttons like always/never
* Fix CodeBaseClassLoaderTest.testParentClassLoaderIsAskedForClassesApplicationAdam Domurad2013-01-031-3/+8
|
* Fixed xtrust all behaviour for desktop icons. Now returning true only if ↵Jiri Vanek2012-12-241-1/+1
| | | | desktop icon should be created. False otherwise.
* netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java - ↵Jiri Vanek2012-12-211-0/+3
| | | | (shouldCreateShortcut) added handling of xtrustall during asking for desktop icon creation
* Add DownloadService implementationSaad Mohammad2012-11-083-1/+370
|
* PR1186: System.getProperty("deployment.user.security.trusted.cacerts") is nullOmair Majid2012-10-291-0/+1
| | | | | Copy deployment configration read into system properties so it is visibile to target programs.
* New message for when JNLP is fully signed by different certsAdam Domurad2012-10-191-1/+5
|
* Major rework of JarCertVerifier certificate management.Danesh Dadachanji2012-10-221-83/+52
| | | | | | This is a long-planned rework of JarCertVerifier, allowing it to handle multiple certificates. The algorithms used to verify jars with multiple certificates vary between JNLPs and Applets.
* PR1145: IcedTea-Web can cause ClassCircularityErrorOmair Majid2012-10-051-13/+1
| | | | | | | | | | | | | | | | | | | It is possible for the ClassLoader to encounter a ClassCircularityError. This can happen when the ClassLoader detects that checking if a class 'A' has been loaded triggers another check of whether 'A' has been loaded before the first check has completed. This can happen easily when trying to load Policy or Permission classes, which lie in our code path that checks whether a class has been loaded. One possible fix is to ensure these classes are not in the path of code that gets executed when we are trying to check for a class. This can be done by removing the call to getAccessControlContextForClassLoading. The javadocs for ClassLoader.findLoadedClass do not mention any permissions required to call the method nor do they mention that the method can throw a SecurityException. The native code that implements findLoadedClass does not have any security checks either. The doProvileged block is probably not needed here and removing it breaks the circularity.
* PR1161: X509VariableTrustManager does not work correctly with OpenJDK7Deepak Bhole2012-09-171-13/+80
|
* Fix for PR920: Classes attempted to load twice when class extends from ↵Adam Domurad2012-08-281-15/+2
| | | | outside jar
* Fir regression that sometimes results in ClassCircularityErrorDeepak Bhole2012-08-271-0/+2
|
* Fixed long term failing unit-test, fixed NPE from ClassLoaderJiri Vanek2012-08-271-2/+9
| | | | | | | | | | | | | | | * netx/net/sourceforge/jnlp/NullJnlpFileException.java: new class to distinguish plain NPE from null jnlp file. * netx/net/sourceforge/jnlp/SecurityDesc.java: (getSandBoxPermissions) added throw of NullJnlpFileException in case of null jnlp file. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (findClass) added Override annotation, add catch of NullJnlpFileException and re-throw of CNF exception. * tests/netx/unit/net/sourceforge/jnlp/runtime/CodeBaseClassLoaderTest.java: (testResourceLoadSuccessCaching) (testResourceLoadFailureCaching) (testParentClassLoaderIsAskedForClasses) - internal JNLPFile's (getSecurity) null in SecurityDesc constructorrepalced by this. (testNullFileSecurityDesc) new test to ensure NPE in null JNLPFile case.
* Fix some javadoc warningsThomas Meyer2012-08-192-2/+3
|
* Restrict manifest classpath searching for JNLPs.Danesh Dadachanji2012-08-151-1/+5
|
* Added splashscreen implementationJiri Vanek2012-08-132-2/+12
|
* Fix PR1049: Empty jars are handled correctly during signature validationSaad Mohammad2012-08-011-1/+1
|
* Refactor Object launchType; to LaunchDesc launchType; in JNLPFileAdam Domurad2012-07-101-11/+8
|
* Minor cleanup that removes avoidable code from loop.Saad Mohammad2012-07-091-13/+12
|
* Applet-tags now ignore any invalid (eg corrupt) jarsAdam Domurad2012-07-091-2/+62
| | | | | icedtea-web now skips over any jars that are corrupt or not actually jars. This is how the proprietary plugin treats this situation.
* Fix PR1040, PR1041, PR1042: Allows signed jars to function correctly using ↵Saad Mohammad2012-07-031-19/+104
| | | | extensions
* Fix problem in resolving classesOmair Majid2012-06-281-2/+14
| | | | | | | | | | | | | | | | | The bug manifests when the following sequence of steps happen: 1. An applet with both a codebase and a jar (archive) is loaded 2. A class Foo is loaded using the codebase classloader 3. The Foo class tries to load a class Bar that is specified in the jar archive. The Bar class is not found. The following applet reproduces the problem: http://javadjvu.foxtrottechnologies.com/cgi-bin/djvuapplet.pl/examples/deer.djvu?zoom=page The fix addresses the problem by ensuring that the codebase classloader asks the classloader that knows about the jar archive to resolve classes too.
* Fixes PR1011 w/ reproducer, folders now allowed in archive tag.Adam Domurad2012-06-281-0/+13
| | | | | Previously folders in the archive tag were treated as jars. They are now correctly treated as resource folders.
* Last hope for not downloaded resources to be verifiedJiri Vanek2012-06-261-1/+20
|
* Fixed bug in previous commit for PR861Deepak Bhole2012-06-071-4/+6
|
* PR861: Allow loading from non codebase hosts. Allow code to connect to ↵Deepak Bhole2012-06-051-16/+133
| | | | hosting server
* isDateInRange renamed to isDateInRange_internallForIcedTeaWebTestingJiri Vanek2012-06-051-8/+8
|
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions): ↵Jiri Vanek2012-05-291-14/+18
| | | | New rethrow of exceptions and following condition make more accurate
* Changed for-loops over iterators and indices to for-each loops if theyAdam Domurad2012-05-252-6/+5
| | | | were sufficient and clearer.
* Added more debugging outputs (especially paths to keystores) for ↵Jiri Vanek2012-05-231-1/+6
| | | | JNLPClassLoader and CertificateUtils
* * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: (getPermissions):Jiri Vanek2012-05-231-29/+51
| | | | | | | Any exception from this method is consumed somewhere. I have cough exception, reprint it in debug mode and re-throw (to be lost). Main condition in this method had several possible NullPointer exceptions. Separated and thrown before this condition.
* PR918: java applet windows uses a low resulution black/white iconOmair Majid2012-04-192-46/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-04-19 Omair Majid <[email protected]> * NEWS: Update with fix. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Remove windowIcon. (initialize): Do not call loadWindowIcon. (getWindowIcon): Remove. (setWindowIcon): Remove. (loadWindowIcon): Remove. * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java (checkTopLevelWindow): Do not set the icon for all top level windows. Use the default java icon instead. * netx/net/sourceforge/jnlp/util/ImageResources.java: New file. Provides access to icons. * netx/net/sourceforge/jnlp/JNLPSplashScreen.java (JNLPSplashScreen), * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java (getListener), * netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java (AdvancedProxySettingsDialog), * netx/net/sourceforge/jnlp/controlpanel/CacheViewer.java (CacheViewer), * netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java (ControlPanel), * netx/net/sourceforge/jnlp/security/SecurityDialog.java (SecurityDialog), * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java (CertificateViewer), * netx/net/sourceforge/jnlp/util/BasicExceptionDialog.java (show), * plugin/icedteanp/java/sun/applet/JavaConsole.java (initialize): Explicitly load icons. * tests/netx/unit/net/sourceforge/jnlp/util/ImageResourcesTest.java: Test for ImageResources class.
* Rename JarSigner to JarCertVerifier.Danesh Dadachanji2012-04-051-26/+26
|
* Fix pac testsOmair Majid2012-04-031-15/+20
| | | | | | | | | | | | | | | | | | | The testDateRange* tests were rewritten so date wrapping is handled correctly. Also fixes two bugs in pac-funcs.js (a missed return value and using getYear instead of getFullYear). 2012-04-03 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/runtime/pac-funcs.js: Replace incorrect use of getYear() with getFullYear(). (inYearMonthDateRange): Add missing conditional case. * tests/netx/pac/pac-funcs-test.js (runTest): New function. (runTests): Call runTest. (incDate): Deal with month/year wrapping around. (decDate): Removed. (testDateRange, testDateRange2, testDateRange3): Handle wrapping of month and days.
* PR895: IcedTea-Web searches for missing classes on each loadClass or findClassDeepak Bhole2012-03-141-4/+46
|
* Launch errors are not being printed to terminalOmair Majid2012-03-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2012-03-14 Omair Majid <[email protected]> Print exceptions to terminal when running in gui mode too. * netx/net/sourceforge/jnlp/AbstractLaunchHandler.java: New file. * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Extend AbstractLaunchHandler. (DefaultLaunchHandler): New method. (printMessage): Moved to parent class. * netx/net/sourceforge/jnlp/GuiLaunchHandler.java: Extend AbstractLaunchHandler. (GuiLauchHandler): New method. (launchError): Print the error too. (launchWarning,validationError): Call parent's printMessage. * netx/net/sourceforge/jnlp/LaunchException.java: Use standard java exception chaining. This removes compatibility with pre-java 1.3 class libraries. (LaunchException(JNLPFile,Exception,String,String,String,String)): Pass cause to parent so exceptions are chanined properly. (LaunchException(String,Throwable),LaunchException(Throwable)): Call parent's constructor. (printStackTrace(PrintStream),printStackTrace(PrintWriter),getCause): Removed. Use parent's implementation instead. (getCauses): Removed. * netx/net/sourceforge/jnlp/LaunchHandler.java (validationError): Rename argument to clarify meaing. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Redirect output of all handlers to System.err. * plugin/icedteanp/java/sun/applet/PluginAppletSecurityContext.java (PluginAppletSecurityContext): Likewise. * tests/netx/unit/net/sourceforge/jnlp/DefaultLaunchHandlerTest.java, * tests/netx/unit/net/sourceforge/jnlp/LaunchExceptionTest.java: New file. Contains tests.
* Added check for main class in jar manifest(s)Deepak Bhole2012-02-281-0/+57
|
* Fix regression in broken AppletTest.Danesh Dadachanji2012-02-131-0/+14
|
* PR852: Classloader not being flushed after last applet from a site is closedDeepak Bhole2012-01-271-1/+47
|
* fix findbugs cloud jnlpsOmair Majid2012-01-061-5/+11
| | | | | | | | | | | | | | | | | | | | | | | Someone reported that the following JNLP was not starting: http://findbugs.cs.umd.edu/cloud/eclipse.jnlp The first problem was that icedtea-web was trying to ensure that all jnlps, including extension jnlps have a main class. I wonder what other applications were broken by this check. This patch modifies the check to only check for main class when a main class is possible (applets and applications). The second second problem was that (in the extension jnlp file) the jnlp element did not contain a codebase attribute. IcedTea-Web tried to add this null codebase when merging the jnlp file, causing an exception. The patch simply ignores this null. 2012-01-05 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (initializeResources): Only throw exceptions about the main class not being found when the jnlp file can have a main class. (addToCodeBaseLoader): Dont try to process null URLs.
* BasicService code does not work when placed in the applet constructor.Danesh Dadachanji2011-12-191-0/+14
|
* Enabled testWeekdayRange, added tests for star/end of months for dateRange ↵Jiri Vanek2011-11-101-26/+39
| | | | pac function
* RH742515, CVE-2011-3377: IcedTea-Web: second-level domain subdomains and ↵Deepak Bhole2011-10-281-69/+1
| | | | suffix domain SOP bypass
* PR618: Can't install OpenDJ, JavaWebStart fails with Input stream is null error.Omair Majid2011-09-291-10/+43
| | | | | | | | | | | 2011-09-29 Omair Majid <[email protected]> * NEWS: Update. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (getResource): Rename to ... (findResource): New method. (findResources): If resource can not be found, search in lazy resources. (findResourcesBySearching): New method.
* Make getMainClass()'s return value consistent for AppletDesc and ApplicationDescOmair Majid2011-09-281-3/+2
| | | | | | | | | | | | | 2011-09-28 Omair Majid <[email protected]> * netx/net/sourceforge/jnlp/AppletDesc.java (getMainClass): Clarify the return value in javadoc. * netx/net/sourceforge/jnlp/Launcher.java (createApplet, createAppletObject): Do not replace '/' with '.'. * netx/net/sourceforge/jnlp/PluginBridge.java (PluginBridge): Ensure that the class name is in the dot-separated from. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (checkForMain): Ensure that the name is an exact match.
* PR794: IcedTea-Web does not work if a Web Start app jar has a Class-PathDeepak Bhole2011-09-282-7/+91
| | | | element in the manifest.
* Add support for client authentication certificatesLars Herschke2011-09-261-1/+5
| | | | | | | | | | | | | | | | | | 2011-09-26 Lars Herschke <[email protected]> * netx/net/sourceforge/jnlp/resources/Messages.properties: Add CVExportPasswordMessage, CVImportPasswordMessage and CVPasswordTitle. * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java (initialize): Initialize SSLContext with the user's client certificates. * netx/net/sourceforge/jnlp/security/CertificateUtils.java (addPKCS12ToKeyStore, addPKCS12ToKeyStore, dumpPKCS12): New methods. * netx/net/sourceforge/jnlp/security/viewer/CertificatePane.java (getPasswords): New method. (ImportButtonListener.actionPerformed): Import client certificates in PKCS12 format. (ExportButtonListener.actionPerformed): Export client certificates in PKCS12 format.
* PR788: Elluminate Live! is not workingOmair Majid2011-09-221-3/+4
| | | | | | | | | | 2011-09-22 Omair Majid <[email protected]> PR788: Elluminate Live! is not working * NEWS: Update. * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java (checkForMain): If localFile is null (JAR couldn't be downloaded), try to continue, rather than allowing the exception to cause an abort.
* added XrustAll optionJiri Vanek2011-09-223-0/+18
|