--- old/src/share/classes/com/sun/tools/jdi/GenericListeningConnector.java 2018-10-03 22:02:44.217195710 -0700 +++ new/src/share/classes/com/sun/tools/jdi/GenericListeningConnector.java 2018-10-03 22:02:44.020176936 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2018, 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 @@ -109,8 +109,8 @@ throw new IllegalConnectorArgumentsException("Already listening", new ArrayList(args.keySet())); } - listener = transportService.startListening(address); + updateArgumentMapIfRequired(args, listener); listenMap.put(args, listener); return listener.address(); } @@ -180,4 +180,8 @@ return transport; } + protected void updateArgumentMapIfRequired( + Map args, TransportService.ListenKey listener) { + } + }