diff options
author | Omair Majid <[email protected]> | 2014-01-24 10:05:12 -0500 |
---|---|---|
committer | Omair Majid <[email protected]> | 2014-01-24 10:05:12 -0500 |
commit | 5e29c4c6084a30b3102782ab7489ffb1a25c6c27 (patch) | |
tree | 073f67fb02f95193e9374b16475eea950c9a6d87 /netx/net/sourceforge/jnlp/JNLPFile.java | |
parent | b5fe255a252eaabac547973403fcfac7e6033c24 (diff) |
Support building against OpenJDK8
The OpenJDK8 javadoc parser is much more strict and raises
erorrs on marlformed html, incorrect parameter names and
incorrect throws declerations.
2014-01-23 Omair Majid <[email protected]>
* netx/net/sourceforge/jnlp/JNLPFile.java,
* netx/net/sourceforge/jnlp/NetxPanel.java,
* netx/net/sourceforge/jnlp/cache/CacheLRUWrapper.java,
* netx/net/sourceforge/jnlp/cache/CacheUtil.java,
* netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java,
* netx/net/sourceforge/jnlp/config/DirectoryValidator.java,
* netx/net/sourceforge/jnlp/config/Setting.java,
* netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java,
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java,
* netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java,
* netx/net/sourceforge/jnlp/runtime/RhinoBasedPacEvaluator.java,
* netx/net/sourceforge/jnlp/security/SecurityDialogs.java,
* netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java,
* netx/net/sourceforge/jnlp/services/XSingleInstanceService.java,
* netx/net/sourceforge/jnlp/util/FileUtils.java,
* netx/net/sourceforge/jnlp/util/JarFile.java,
* netx/net/sourceforge/nanoxml/XMLElement.java,
* netx/net/sourceforge/nanoxml/XMLParseException.java,
* plugin/icedteanp/java/sun/applet/PluginStreamHandler.java: Fix incorrect
parameter names, throws declerations and malformed html in javadocs.
Diffstat (limited to 'netx/net/sourceforge/jnlp/JNLPFile.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/JNLPFile.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/netx/net/sourceforge/jnlp/JNLPFile.java b/netx/net/sourceforge/jnlp/JNLPFile.java index acf510f..338bc8f 100644 --- a/netx/net/sourceforge/jnlp/JNLPFile.java +++ b/netx/net/sourceforge/jnlp/JNLPFile.java @@ -199,7 +199,7 @@ public class JNLPFile { * * @param location the location of the JNLP file * @param version the version of the JNLP file - * @param strict whether to enforce the spec when + * @param settings the {@link ParserSettings} to use when parsing the {@code location} * @param policy the update policy * @throws IOException if an IO exception occurred * @throws ParseException if the JNLP file was invalid @@ -264,7 +264,6 @@ public class JNLPFile { /** * Create a JNLPFile from an input stream. * - * @throws IOException if an IO exception occurred * @throws ParseException if the JNLP file was invalid */ public JNLPFile(InputStream input, ParserSettings settings) throws ParseException { @@ -277,8 +276,7 @@ public class JNLPFile { * * @param input input stream of JNLP file. * @param codebase codebase to use if not specified in JNLP file.. - * @param strict whether to enforce the spec rules - * @throws IOException if an IO exception occurred + * @param settings the {@link ParserSettings} to use when parsing * @throws ParseException if the JNLP file was invalid */ public JNLPFile(InputStream input, URL codebase, ParserSettings settings) throws ParseException { @@ -665,9 +663,7 @@ public class JNLPFile { * * @param requested the local * @param available the available locales - * @param precision the depth with which to match locales. 1 checks only - * language, 2 checks language and country, 3 checks language, country and - * variant for matches. Passing 0 will always return true. + * @param matchLevel the detail with which to match locales. * @return true if requested matches any of available, or if * available is empty or null. */ |