src/hotspot/share/utilities/ostream.cpp
changeset 53931 f47ca94f30b9
parent 53911 65f2a401e0eb
child 54974 22961d673487
--- a/src/hotspot/share/utilities/ostream.cpp	Wed Feb 27 02:49:52 2019 +0000
+++ b/src/hotspot/share/utilities/ostream.cpp	Tue Feb 26 09:57:11 2019 +0100
@@ -559,13 +559,6 @@
   fflush(_file);
 }
 
-fdStream::~fdStream() {
-  if (_fd != -1) {
-    if (_need_close) close(_fd);
-    _fd = -1;
-  }
-}
-
 void fdStream::write(const char* s, size_t len) {
   if (_fd != -1) {
     // Make an unused local variable to avoid warning from gcc 4.x compiler.