changeset 13700:3c047737189a

IGV: explicitly avoid serialization of top component
author Bernhard Urban <bernhard.urban@jku.at>
date Mon, 20 Jan 2014 16:09:10 +0100
parents 2eee4d12e00c
children b6cb481e9bca
files src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/EditorTopComponent.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/EditorTopComponent.java	Mon Jan 20 16:29:10 2014 +0100
+++ b/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/EditorTopComponent.java	Mon Jan 20 16:09:10 2014 +0100
@@ -580,4 +580,8 @@
         return scene.getUndoRedo();
     }
 
+    @Override
+    protected Object writeReplace() throws ObjectStreamException {
+        throw new NotSerializableException();
 }
+}