Incompatible with TeamCity 9.x EAP

Bug #1430723 reported by Eugene Petrenko on 2015-03-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr4j
Undecided
Unassigned

Bug Description

The method
 jetbrains.buildServer.vcs.ServerVcsSupport#getCore
in TeamCity API is now made final.
The problem is that in plugin code the method is overridden.
Please see details in the related TeamCity issue
https://youtrack.jetbrains.com/issue/TW-40115

The error I see in production is
 java.lang.VerifyError: class jetbrains.buildServer.buildTriggers.vcs.bazaar.BazaarVcsSupport overrides final method getCore.()Ljetbrains/buildServer/vcs/VcsSupportCore;

I checked the code and noticed you have trivial override for the #getCore method. You may simply remove the override to make plugin work for both older and newer versions of TeamCity

The code you have ~220 line in BazaarVcsSupport.java
```
@NotNull
  @Override
  public VcsSupportCore getCore() {
    return super.getCore();
  }
```

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers