XWIKI-11143: Add support for URL source in office viewer macro
* workaround JDK 6 bug