--- old/src/demo/share/jvmti/waiters/Thread.cpp 2015-10-15 12:37:20.369907745 -0400 +++ new/src/demo/share/jvmti/waiters/Thread.cpp 2015-10-15 12:37:19.649867250 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -37,6 +37,9 @@ * this sample code. */ +#ifdef STATIC_BUILD +#define Thread WaiterThread +#endif #include #include