GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — incompatibility reported even excludes with annotations. · Issue #394 · siom79/japicmp

incompatibility reported even excludes with annotations. #394

New issue
Copy link
New issue
Copy link
Closed
Closed
incompatibility reported even excludes with annotations.#394
Copy link

Description

@He-Pin
He-Pin
opened on Apr 21, 2024
Issue body actions

Error: Failed to execute goal com.github.siom79.japicmp:japicmp-maven-plugin:0.15.7:cmp (default) on project netty-codec-http2: There is at least one incompatibility: io.netty.handler.codec.http2.AbstractHttp2StreamFrame:METHOD_ABSTRACT_ADDED_IN_IMPLEMENTED_INTERFACE,io.netty.handler.codec.http2.Http2Frame.frameType():METHOD_ADDED_TO_INTERFACE -> [Help 1]
Error:

Version 0.15.7, same in 0.20.0

The method was marked with

           <excludes>
              <exclude>@io.netty.util.internal.UnstableApi</exclude>
              <exclude>io.netty.util.internal.shaded</exclude>
            </excludes>

but still be reported during the maven verify

import io.netty.util.internal.UnstableApi;

/** An HTTP/2 frame. */
@UnstableApi
public interface Http2Frame {

    /**
     * Returns the type of the HTTP/2 frame e.g. DATA, GOAWAY, etc.
     */
    byte frameType();

    /**
     * Returns the name of the HTTP/2 frame e.g. DATA, GOAWAY, etc.
     */
    String name();
}

related issue: netty/netty#13989

Activity

  1. siom79 commented on Apr 21, 2024

    @siom79
    siom79
    on Apr 21, 2024
    Owner
    More actions

    Hello,
    thanks for reporting.

    Have you tried the option breakBuildIfCausedByExclusion? The exclude option otherwise only affects the reporting, not the breaking of the build.

  2. siom79
    added a commit that references this issue on Apr 22, 2024

    #394 AnnotationClassFilter no longer uses ctClass.getClassFile().getA…

    02d833e
  3. siom79 commented on Apr 22, 2024

    @siom79
    siom79
    on Apr 22, 2024
    Owner
    More actions

    During investigation I realized that there was an issue with annotation loading of classes. Hence, I fixed this in this context.

    Reacted by He-Pin(kerr)
    Reacted by He-Pin(kerr)
  4. siom79
    closed this as completedon Apr 22, 2024
  5. siom79 commented on Apr 22, 2024

    @siom79
    siom79
    on Apr 22, 2024
    Owner
    More actions

    Released with 0.21.0.

    Reacted by He-Pin(kerr)
    Reacted by He-Pin(kerr)
    Reacted by He-Pin(kerr)
  6. normanmaurer
    added 2 commits that reference this issue on Apr 23, 2024

    Bump japicmp to 0.21.0 (#13995)

    7bbb859

    Bump japicmp to 0.21.0 (#13995)

    7404a68
  7. He-Pin
    added a commit that references this issue on Apr 23, 2024

    Bump japicmp to 0.21.0 (netty#13995)

    68b0e47
  8. normanmaurer
    added a commit that references this issue on Apr 23, 2024

    Bump japicmp to 0.21.0 (#13995) (#13997)

    4379f0b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.