| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
certificate warning.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
icedtea-web now skips over any jars that are corrupt or not actually jars.
This is how the proprietary plugin treats this situation.
|
|
|
|
| |
extensions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Previously folders in the archive tag were treated as jars.
They are now correctly treated as resource folders.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
hosting server
|
| |
|
| |
|
|
|
|
| |
New rethrow of exceptions and following condition make more accurate
|
|
|
|
| |
were sufficient and clearer.
|
|
|
|
| |
PBadNonrelativeUrl
|
|
|
|
| |
JNLPClassLoader and CertificateUtils
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
reported cases of == being used to compare String's. Some usage cases were valid (eg, .equals eventually called, magic String value). I noted one such usage case. The others were changed to .equals calls.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
OutOfBoundsException for a corrupted path entry thrown in
CacheUtil.pathToURLPath(). This Exception was catched in
RessourceTracker.Downloader.run() and only printed in debug mode.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
JNLPMatcher was using PipedInputStream and PipedOutputStream without threads
which was deadlocking on large files. Use ByteArrayOutputStream instead to
avoid this.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|