diff --git a/src/samples/java/ex/COM_Sample.java b/src/samples/java/ex/COM_Sample.java
index <HASH>..<HASH> 100755
--- a/src/samples/java/ex/COM_Sample.java
+++ b/src/samples/java/ex/COM_Sample.java
@@ -1,5 +1,6 @@
 package ex;
 
+import java.io.ByteArrayOutputStream;
 import java.util.HashSet;
 import java.util.Set;
 
@@ -57,6 +58,14 @@ public class COM_Sample {
     }
 }
 
+class OS357 extends ByteArrayOutputStream {
+	
+	@Override
+	public void close() {
+		//  removes throws clause
+	}
+}
+
 interface Inf {
     void m1();
add sample of COM where throws clause is removed for #<I>