Release Notes for XWiki 12.0-rc-1

Version 16.4 by Thomas Mortagne on 2020/01/23

This is the release notes for XWiki Commons, XWiki Rendering and XWiki Platform. They share the same release notes as they are released together and have the same version.

To start this new year, we have updated a lot of our dependencies, to give some freshness to the whole platform. For administrators, it is now possible to define name strategies for new pages. For developers, the new big change is the upgrade of Velocity to the new 2.2 version, which support new syntax expressions. In addition, more than 40 bugs has been fixed since the release of XWiki 11.10.

New and Noteworthy (since XWiki 11.10)

Full list of issues fixed and Dashboard for 12.0-rc-1.

For Users

  • Emoji Support Enabled in WYSIWYG Editor: You can now insert emoji from the WYSIWYG editor using the dedicated toolbar button. This is done using the Emoji CKEditor Plugin. See the CKEditor Integration for more information.

  • Rendered Changes Using Image Data: A change in the source URL, or reference, of an image displayed on a wiki page, where the image itself is not modified, doesn't appear in the rendered diff anymore when comparing the revisions of that page.

For Admins

Name Strategies for Wiki Pages

 
A new Name Strategy Module has been introduced to allow administrators to have more control on the wiki page names.
The name strategies allow to validate and transform page names before they are created to comply with a defined policy.
The transformation of page name is performed before page creations through XWiki UI, while page name validation is performed at the API level.

Two strategies have been implemented as a start for this new feature:
  - the Character Replacement Strategy: allows to define forbidden characters in page names, and replacement characters for each. If no replacement characters are defined, the forbidden characters are simply removed from page names.
  - the Slug Name Strategy: allows to normalize page names to remove any special characters and accents.

By default, the Character Replacement Strategy is used with "/" (slash) and "\" (backslash) as forbidden characters, without defined characters. Only the page name transformation is enabled, page name validation is still experimental and should be used with caution. 

This new feature can be setup in the Administration in Editing > Name Strategies.

Miscellaneous

  • XAR export improvement: A new version of the XAR format has been introduced to improve the way attachment history is exported:

    • it's streamable (exporting an attachment history used to require a lot of memory)
    • version with identical content are de-duplicated (for example the history contain the current version so with the old format it's stored in both the current version and the history)

    This new format is used by default to store deleted documents but not yet in the XAR export administration, should be enabled in 12.0 final.

  • Disable deprecation warnings: A new property property logging.deprecated.enabled xwiki.properties allow controlling if warning related to use of deprecated APIs should be logged or not. See Logging Module for more details.

  • Solr Debian package: A new xwiki-solr-core Debian package is now provided, which automatically registers an xwiki core in a standalone Solr instance (provided it uses the standard setup).

  • Select the Wiki Home Page with the new Page Picker: The wiki descriptor administration section is now using the new page picker for the home page field.

For Developers

Velocity upgrade to 2.2

 
After 9 years Velocity finally got a update. You can see a detailed changelog on https://velocity.apache.org/engine/2.2/changes.html but here are the important new things from XWiki script authors:

  • Allow expressions inside []: $foo[$bar + 1]
  • New strategy for reference boolean evaluation:
    • return false for a null object
    • return its value for a Boolean object, or the result of the getAsBoolean() method if it exists.
    • if directive.if.emptycheck is false (true by default), stop here and return true.
    • check for emptiness:
      • return whether an array is empty.
      • return whether isEmpty() is false (covers String and all Collection classes).
      • return whether length() is zero (covers CharSequence classes other than String).
      • returns whether size() is zero.
      • return whether a Number strictly equals zero.
    • check for emptiness after explicit conversion methods:
      • return whether the result of getAsString() is empty (and false for a null result) if it exists.
      • return whether the result of getAsNumber() strictly equals zero (and false for a null result) if it exists.
  • Support $array.empty, as for $list.empty
  • Fix parsing of $obj._method()
  • Have #foreach honnor the Closeable interface on the iterator
  • Fix regression: #set<tab>left-paren no longer valid grammar
  • Fix parser for '$map{key}' text rendering
  • #foreach should work over any Iterable class
  • Method arguments can now be expressions
  • Fixed quotes escaping so that doubling single quotes only works when enclosing quotes are single quotes (and same behaviour for double quotes)
  • Add ability to specify default values for macro parameters, e.g.; #macro(foo bar=1)
  • Add ability to place line comments next to macro parameter definitions
  • Block directives no longer require parenthesis so #@foo #end is now allowed. Also, brackets now work with Block Macros so #{@foo}bar#end works
  • Default block for empty loops: #foreach($i in []) loop block #else empty #end
  • Rendering of arrays should display their content, as for lists
  • New generic $collectiontool which replaces and enhances the former SortTool
  • New generic $logtool

Upgrades

The following runtime dependencies have been upgraded (they have a different release cycle than XWiki Commons, XWiki Rendering and XWiki Platform):

Translations

The following translations have been updated: 

Known issues

Backward Compatibility and Migration Notes

General Notes

  • When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added:
    • xwiki.cfg
    • xwiki.properties
    • web.xml
    • hibernate.cfg.xml
  • Add xwiki.store.migration=1 in xwiki.cfg so that XWiki will attempt to automatically migrate your current database to any new schema. Make sure you backup your Database before doing anything.

Issues specific to XWiki 12.0RC1

Velocity 2.2 upgrade

While Velocity upgrade bring a lot of nice new improvements it also comes with unavoidable behavior changes that might be a breackage for your scripts or break some extensions:

  • The Velocity Java API changed quite a lot, if you use advanced features directly in Java there is a big chance that you need to update your code. You can find more details on https://velocity.apache.org/engine/2.2/upgrading.html
  • Most names of Velocity configuration properties have changed ; old names are still functional but will emit a deprecation warning in the log. See the Configuration Changes in Velocity 2.1 page.
  • We tried to reduce as much as possible the breaking changes in the language using some retro compatibility flags provided by Velocity and some hacks on XWiki side but there is still things for which you might want to be carefull:
    • Deprecations: A lot of APIs are now deprecated, they should work fine but will produce a warning in the log (unless you disabled that using the new property logging.deprecated.enabled in xwiki.properties)
      • $listtool was already deprecatedd since Velocity 1.6 which added support for allows all List methods to be called on arrays
      • $sorttool replaced by $collectiontool
      • $velocityCount and $velocityHasNext where already deprecated in Velocity 1.7 without producing any deprecation warning, they now do
    • Breackages:
      • No more Velocity macro semi-local context: in Velocity 1.7 variable set inside a macro were set both in the global context and in a special macro local context. In Velocity 2.x this local context does not exist anymore. In pratice in means that if, in your macro, you #set a variable and execute another Velocity template which set the same variable your macro will be affected while it used to be "protected" by the previous explicit #set. It's now (since Velocity 1.7 actually) recommended to use the $macro map to manipulate local variable (as in #set($macro.myLocalVar = "value")).
    • Known bugs:

Servlet 3.1 upgrade

XWiki now requires an application supporting Servlet 3.1 at least. This means for example that XWiki won't work in Tomcat 7 anymore.

API Breakages

The following APIs were modified since XWiki 11.10.2:

  • Should have never been public
    • Violation type:
      java.class.removed
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.TryCatchDirective
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.MethodArgumentsUberspector

      ## New:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method java.util.Iterator org.apache.velocity.util.introspection.AbstractChainableUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.MethodArgumentsUberspector

      ## New:
      method java.util.Iterator org.apache.velocity.util.introspection.AbstractChainableUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelMethod org.xwiki.velocity.introspection.MethodArgumentsUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) throws java.lang.Exception

      ## New:
      method org.apache.velocity.util.introspection.VelMethod org.xwiki.velocity.introspection.MethodArgumentsUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info)
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.MethodArgumentsUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.MethodArgumentsUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.apache.velocity.runtime.log.Log===) @ org.xwiki.velocity.introspection.MethodArgumentsUberspector

      ## New:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.slf4j.Logger===) @ org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.velocity.util.introspection.UberspectImpl::setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger) @ org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.MethodArgumentsUberspector

      ## New:
      class org.xwiki.velocity.introspection.MethodArgumentsUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.util.introspection.IntrospectorBase.log @ org.xwiki.velocity.introspection.SecureIntrospector

      ## New:
      field org.apache.velocity.util.introspection.IntrospectorBase.log @ org.xwiki.velocity.introspection.SecureIntrospector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.xwiki.velocity.introspection.SecureIntrospector::<init>(java.lang.String[], java.lang.String[], ===org.apache.velocity.runtime.log.Log===)

      ## New:
      parameter void org.xwiki.velocity.introspection.SecureIntrospector::<init>(java.lang.String[], java.lang.String[], ===org.slf4j.Logger===)
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.SecureUberspector

      ## New:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method java.util.Iterator org.xwiki.velocity.introspection.SecureUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception

      ## New:
      method java.util.Iterator org.xwiki.velocity.introspection.SecureUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info)
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.UberspectImpl::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.SecureUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.UberspectImpl::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.UberspectImpl::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.SecureUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.UberspectImpl::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.UberspectImpl::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.SecureUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.UberspectImpl::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.apache.velocity.runtime.log.Log===) @ org.xwiki.velocity.introspection.SecureUberspector

      ## New:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.slf4j.Logger===) @ org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.velocity.util.introspection.UberspectImpl::setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger) @ org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. This class is only supposed to be used by Velocity.
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.SecureUberspector

      ## New:
      class org.xwiki.velocity.introspection.SecureUberspector
  • Velocity API changes. Not used in Velocity scripts.
    • Violation type:
      java.field.removedWithConstant
    • Code:
      ## Old:
      field org.apache.velocity.tools.generic.SafeConfig.OLD_LOCK_CONFIG_KEY @ org.xwiki.velocity.tools.EscapeTool
  • Velocity API changes. Not used in Velocity scripts.
    • Violation type:
      java.field.removedWithConstant
    • Code:
      ## Old:
      field org.apache.velocity.tools.generic.SafeConfig.OLD_LOCK_CONFIG_KEY @ org.xwiki.velocity.tools.ComparisonDateTool
  • Velocity API changes. Not used in Velocity scripts.
    • Violation type:
      java.field.removedWithConstant
    • Code:
      ## Old:
      field org.apache.velocity.tools.generic.DateTool.DEFAULT_FORMAT_KEY @ org.xwiki.velocity.tools.ComparisonDateTool
  • Velocity API changes. Not used in Velocity scripts.
    • Violation type:
      java.field.removedWithConstant
    • Code:
      ## Old:
      field org.apache.velocity.tools.generic.DateTool.DEFAULT_LOCALE_KEY @ org.xwiki.velocity.tools.ComparisonDateTool
  • org.xwiki.velocity.tools.CollectionsTool is not supposed to be extended and even so it should not have much impact
    • Violation type:
      java.method.finalMethodAddedToNonFinalClass
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String org.apache.velocity.tools.generic.CollectionTool::getStringsDelimiter() @ org.xwiki.velocity.tools.CollectionsTool
  • org.xwiki.velocity.tools.CollectionsTool is not supposed to be extended and even so it should not have much impact
    • Violation type:
      java.method.finalMethodAddedToNonFinalClass
    • Code:
      ## Old:
      null

      ## New:
      method boolean org.apache.velocity.tools.generic.CollectionTool::getStringsTrim() @ org.xwiki.velocity.tools.CollectionsTool
  • org.xwiki.velocity.tools.CollectionsTool is not supposed to be extended and even so it should not have much impact
    • Violation type:
      java.method.finalMethodAddedToNonFinalClass
    • Code:
      ## Old:
      null

      ## New:
      method void org.apache.velocity.tools.generic.CollectionTool::setStringsDelimiter(java.lang.String) @ org.xwiki.velocity.tools.CollectionsTool
  • org.xwiki.velocity.tools.CollectionsTool is not supposed to be extended and even so it should not have much impact
    • Violation type:
      java.method.finalMethodAddedToNonFinalClass
    • Code:
      ## Old:
      null

      ## New:
      method void org.apache.velocity.tools.generic.CollectionTool::setStringsTrim(boolean) @ org.xwiki.velocity.tools.CollectionsTool
  • org.xwiki.velocity.tools.CollectionsTool is not supposed to be extended and even so it should not have much impact
    • Violation type:
      java.class.nonFinalClassInheritsFromNewClass
    • Code:
      ## Old:
      class org.xwiki.velocity.tools.CollectionsTool

      ## New:
      class org.xwiki.velocity.tools.CollectionsTool
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.text.DateFormat org.apache.velocity.tools.generic.DateTool::getDateFormat(int, int, java.util.Locale, java.util.TimeZone) @ org.xwiki.velocity.tools.ComparisonDateTool
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method int org.apache.velocity.tools.generic.DateTool::getStyleAsInt(java.lang.String) @ org.xwiki.velocity.tools.ComparisonDateTool
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method java.util.Iterator org.apache.velocity.util.introspection.AbstractChainableUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      method java.util.Iterator org.apache.velocity.util.introspection.AbstractChainableUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.AbstractChainableUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.AbstractChainableUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.apache.velocity.runtime.log.Log===) @ org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.slf4j.Logger===) @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.velocity.util.introspection.UberspectImpl::setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger) @ org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.AbstractChainableUberspector

      ## New:
      class org.xwiki.velocity.introspection.AbstractChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method java.util.Iterator org.apache.velocity.util.introspection.Uberspect::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainableUberspector

      ## New:
      method java.util.Iterator org.apache.velocity.util.introspection.Uberspect::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.Uberspect::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainableUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.Uberspect::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.Uberspect::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainableUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.Uberspect::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.Uberspect::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainableUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.Uberspect::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainableUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method java.util.Iterator org.apache.velocity.util.introspection.AbstractChainableUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      method java.util.Iterator org.apache.velocity.util.introspection.AbstractChainableUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.AbstractChainableUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelMethod org.apache.velocity.util.introspection.AbstractChainableUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertyGet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception @ org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      method org.apache.velocity.util.introspection.VelPropertySet org.apache.velocity.util.introspection.AbstractChainableUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.apache.velocity.runtime.log.Log===) @ org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.slf4j.Logger===) @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.velocity.util.introspection.UberspectImpl::setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger) @ org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      class org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.ChainingUberspector

      ## New:
      class org.xwiki.velocity.introspection.ChainingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.LinkingUberspector

      ## New:
      field org.apache.velocity.util.introspection.UberspectImpl.log @ org.xwiki.velocity.introspection.LinkingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method java.util.Iterator org.xwiki.velocity.introspection.LinkingUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception

      ## New:
      method java.util.Iterator org.xwiki.velocity.introspection.LinkingUberspector::getIterator(java.lang.Object, org.apache.velocity.util.introspection.Info)
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelMethod org.xwiki.velocity.introspection.LinkingUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info) throws java.lang.Exception

      ## New:
      method org.apache.velocity.util.introspection.VelMethod org.xwiki.velocity.introspection.LinkingUberspector::getMethod(java.lang.Object, java.lang.String, java.lang.Object[], org.apache.velocity.util.introspection.Info)
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertyGet org.xwiki.velocity.introspection.LinkingUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info) throws java.lang.Exception

      ## New:
      method org.apache.velocity.util.introspection.VelPropertyGet org.xwiki.velocity.introspection.LinkingUberspector::getPropertyGet(java.lang.Object, java.lang.String, org.apache.velocity.util.introspection.Info)
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.exception.checkedRemoved
    • Code:
      ## Old:
      method org.apache.velocity.util.introspection.VelPropertySet org.xwiki.velocity.introspection.LinkingUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info) throws java.lang.Exception

      ## New:
      method org.apache.velocity.util.introspection.VelPropertySet org.xwiki.velocity.introspection.LinkingUberspector::getPropertySet(java.lang.Object, java.lang.String, java.lang.Object, org.apache.velocity.util.introspection.Info)
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.apache.velocity.runtime.log.Log===) @ org.xwiki.velocity.introspection.LinkingUberspector

      ## New:
      parameter void org.apache.velocity.util.introspection.UberspectImpl::setLog(===org.slf4j.Logger===) @ org.xwiki.velocity.introspection.LinkingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.velocity.util.introspection.UberspectImpl::setRuntimeLogger(org.apache.velocity.runtime.RuntimeLogger) @ org.xwiki.velocity.introspection.LinkingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.LinkingUberspector

      ## New:
      class org.xwiki.velocity.introspection.LinkingUberspector
  • Velocity API changes. Only a protected method so not impact for Velocity scripts
    • Violation type:
      java.class.noLongerImplementsInterface
    • Code:
      ## Old:
      class org.xwiki.velocity.introspection.LinkingUberspector

      ## New:
      class org.xwiki.velocity.introspection.LinkingUberspector
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.runtime.resource.loader.ResourceLoader.log @ org.xwiki.velocity.XWikiWebappResourceLoader

      ## New:
      field org.apache.velocity.runtime.resource.loader.ResourceLoader.log @ org.xwiki.velocity.XWikiWebappResourceLoader
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.field.visibilityReduced
    • Code:
      ## Old:
      field org.apache.velocity.tools.view.WebappResourceLoader.paths @ org.xwiki.velocity.XWikiWebappResourceLoader

      ## New:
      field org.xwiki.velocity.XWikiWebappResourceLoader.paths
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.field.removed
    • Code:
      ## Old:
      field org.apache.velocity.tools.view.WebappResourceLoader.servletContext @ org.xwiki.velocity.XWikiWebappResourceLoader
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.field.removed
    • Code:
      ## Old:
      field org.apache.velocity.tools.view.WebappResourceLoader.templatePaths @ org.xwiki.velocity.XWikiWebappResourceLoader
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.apache.velocity.runtime.resource.loader.ResourceLoader::commonInit(org.apache.velocity.runtime.RuntimeServices, ===org.apache.commons.collections.ExtendedProperties===) @ org.xwiki.velocity.XWikiWebappResourceLoader

      ## New:
      parameter void org.apache.velocity.runtime.resource.loader.ResourceLoader::commonInit(org.apache.velocity.runtime.RuntimeServices, ===org.apache.velocity.util.ExtProperties===) @ org.xwiki.velocity.XWikiWebappResourceLoader
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method java.io.InputStream org.apache.velocity.tools.view.WebappResourceLoader::getResourceStream(java.lang.String) throws org.apache.velocity.exception.ResourceNotFoundException @ org.xwiki.velocity.XWikiWebappResourceLoader
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter void org.xwiki.velocity.XWikiWebappResourceLoader::init(===org.apache.commons.collections.ExtendedProperties===)

      ## New:
      parameter void org.xwiki.velocity.XWikiWebappResourceLoader::init(===org.apache.velocity.util.ExtProperties===)
  • Velocity 2.x upgrade. Not a breackage in practice since this class is only manipulated by Velocity.
    • Violation type:
      java.class.noLongerInheritsFromClass
    • Code:
      ## Old:
      class org.xwiki.velocity.XWikiWebappResourceLoader

      ## New:
      class org.xwiki.velocity.XWikiWebappResourceLoader
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter boolean org.apache.velocity.context.AbstractContext::containsKey(===java.lang.Object===) @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      parameter boolean org.apache.velocity.context.AbstractContext::containsKey(===java.lang.String===) @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method java.lang.Object[] org.apache.velocity.context.AbstractContext::getKeys() @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      method java.lang.String[] org.apache.velocity.context.AbstractContext::getKeys() @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method java.lang.Object[] org.apache.velocity.context.InternalContextBase::getMacroNameStack() @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      method java.lang.String[] org.apache.velocity.context.InternalContextBase::getMacroNameStack() @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method java.lang.Object[] org.apache.velocity.context.InternalContextBase::getTemplateNameStack() @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      method java.lang.String[] org.apache.velocity.context.InternalContextBase::getTemplateNameStack() @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter boolean org.apache.velocity.VelocityContext::internalContainsKey(===java.lang.Object===) @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      parameter boolean org.apache.velocity.VelocityContext::internalContainsKey(===java.lang.String===) @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.returnTypeChangedCovariantly
    • Code:
      ## Old:
      method java.lang.Object[] org.apache.velocity.VelocityContext::internalGetKeys() @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      method java.lang.String[] org.apache.velocity.VelocityContext::internalGetKeys() @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter java.lang.Object com.xpn.xwiki.render.ScriptVelocityContext::internalRemove(===java.lang.Object===)

      ## New:
      parameter java.lang.Object com.xpn.xwiki.render.ScriptVelocityContext::internalRemove(===java.lang.String===)
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.parameterTypeChanged
    • Code:
      ## Old:
      parameter java.lang.Object org.apache.velocity.context.AbstractContext::remove(===java.lang.Object===) @ com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      parameter java.lang.Object org.apache.velocity.context.AbstractContext::remove(===java.lang.String===) @ com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.class.nonFinalClassInheritsFromNewClass
    • Code:
      ## Old:
      class com.xpn.xwiki.render.ScriptVelocityContext

      ## New:
      class com.xpn.xwiki.render.ScriptVelocityContext
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.struts.action.RequestProcessor::log(java.lang.String) @ com.xpn.xwiki.web.XWikiRequestProcessor
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method void org.apache.struts.action.RequestProcessor::log(java.lang.String, java.lang.Throwable) @ com.xpn.xwiki.web.XWikiRequestProcessor
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.exception.checkedAdded
    • Code:
      ## Old:
      method boolean org.apache.struts.action.RequestProcessor::processValidate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping) throws java.io.IOException, javax.servlet.ServletException @ com.xpn.xwiki.web.XWikiRequestProcessor

      ## New:
      method boolean org.apache.struts.action.RequestProcessor::processValidate(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping) throws java.io.IOException, javax.servlet.ServletException, org.apache.struts.action.InvalidCancelException @ com.xpn.xwiki.web.XWikiRequestProcessor
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.field.typeChanged
    • Code:
      ## Old:
      field org.apache.velocity.runtime.resource.ResourceManagerImpl.log @ com.xpn.xwiki.web.XWikiResourceManagerImpl

      ## New:
      field org.apache.velocity.runtime.resource.ResourceManagerImpl.log @ com.xpn.xwiki.web.XWikiResourceManagerImpl
  • Velocity 2.x upgrade. Should not have any impact on the scripts.
    • Violation type:
      java.method.removed
    • Code:
      ## Old:
      method org.apache.velocity.runtime.resource.Resource org.apache.velocity.runtime.resource.ResourceManagerImpl::getResource(java.lang.String, int) throws org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.ParseErrorException, java.lang.Exception @ com.xpn.xwiki.web.XWikiResourceManagerImpl
  • Servlet 3.1 introduce new APIs
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method java.lang.String javax.servlet.http.HttpServletRequest::changeSessionId() @ com.xpn.xwiki.web.XWikiRequest
  • Servlet 3.1 introduce new APIs
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method long javax.servlet.ServletRequest::getContentLengthLong() @ com.xpn.xwiki.web.XWikiRequest
  • Servlet 3.1 introduce new APIs
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method <T extends javax.servlet.http.HttpUpgradeHandler> T javax.servlet.http.HttpServletRequest::upgrade(java.lang.Class<T>) throws java.io.IOException, javax.servlet.ServletException @ com.xpn.xwiki.web.XWikiRequest
  • Servlet 3.1 introduce new APIs
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method void javax.servlet.ServletResponse::setContentLengthLong(long) @ com.xpn.xwiki.web.XWikiResponse
  • Servlet 3.1 introduce new APIs
    • Violation type:
      java.method.addedToInterface
    • Code:
      ## Old:
      null

      ## New:
      method long javax.servlet.ServletRequest::getContentLengthLong() @ org.xwiki.wysiwyg.filter.MutableServletRequest
  • Runtime compatible. Servlet 3.1 upgrade
    • Violation type:
      java.method.parameterTypeParameterChanged
    • Code:
      ## Old:
      parameter boolean javax.servlet.ServletRequestWrapper::isWrapperFor(===java.lang.Class===) @ com.xpn.xwiki.web.XWikiRequestProcessor.RequestProcessorServletRequestWrapper

      ## New:
      parameter boolean javax.servlet.ServletRequestWrapper::isWrapperFor(===java.lang.Class<?>===) @ com.xpn.xwiki.web.XWikiRequestProcessor.RequestProcessorServletRequestWrapper
  • Runtime compatible. Servlet 3.1 upgrade
    • Violation type:
      java.method.parameterTypeParameterChanged
    • Code:
      ## Old:
      parameter boolean javax.servlet.ServletRequestWrapper::isWrapperFor(===java.lang.Class===) @ com.xpn.xwiki.web.XWikiServletRequest

      ## New:
      parameter boolean javax.servlet.ServletRequestWrapper::isWrapperFor(===java.lang.Class<?>===) @ com.xpn.xwiki.web.XWikiServletRequest
  • Runtime compatible. Servlet 3.1 upgrade
    • Violation type:
      java.method.parameterTypeParameterChanged
    • Code:
      ## Old:
      parameter boolean javax.servlet.ServletResponseWrapper::isWrapperFor(===java.lang.Class===) @ com.xpn.xwiki.web.includeservletasstring.BufferedResponse

      ## New:
      parameter boolean javax.servlet.ServletResponseWrapper::isWrapperFor(===java.lang.Class<?>===) @ com.xpn.xwiki.web.includeservletasstring.BufferedResponse

Credits

The following people have contributed code and translations to this release (sorted alphabetically):

  • Adel Atallah
  • Anca Luca
  • Björn Ludwig
  • Carlos Amengual
  • Christian Fröhlich
  • Clément Aubin
  • DenisF
  • flyger
  • Guillaume Delhumeau
  • Marius Dumitru Florea
  • Prachi Joshi
  • Roman Ivanov
  • Simon Urli
  • Thomas Mortagne
  • tomaszkowalczyk94
  • Vincent Massol
  • xrichard
Tags:
   

Get Connected