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

Julian Reschke edited comment on JCR-4957 at 10/1/23 8:58 AM:
--------------------------------------------------------------

If standalone-components is a public API, it should have OSGi annotations to 
the baseline check manages API stability.

Also, as far as I can tell, the main method really really is an aspect of the 
demo project; and if I read correctly, it's only used in VFS test cases? 



was (Author: reschke):
If standalone-components is a public API, it shoukd have OSGi annotations to 
the baseline check manages API stability.

Also, as far as I can tell, the main method really really is an aspect of the 
demo project; and if I read correctly, it's only used in VFS test cases? 


> jackrabbit-standalone: 2.21.18 breaks binary compatibility
> ----------------------------------------------------------
>
>                 Key: JCR-4957
>                 URL: https://issues.apache.org/jira/browse/JCR-4957
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-standalone-components
>    Affects Versions: 2.21.18
>            Reporter: Gary D. Gregory
>            Assignee: Julian Reschke
>            Priority: Major
>             Fix For: 2.22, 2.20.12, 2.21.19
>
>         Attachments: jcr-4957.patch
>
>
> We see this break in Apache Commons VFS when trying to update from 2.21.17 to 
> 2.21.18:
> {quote}[INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] 
> /C:/Users/ggregory/git/a/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/Webdav4ProviderTestCase.java:[231,27]
>  incompatible types: java.lang.String[] cannot be converted to 
> org.apache.commons.cli.CommandLine
> [ERROR] 
> /C:/Users/ggregory/git/a/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/Webdav4ProviderTestCase.java:[231,18]
>  cannot find symbol
> symbol: constructor (java.lang.String[])
> [ERROR] 
> /C:/Users/ggregory/git/a/commons-vfs/commons-vfs2-jackrabbit2/src/test/java/org/apache/commons/vfs2/provider/webdav4/test/Webdav4ProviderTestCase.java:[235,15]
>  method run in class org.apache.jackrabbit.standalone.Main cannot be applied 
> to given types;
> required: java.io.File,java.io.File,java.io.File
> found: no arguments
> reason: actual and formal argument lists differ in length
> [INFO] 3 errors
> {quote}
> Breaking BC in a non-major release should not be allowed IMO.



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

Reply via email to