From cf656056a34fbb40f0dbe7b42dce7e7dbf251ec8 Mon Sep 17 00:00:00 2001 From: pandaapo <1052156701@qq.com> Date: Tue, 8 Nov 2022 06:28:54 +0000 Subject: [PATCH] 8296445: C++ syntax error in jdwpTransport.h Reviewed-by: cjplummer, lmesnik, sspitsyn --- src/jdk.jdwp.agent/share/native/include/jdwpTransport.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jdk.jdwp.agent/share/native/include/jdwpTransport.h b/src/jdk.jdwp.agent/share/native/include/jdwpTransport.h index cdbd04d429c..227a7222897 100644 --- a/src/jdk.jdwp.agent/share/native/include/jdwpTransport.h +++ b/src/jdk.jdwp.agent/share/native/include/jdwpTransport.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2022, 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 @@ -262,7 +262,7 @@ struct _jdwpTransportEnv { } /* SetTransportConfiguration added in JDWPTRANSPORT_VERSION_1_1 */ - jdwpTransportError SetTransportConfiguration(jdwpTransportEnv* env, + jdwpTransportError SetTransportConfiguration(jdwpTransportConfiguration *config) { return functions->SetTransportConfiguration(this, config); }