jdk/src/solaris/classes/sun/nio/fs/LinuxUserDefinedFileAttributeView.java
changeset 8158 77d9c0f1c19f
parent 5506 202f599c92aa
child 9035 1255eb81cc2f
equal deleted inserted replaced
7988:d31b7cc371ef 8158:77d9c0f1c19f
    61         return bytes;
    61         return bytes;
    62     }
    62     }
    63 
    63 
    64     // Parses buffer as array of NULL-terminated C strings.
    64     // Parses buffer as array of NULL-terminated C strings.
    65     private List<String> asList(long address, int size) {
    65     private List<String> asList(long address, int size) {
    66         final List<String> list = new ArrayList<String>();
    66         List<String> list = new ArrayList<>();
    67         int start = 0;
    67         int start = 0;
    68         int pos = 0;
    68         int pos = 0;
    69         while (pos < size) {
    69         while (pos < size) {
    70             if (unsafe.getByte(address + pos) == 0) {
    70             if (unsafe.getByte(address + pos) == 0) {
    71                 int len = pos - start;
    71                 int len = pos - start;