You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
org.apache.dubbo.common.utils.ConfigUtils#loadProperties(java.lang.String, boolean, boolean) miss windows scene #2557
When run the testcase(com.alibaba.dubbo.config.AbstractInterfaceConfigTest#checkApplication1) in windows environment,It will be wrong.
So It should add scene judgement in windows environment(org.apache.dubbo.common.utils.ConfigUtils#loadProperties(java.lang.String, boolean, boolean),Line 220).
if (fileName.startsWith("/")) {
change to
if (fileName.startsWith("/")||fileName.matches("^[A-z]:\\\\\\S+$")) {
the testcase (com.alibaba.dubbo.config.AbstractInterfaceConfigTest#checkApplication1) will go well.
Activity
ralf0131 commentedon Sep 25, 2018
Hi, thanks for reporting, would you please send a pull request?
ralf0131 commentedon Sep 26, 2018
Hi, please refer to this: https://github.com/apache/incubator-dubbo/blob/master/CONTRIBUTING.md
You need to fork Dubbo first.
SuperDubbo commentedon Sep 26, 2018
I have pull a request,Thank You @ralf0131
fix #2557 Update ConfigUtils.java (#2562)