Comments (3)
Code snippet of org.slf4j.LoggerFactory.getILoggerFactory in org.slf4j:slf4j-api:1.7.28 (shadowed but expected to invoke method):
public static ILoggerFactory getILoggerFactory() { //line 407
if (INITIALIZATION_STATE == UNINITIALIZED) {
synchronized (LoggerFactory.class) {
if (INITIALIZATION_STATE == UNINITIALIZED) {
INITIALIZATION_STATE = ONGOING_INITIALIZATION;
performInitialization();
}
}
}
switch (INITIALIZATION_STATE) {
case SUCCESSFUL_INITIALIZATION:
return StaticLoggerBinder.getSingleton().getLoggerFactory();
...
Code snippet of org.slf4j.LoggerFactory.getILoggerFactory inorg.gandon.tomcat:juli-to-slf4j:1.1.1 (loaded version):
public static ILoggerFactory getILoggerFactory() { //line 405
if (INITIALIZATION_STATE == UNINITIALIZED) {
INITIALIZATION_STATE = ONGOING_INITIALIZATION;
performInitialization();
}
switch (INITIALIZATION_STATE) {
case SUCCESSFUL_INITIALIZATION:
return getLoggerFactory();
...
As a result, these conflicting method included in org.slf4j:slf4j-api:1.7.28 deals with different cases, which changes the control flows and data flows. So being forced to use these methods in org.gandon.tomcat:juli-to-slf4j:1.1.1 may lead to inconsisitent semantic behaviors.
from nutzboot.
Using the following test case to run on these two versions of methods separately starting from the entry method Main(String, int); in your project, then we can find the state of variable NutMap referenced by this entry method is changed.
Please check whether the changes of this variable value will affect your semantic behaviors.
from nutzboot.
@HelloCoCooo はい、できます。リクエスト大歓迎です。
from nutzboot.
Related Issues (20)
- 建议druid/login.html可以通过配置 指定用户名 密码 HOT 1
- starter-tomcat引入 访问swagger 就挂了 HOT 1
- 需求:支持nacos注册中心,客户端starter HOT 3
- 需求:支持spring cloud gateway
- 需求:希望增加jasypt、ShardingSphere
- 需求:nutzboot-starter-jasypt
- 需求:兼容servlets HOT 3
- org.nutz.boot.starter.jdbc oracle druid 启动异常
- 希望有starter-mybatisplus
- 需求:nutzboot-mybatisplus-starter HOT 2
- Dependency org.eclipse.jetty:jetty-server, leading to CVE problem HOT 1
- 把locah和perca做成可直接运行的吧
- 为loach添加更多的存储方式
- nutzcloud-demo-service启动后无法接收到消息 HOT 1
- 关于基于nutz/nutzboot/nutzcloud的serverless平台设想 HOT 2
- 同学,您这个项目引入了145个开源组件,存在98个漏洞,辛苦升级一下 HOT 1
- alibaba dubbo change to apache dubbo
- in pom , alibaba dubbo change apache dubbo HOT 4
- Dependency org.apache.shiro:shiro-webl, leading to CVE problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nutzboot.