spring-cloud / spring-cloud/spring-cloud-netflix

Library source does not match the bytecode for class HystrixTargeter

Open
#4,097 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

closable
Dominant language
Java
Stars
5k
Forks
2.5k
Avg merge
1d 2h
Merged PRs (30d)
10

Description

Describe the bug
versioin:1.4.5
when i download the source file from maven,and idea show the error:
image
and i click on the show diff:
image
it seems that have different between source code and class file, how to fix it?

Sample

reproduce step:
step 1: add dependency to pom.xml

<dependency>
      <groupId>org.springframework.cloud</groupId>
      <artifactId>spring-cloud-netflix-core</artifactId>
      <version>1.4.5.RELEASE</version>
</dependency>

step 2: download sources

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the dependency declaration in pom.xml and reproduce the source download for spring-cloud-netflix-core 1.4.5.RELEASE. Compare the downloaded source with the bytecode for HystrixTargeter; the issue is done when the source/bytecode mismatch is explained and a concrete fix or affected artifact is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.