alibaba / alibaba/simpleel

SimpleScriptEngineFactory类中部分方法空实现会导致外部抛异常,和log4j2的加载出现冲突

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
125
Forks
67
PR merge metrics
No merged PRs in 30d

Description

如题,org.apache.logging.log4j.core.script.ScriptManager中76行会调用javax.script.ScriptEngineManager来获取ScriptEngineFactory,
![image](https://user-images.githubusercontent.com/4710189/46005419-ce8b1580-c0e7-11e8-84e9-6b6e9c0a39b8.png)

![image](https://user-images.githubusercontent.com/4710189/46005444-dd71c800-c0e7-11e8-8253-772be8513e34.png)

![image](https://user-images.githubusercontent.com/4710189/46005493-f4181f00-c0e7-11e8-9bde-2df4f63afec9.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect SimpleScriptEngineFactory and the ScriptManager call to javax.script.ScriptEngineManager described in the issue. Reproduce the external exception and the log4j2 loading conflict, then identify which empty factory methods are involved. Done means the factory can be loaded without those failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.