# HG changeset patch # User Bernhard Urban # Date 1390230550 -3600 # Node ID 3c047737189add1784c4bd0988876c77e87f89e9 # Parent 2eee4d12e00c712b1f351444e180d2e4b5aa450a IGV: explicitly avoid serialization of top component diff -r 2eee4d12e00c -r 3c047737189a src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/EditorTopComponent.java --- 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(); } +}