jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (OAK-7547) commons: avoid use of Guava beta APIs in StringSort
Date Wed, 20 Mar 2019 12:07:00 GMT

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

Julian Reschke updated OAK-7547:
--------------------------------
    Comment: was deleted

(was: trunk: [r1833702|http://svn.apache.org/r1833702]
)

> commons: avoid use of Guava beta APIs in StringSort
> ---------------------------------------------------
>
>                 Key: OAK-7547
>                 URL: https://issues.apache.org/jira/browse/OAK-7547
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: commons
>            Reporter: Julian Reschke
>            Priority: Major
>              Labels: candidate_oak_1_6
>             Fix For: 1.10.0, 1.9.4, 1.8.13
>
>         Attachments: OAK-7547.diff
>
>
> Output from compile with {{-Pguavabetachecks}}:
> {noformat}
> [INFO] Compiling 33 source files to /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit
Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK 1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/target/classes
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:187:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>                 writer = Files.newWriter(idFile, charset);
>                               ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:187:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>                 writer = Files.newWriter(idFile, charset);
>                          ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:213:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>             CloseableIterator itr = new CloseableIterator(Files.newReader(sortedFile,
charset));
>                                                                ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:213:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>             CloseableIterator itr = new CloseableIterator(Files.newReader(sortedFile,
charset));
>                                                           ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:225:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>             Closer closer = Closer.create();
>             ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:225:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>             Closer closer = Closer.create();
>                                   ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:225:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>             Closer closer = Closer.create();
>                             ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:228:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>                 closer.register(new Closeable() {
>                       ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:234:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>                 closer.register(writer);
>                       ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:236:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>                     closer.register(citr);
>                           ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> /home/jenkins/jenkins-slave/workspace/Apache Jackrabbit Oak matrix/Ubuntu Slaves/ubuntu/jdk/JDK
1.8 (latest)/nsfixtures/SEGMENT_TAR/profile/guavabetachecks/oak-commons/src/main/java/org/apache/jackrabbit/oak/commons/sort/StringSort.java:239:
error: [BetaApi] @Beta APIs should not be used in library code as they are subject to change
>                 closer.close();
>                       ^
>     (see https://github.com/google/guava/wiki/PhilosophyExplained#beta-apis)
> 11 errors
> {noformat}



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

Mime
View raw message