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

Richard Eckart de Castilho commented on UIMA-4565:
--------------------------------------------------

SemVer detects this change as non-backwards-compatible.

{noformat}
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-compatibility) @ 
uimaj-core ---
[INFO] Version specified as <2.8.0>
[INFO] Using 
</Users/bluefire/UKP/Library/Maven/repository/org/apache/uima/uimaj-core/2.8.0/uimaj-core-2.8.0.jar>
 as previous JAR
[INFO] Using 
</Users/bluefire/UKP/Workspaces/dkpro-juno/uimaj/uimaj-core/target/uima-core.jar>
 as current JAR
Class org.apache.uima.cas.CAS
 Changed Field FEATURE_FULL_NAME_SOFA, desc Ljava/lang/String;, access
[WARNING] Rule 0: org.semver.enforcer.RequireBackwardCompatibility failed with 
message:
Current codebase is not backward compatible (BACKWARD_COMPATIBLE_IMPLEMENTER) 
with version <2.8.0>. Compatibility type has been detected as 
<NON_BACKWARD_COMPATIBLE>
{noformat}

 I guess this is because constant values are inlined in classes that use them, 
so

{noformat}
(CodeCompiledAgainst2_8_0) CAS.FEATURE_FULL_NAME_SOFA != 
(CodeCompiledAgainst2_8_2) CAS.FEATURE_FULL_NAME_SOFA
{noformat}

Humpf...

> CAS.FEATURE_FULL_NAME_SOFA wrong?
> ---------------------------------
>
>                 Key: UIMA-4565
>                 URL: https://issues.apache.org/jira/browse/UIMA-4565
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.8.1SDK
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>             Fix For: 2.8.2SDK
>
>
> The CAS interface has to say this about the *sofa* feature's full name
> {noformat}
> FEATURE_FULL_NAME_SOFA = "uima.tcas.Annotation:sofa";
> {noformat}
> However, when I try to use this to filter out the sofa feature, I don't catch 
> it - and the reason seems to be that the *sofa* feature is actually defined as
> {noformat}
> uima.cas.AnnotationBase:sofa
> {noformat}
> ... at least that's what the debugger says.



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

Reply via email to