From 109280b767d3d3501ddc0cbdcaf6c3c3fac99464 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 28 Jun 1999 11:07:09 +0000 Subject: [PATCH] jdk12 deprecated method replaced git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@942 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/ClassBundle.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jode/jode/obfuscator/ClassBundle.java b/jode/jode/obfuscator/ClassBundle.java index 388d5a9..107469f 100644 --- a/jode/jode/obfuscator/ClassBundle.java +++ b/jode/jode/obfuscator/ClassBundle.java @@ -169,7 +169,11 @@ public class ClassBundle { basePackage.writeTable(prop); try { OutputStream out = new FileOutputStream(filename); +///#ifdef JDK12 +/// prop.store(out, "Reverse renaming table"); +///#else prop.save(out, "Reverse renaming table"); +///#endif out.close(); } catch (java.io.IOException ex) { GlobalOptions.err.println("Can't write rename table "+filename);