--- old/make/jdk/src/classes/build/tools/tzdb/TzdbZoneRulesCompiler.java 2019-07-24 15:18:17.000000000 -0700 +++ new/make/jdk/src/classes/build/tools/tzdb/TzdbZoneRulesCompiler.java 2019-07-24 15:18:17.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -264,7 +264,7 @@ for (ZoneRules rules : rulesList) { baos.reset(); DataOutputStream dataos = new DataOutputStream(baos); - rules.writeExternal(dataos); + Ser.write(rules, dataos); dataos.close(); byte[] bytes = baos.toByteArray(); out.writeShort(bytes.length);