Bug in JDK
来源:互联网 发布:淘宝侵犯商标权 编辑:程序博客网 时间:2024/06/06 18:13
在JDK中, DocumentBuilder类的其中一个parse方法如下。
我认为如果在文件路径中包含如日文中文,这个函数无法正常工作。
What do you guys think?
public Documentparse(File f) throws SAXException, IOException{
if (f == null) {
throw newIllegalArgumentException("File cannot be null");
}
//convertfile to appropriate URI, f.toURI().toASCIIString()
//converts theURI to string as per rule specified in
//RFC2396,
InputSourcein = new InputSource(f.toURI().toASCIIString());
return parse(in);
}
各位如果有不同意见可以跟帖。
- Bug in JDK
- jdk bug
- Sun JDK bug 分析
- Sun JDK bug 分析
- 转的一个jdk bug
- jdk版本导致的bug
- 安装jdk遇上的bug
- JDK中Stack的bug
- a bug in virtualbox
- BlockUI in IE Bug
- Bug in JIAJIA
- DataGrid Bug in IE11
- Bug in Cocos2dxRenderer.cpp
- pattern in JDK
- install jdk in linux
- install jdk in linux
- install jdk in linux
- install jdk in ubuntu
- 数据库设计方法、规范与技巧
- UIToolbar 的bug
- C++监测内存泄漏(一)
- 怎样判断远程图片是否存在?
- C#连接MySql及相关操作
- Bug in JDK
- Ocaml学习笔记 算术和逻辑运算符
- 让label自适应里面的文字,自动调整宽度和高度的
- ongettext 事件
- MYPM2.2国产免费测管理新秀隆重发布及新功能清单和预览
- Android 快速启动
- 公司HR面试经常问的问题及回答思路
- 编译支持Oracle的php时遇到的问题
- 怎样成为微软认证讲师(MCP)(一)