src/java.base/aix/classes/sun/nio/fs/AixFileSystem.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright 2013 SAP AG. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as --- 1,7 ---- /* ! * Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved. * Copyright 2013 SAP AG. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as
*** 22,37 **** --- 22,42 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ + /* + * Portions Copyright (c) 2014 IBM Corporation + */ + package sun.nio.fs; import java.nio.file.*; import java.nio.file.attribute.*; import java.io.IOException; import java.util.*; + import static sun.nio.fs.AixNativeDispatcher.*; /** * AIX implementation of FileSystem */
*** 54,63 **** --- 59,71 ---- static final Set<String> supportedFileAttributeViews = supportedFileAttributeViews(); private static Set<String> supportedFileAttributeViews() { Set<String> result = new HashSet<String>(); result.addAll(UnixFileSystem.standardFileAttributeViews()); + // additional Linux-specific views + result.add("dos"); + result.add("user"); return Collections.unmodifiableSet(result); } } @Override
*** 65,75 **** return SupportedFileFileAttributeViewsHolder.supportedFileAttributeViews; } @Override void copyNonPosixAttributes(int ofd, int nfd) { ! // TODO: Implement if needed. } /** * Returns object to iterate over the mount entries returned by mntctl */ --- 73,83 ---- return SupportedFileFileAttributeViewsHolder.supportedFileAttributeViews; } @Override void copyNonPosixAttributes(int ofd, int nfd) { ! AixUserDefinedFileAttributeView.copyExtendedAttributes(ofd, nfd); } /** * Returns object to iterate over the mount entries returned by mntctl */