test/jdk/java/net/Socket/ConnectionReset.java
author alanb
Fri, 22 Feb 2019 17:03:09 +0000
branchniosocketimpl-branch
changeset 57207 30695f27d7ea
parent 57202 f946ae816b8a
child 57210 a67ea4f53e56
permissions -rw-r--r--
More cleanup and tests
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57202
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     1
/*
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     2
 * Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     4
 *
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     7
 * published by the Free Software Foundation.
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     8
 *
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    13
 * accompanied this code).
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    14
 *
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    18
 *
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    21
 * questions.
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    22
 */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    23
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    24
/**
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    25
 * @test
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    26
 * @requires os.family != "solaris"
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    27
 * @run testng ConnectionReset
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    28
 * @run testng/othervm -Djdk.net.usePlainSocketImpl ConnectionReset
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    29
 * @summary Test behavior of read and available when a connection is reset
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    30
 */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    31
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    32
import java.io.IOException;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    33
import java.io.InputStream;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    34
import java.net.ServerSocket;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    35
import java.net.Socket;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    36
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    37
import org.testng.annotations.Test;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    38
import static org.testng.Assert.*;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    39
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    40
@Test
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    41
public class ConnectionReset {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    42
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    43
    static final int REPEAT_COUNT = 5;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    44
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    45
    /**
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    46
     * Tests available before read when there are no bytes to read
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    47
     */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    48
    public void testAvailableBeforeRead1() throws IOException {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    49
        System.out.println("testAvailableBeforeRead1");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    50
        acceptResetConnection(null, s -> {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    51
            InputStream in = s.getInputStream();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    52
            for (int i=0; i<REPEAT_COUNT; i++) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    53
                int bytesAvailable = in.available();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    54
                System.out.format("available => %d%n", bytesAvailable);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    55
                assertTrue(bytesAvailable == 0);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    56
                try {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    57
                    int bytesRead = in.read();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    58
                    if (bytesRead == -1) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    59
                        System.out.println("read => EOF");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    60
                    } else {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    61
                        System.out.println("read => 1 byte");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    62
                    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    63
                    assertTrue(false);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    64
                } catch (IOException ioe) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    65
                    System.out.format("read => %s (expected)%n", ioe);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    66
                }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    67
            }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    68
        });
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    69
    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    70
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    71
    /**
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    72
     * Tests available before read when there are bytes to read
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    73
     */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    74
    public void testAvailableBeforeRead2() throws IOException {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    75
        System.out.println("testAvailableBeforeRead2");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    76
        byte[] data = { 1, 2, 3 };
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    77
        acceptResetConnection(data, s -> {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    78
            InputStream in = s.getInputStream();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    79
            int remaining = data.length;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    80
            for (int i=0; i<REPEAT_COUNT; i++) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    81
                int bytesAvailable = in.available();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    82
                System.out.format("available => %d%n", bytesAvailable);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    83
                assertTrue(bytesAvailable <= remaining);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    84
                try {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    85
                    int bytesRead = in.read();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    86
                    if (bytesRead == -1) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    87
                        System.out.println("read => EOF");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    88
                        assertTrue(false);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    89
                    } else {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    90
                        System.out.println("read => 1 byte");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    91
                        assertTrue(remaining > 0);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    92
                        remaining--;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    93
                    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    94
                } catch (IOException ioe) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    95
                    System.out.format("read => %s%n", ioe);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    96
                    remaining = 0;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    97
                }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    98
            }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
    99
        });
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   100
    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   101
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   102
    /**
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   103
     * Tests read before available when there are no bytes to read
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   104
     */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   105
    public void testReadBeforeAvailable1() throws IOException {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   106
        System.out.println("testReadBeforeAvailable1");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   107
        acceptResetConnection(null, s -> {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   108
            InputStream in = s.getInputStream();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   109
            for (int i=0; i<REPEAT_COUNT; i++) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   110
                try {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   111
                    int bytesRead = in.read();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   112
                    if (bytesRead == -1) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   113
                        System.out.println("read => EOF");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   114
                    } else {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   115
                        System.out.println("read => 1 byte");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   116
                    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   117
                    assertTrue(false);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   118
                } catch (IOException ioe) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   119
                    System.out.format("read => %s (expected)%n", ioe);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   120
                }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   121
                int bytesAvailable = in.available();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   122
                System.out.format("available => %d%n", bytesAvailable);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   123
                assertTrue(bytesAvailable == 0);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   124
            }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   125
        });
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   126
    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   127
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   128
    /**
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   129
     * Tests read before available when there are bytes to read
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   130
     */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   131
    public void testReadBeforeAvailable2() throws IOException {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   132
        System.out.println("testReadBeforeAvailable2");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   133
        byte[] data = { 1, 2, 3 };
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   134
        acceptResetConnection(data, s -> {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   135
            InputStream in = s.getInputStream();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   136
            int remaining = data.length;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   137
            for (int i=0; i<REPEAT_COUNT; i++) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   138
                try {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   139
                    int bytesRead = in.read();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   140
                    if (bytesRead == -1) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   141
                        System.out.println("read => EOF");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   142
                        assertTrue(false);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   143
                    } else {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   144
                        System.out.println("read => 1 byte");
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   145
                        assertTrue(remaining > 0);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   146
                        remaining--;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   147
                    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   148
                } catch (IOException ioe) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   149
                    System.out.format("read => %s%n", ioe);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   150
                    remaining = 0;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   151
                }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   152
                int bytesAvailable = in.available();
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   153
                System.out.format("available => %d%n", bytesAvailable);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   154
                assertTrue(bytesAvailable <= remaining);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   155
            }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   156
        });
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   157
    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   158
57207
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   159
    /**
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   160
     * Tests available and read on a socket closed after connection reset
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   161
     */
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   162
    public void testAfterClose() throws IOException {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   163
        System.out.println("testAfterClose");
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   164
        acceptResetConnection(null, s -> {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   165
            InputStream in = s.getInputStream();
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   166
            try {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   167
                in.read();
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   168
                assertTrue(false);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   169
            } catch (IOException ioe) {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   170
                // expected
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   171
            }
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   172
            s.close();
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   173
            try {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   174
                int bytesAvailable = in.available();
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   175
                System.out.format("available => %d%n", bytesAvailable);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   176
                assertTrue(false);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   177
            } catch (IOException ioe) {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   178
                System.out.format("available => %s (expected)%n", ioe);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   179
            }
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   180
            try {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   181
                int n = in.read();
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   182
                System.out.format("read => %d%n", n);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   183
                assertTrue(false);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   184
            } catch (IOException ioe) {
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   185
                System.out.format("read => %s (expected)%n", ioe);
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   186
            }
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   187
        });
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   188
    }
30695f27d7ea More cleanup and tests
alanb
parents: 57202
diff changeset
   189
57202
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   190
    interface ThrowingConsumer<T> {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   191
        void accept(T t) throws IOException;
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   192
    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   193
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   194
    /**
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   195
     * Invokes a consumer with a Socket connected to a peer that has closed the
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   196
     * connection with a "connection reset". The peer sends the given data bytes
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   197
     * before closing (when data is not null).
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   198
     */
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   199
    static void acceptResetConnection(byte[] data, ThrowingConsumer<Socket> consumer)
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   200
        throws IOException
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   201
    {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   202
        try (var listener = new ServerSocket(0)) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   203
            try (var socket = new Socket()) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   204
                socket.connect(listener.getLocalSocketAddress());
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   205
                try (Socket peer = listener.accept()) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   206
                    if (data != null) {
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   207
                        peer.getOutputStream().write(data);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   208
                    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   209
                    peer.setSoLinger(true, 0);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   210
                }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   211
                consumer.accept(socket);
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   212
            }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   213
        }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   214
    }
f946ae816b8a Add test for connection reset
alanb
parents:
diff changeset
   215
}