You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Matt Ryan (JIRA)" <ji...@apache.org> on 2016/09/07 20:03:20 UTC

[jira] [Commented] (OAK-4772) SegmentDataStoreBlobGCIT.java in segment-tar will not build with latest oak-core

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

Matt Ryan commented on OAK-4772:
--------------------------------

To reproduce, check out the latest, then in the {{oak-segment-tar}} directory, run:

{noformat}
mvn clean package -Doak.version=1.5.7
{noformat}

You should see the following errors:

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project oak-segment-tar: Compilation failure: Compilation failure:
[ERROR] /oak/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/SegmentDataStoreBlobGCIT.java:[474,8] error: method does not override or implement a method from a supertype
[ERROR] /oak/oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/SegmentDataStoreBlobGCIT.java:[496,39] error: method sweep in class MarkSweepGarbageCollector cannot be applied to given types;
{noformat}

Building with version 1.5.5 (or not specifying a version at all) works fine.

> SegmentDataStoreBlobGCIT.java in segment-tar will not build with latest oak-core
> --------------------------------------------------------------------------------
>
>                 Key: OAK-4772
>                 URL: https://issues.apache.org/jira/browse/OAK-4772
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, segment-tar
>    Affects Versions: 1.5.7
>            Reporter: Matt Ryan
>
> {{oak-segment-tar}} builds against {{oak-core}} version 1.5.5, but specifying a later {{oak.version}} (e.g. 1.5.7) causes the build to fail in {{SegmentDataStoreBlobGCIT.java}} due to a mismatching override of a parent class in {{oak-core}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)