anchor.diff:      if (parent == null) return null;
       return new JavaFile(parent);
     }
  -  String getAbsolutePath() => pathos.absolute(_path);
  -  // TODO(scheglov) it seems that this method is broken on Windows
  -//  String getCanonicalPath() => _newFile().fullPathSync();
  -  String getCanonicalPath() => getAbsolutePath();
  +  String getAbsolutePath() => _path.canonicalize().toNativePath();
  +  String getCanonicalPath() => _path.canonicalize().toNativePath();
     JavaFile getAbsoluteFile() => new JavaFile(getAbsolutePath());
     JavaFile getCanonicalFile() => new JavaFile(getCanonicalPath());
     bool exists() {
  
positive.code: library java.io;
  
  import "dart:io";
  import 'package:path/path.dart' as pathos;
  
  class JavaSystemIO {
    static Map<String, String> _properties = new Map();
  
negative.code:     }
      return files;
    }
    File _newFile() => new File.fromPath(_path);
    Directory _newDirectory() => new Directory.fromPath(_path);
  }
  