< prev index next > test/hotspot/jtreg/vmTestbase/nsk/jdwp/ReferenceType/Interfaces/interfaces001.java
Print this page
/*
! * Copyright (c) 2001, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
/*
! * Copyright (c) 2001, 2020, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
long interfaceID = reply.getReferenceTypeID();
log.display(" interfaceID: " + interfaceID);
if (interfaceID != interfaceIDs[i]) {
log.complain("Unexpected interface ID for interface #" + i + " in the reply packet: " + interfaceID
! + " (expected: " + interfaceIDs[i] + ")");
success = false;
}
}
long interfaceID = reply.getReferenceTypeID();
log.display(" interfaceID: " + interfaceID);
if (interfaceID != interfaceIDs[i]) {
log.complain("Unexpected interface ID for interface #" + i + " in the reply packet: " + interfaceID
! + " (expected: " + interfaceIDs[i] + ")");
success = false;
}
}
< prev index next >