[ 
https://issues.apache.org/jira/browse/SLING-11921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Munteanu updated SLING-11921:
------------------------------------
    Fix Version/s: XSS Protection API 2.3.12
                       (was: XSS Protection API 2.3.10)

> Building javadoc with Java 11 fails
> -----------------------------------
>
>                 Key: SLING-11921
>                 URL: https://issues.apache.org/jira/browse/SLING-11921
>             Project: Sling
>          Issue Type: Bug
>          Components: XSS Protection API
>    Affects Versions: XSS Protection API 2.3.8
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>            Priority: Major
>             Fix For: XSS Protection API 2.3.12
>
>
> After the fix for 11610, building javadoc with Java 11 or newer fails
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-javadoc-plugin:3.4.0:jar (default-cli) on 
> project org.apache.sling.xss: MavenReportException: Error while generating 
> Javadoc: 
> [ERROR] Exit code: 1 - 
> /home/robert/sources/apache/sling/org-apache-sling-xss/src/main/java/org/apache/sling/xss/impl/AntiSamyPolicyAdapter.java:39:
>  error: package sun.misc does not exist
> [ERROR] import sun.misc.Unsafe;
> [ERROR]                ^
> [ERROR] 
> [ERROR] Command line was: /usr/lib64/jvm/java-11-openjdk-11/bin/javadoc 
> @options @packages{noformat}
> As a direct consequence, releasing must be done with Java 8



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to