以下の内容はhttps://megascus.hatenablog.com/entry/20150821/1440120234より取得しました。


Windows上でのJavaのファイルアクセスが特定の場合に微妙な感じ。

コード

public class Main {
    public static void main(String[] args) throws IOException {
        System.out.println("c:=" + new File("C:").getCanonicalPath());
        System.out.println("c:\\=" + new File("C:\\").getCanonicalPath());
    }
}

実行結果

c:=C:\Users\tomo\Documents\NetBeansProjects\Java8
c:\=C:\

どっかでバグりそうだ。




以上の内容はhttps://megascus.hatenablog.com/entry/20150821/1440120234より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14