alibaba / alibaba/p3c

win10下同一个段代码,eclipse、maven插件检测不出问题,idea可以。

Open
#645 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
30.8k
Forks
8k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
环境:window10 1909
JDK: 1.8.0_181 64位
插件 :2.0.1
扫描如下代码:
private void refreshZuulProperties(ConfigChangeEvent changeEvent) {
log.info("Refreshing gateway properties!");
this.publisher.publishEvent(new EnvironmentChangeEvent(changeEvent.changedKeys()));
//this.applicationContext.publishEvent(new RefreshScopeRefreshedEvent(routeLocator));
this.publisher.publishEvent(new RefreshRoutesEvent(routeLocator));
log.info("gateway properties refreshed!");
}
IDEA扫描出 及时清理不再使用的代码段或配置信息
eclipse 扫描没问题
mvn verify 扫描没问题(但在linux下 扫描出 及时清理不再使用的代码段或配置信息)

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Reproduce the reported snippet with JDK 1.8.0_181 and plugin 2.0.1 on Windows 10 and Linux, comparing IDEA, Eclipse, and Maven verification results; done when the platform and integration discrepancy is explained and covered by a regression check.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.