jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Deparvu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-8034) javadoc:aggregate fails with JDK 11
Date Tue, 14 May 2019 11:30:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-8034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16839328#comment-16839328
] 

Alex Deparvu commented on OAK-8034:
-----------------------------------

latest update using
{code}
java version "11.0.3" 2019-04-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.3+12-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.3+12-LTS, mixed mode)
{code}

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:aggregate
(default-cli) on project jackrabbit-oak: An error has occurred in Javadoc report generation:

[ERROR] Exit code: 1 - /Users/aparvule/work/oak/oak-live/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/GroupPrincipals.java:20:
warning: [removal] Group in java.security.acl has been deprecated and marked for removal
[ERROR] import java.security.acl.Group;
[ERROR]                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalProvider.java:20:
warning: [removal] Group in java.security.acl has been deprecated and marked for removal
[ERROR] import java.security.acl.Group;
[ERROR]                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/GroupPrincipalWrapper.java:20:
warning: [removal] Group in java.security.acl has been deprecated and marked for removal
[ERROR] import java.security.acl.Group;
[ERROR]                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EmptyPrincipalProvider.java:20:
warning: [removal] Group in java.security.acl has been deprecated and marked for removal
[ERROR] import java.security.acl.Group;
[ERROR]                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/EveryonePrincipal.java:20:
warning: [removal] Group in java.security.acl has been deprecated and marked for removal
[ERROR] import java.security.acl.Group;
[ERROR]                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/CompositePrincipalProvider.java:20:
warning: [removal] Group in java.security.acl has been deprecated and marked for removal
[ERROR] import java.security.acl.Group;
[ERROR]                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/RepositoryUpgrade.java:145:
error: cannot find symbol
[ERROR] import org.apache.lucene.index.TermDocs;
[ERROR]                               ^
[ERROR]   symbol:   class TermDocs
[ERROR]   location: package org.apache.lucene.index
[ERROR] /Users/aparvule/work/oak/oak-live/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/RepositoryUpgrade.java:146:
error: cannot find symbol
[ERROR] import org.apache.lucene.index.TermEnum;
[ERROR]                               ^
[ERROR]   symbol:   class TermEnum
[ERROR]   location: package org.apache.lucene.index
[ERROR] /Users/aparvule/work/oak/oak-live/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakAnalyzer.java:25:
error: cannot find symbol
[ERROR] import org.apache.lucene.analysis.standard.StandardTokenizer;
[ERROR]                                           ^
[ERROR]   symbol:   class StandardTokenizer
[ERROR]   location: package org.apache.lucene.analysis.standard
[ERROR] /Users/aparvule/work/oak/oak-live/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/util/OakWordTokenFilter.java:22:
error: cannot find symbol
[ERROR] import org.apache.lucene.analysis.standard.StandardTokenizer;
[ERROR]                                           ^
[ERROR]   symbol:   class StandardTokenizer
[ERROR]   location: package org.apache.lucene.analysis.standard
[ERROR] /Users/aparvule/work/oak/oak-live/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/OakOSGiRepositoryFactory.java:391:
error: type ServiceTracker does not take parameters
[ERROR]     private static class RepositoryTracker extends ServiceTracker<Repository, Repository>
{
[ERROR]                                                                  ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/OakOSGiRepositoryFactory.java:409:
error: type ServiceReference does not take parameters
[ERROR]         public Repository addingService(ServiceReference<Repository> reference)
{
[ERROR]                                                         ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/ConfigTracker.java:46:
error: type ServiceTracker does not take parameters
[ERROR] class ConfigTracker extends ServiceTracker<ConfigurationAdmin, ConfigurationAdmin>
{
[ERROR]                                           ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/ConfigTracker.java:60:
error: type ServiceReference does not take parameters
[ERROR]     public ConfigurationAdmin addingService(ServiceReference<ConfigurationAdmin>
reference) {
[ERROR]                                                             ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/RunnableJobTracker.java:40:
error: type ServiceTracker does not take parameters
[ERROR] public class RunnableJobTracker extends ServiceTracker<Runnable, Future>
[ERROR]                                                       ^
[ERROR] /Users/aparvule/work/oak/oak-live/oak-pojosr/src/main/java/org/apache/jackrabbit/oak/run/osgi/RunnableJobTracker.java:60:
error: type ServiceReference does not take parameters
[ERROR]     public Future addingService(ServiceReference<Runnable> reference) {
[ERROR]                                                 ^
[ERROR] 
[ERROR] Command line was: /Users/aparvule/java/jdk-11.0.3.jdk/Contents/Home/bin/javadoc @options
@packages
{noformat}

> javadoc:aggregate fails with JDK 11
> -----------------------------------
>
>                 Key: OAK-8034
>                 URL: https://issues.apache.org/jira/browse/OAK-8034
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>            Reporter: Julian Reschke
>            Priority: Minor
>
> {noformat}
> [ERROR] C:\projects\apache\oak\trunk\oak-upgrade\src\main\java\org\apache\jackrabbit\oak\upgrade\RepositoryUpgrade.java:145:
error: cannot find symbol
>  [ERROR] import org.apache.lucene.index.TermDocs;
>  [ERROR] ^
>  [ERROR] symbol: class TermDocs
>  [ERROR] location: package org.apache.lucene.index
>  [ERROR] C:\projects\apache\oak\trunk\oak-upgrade\src\main\java\org\apache\jackrabbit\oak\upgrade\RepositoryUpgrade.java:146:
error: cannot find symbol
>  [ERROR] import org.apache.lucene.index.TermEnum;
>  [ERROR] ^
>  [ERROR] symbol: class TermEnum
>  [ERROR] location: package org.apache.lucene.index
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message