Incompatible with TeamCity 9.x EAP

Bug #1430723 reported by Eugene Petrenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr4j
New
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;

Revision history for this message
Eugene Petrenko (eugene-petrenko) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.