/* Java bindings to the Comm API */
-/* Copyright (c) 2012-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2012-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
comms[i] = (msg_comm_t) (uintptr_t) env->GetLongField(jcomm, jcomm_field_Comm_bind);
if (not comms[i]) {
- jxbt_throw_null(env, std::string("comm at rank ") + std::to_string(i) + " is null");
+ jxbt_throw_null(env, "comm at rank " + std::to_string(i) + " is null");
return nullptr;
}