--- a/src/java.desktop/share/native/libawt/java2d/SurfaceData.c Tue Feb 19 17:16:15 2019 +0530
+++ b/src/java.desktop/share/native/libawt/java2d/SurfaceData.c Wed Feb 20 17:00:40 2019 +0530
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2019, 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
@@ -30,6 +30,7 @@
#include "stdlib.h"
#include "string.h"
+#include "Trace.h"
/**
* This include file contains information on how to use a SurfaceData
@@ -80,12 +81,14 @@
{
jclass pICMClass;
+ J2dTraceLn(J2D_TRACE_INFO, "Java_sun_java2d_SurfaceData_initIDs --- invoked ");
+
InitGlobalClassRef(pInvalidPipeClass, env,
"sun/java2d/InvalidPipeException");
InitGlobalClassRef(pNullSurfaceDataClass, env,
"sun/java2d/NullSurfaceData");
-
+
InitField(pDataID, env, sd, "pData", "J");
InitField(validID, env, sd, "valid", "Z");
@@ -235,6 +238,9 @@
SurfaceData_InitOps(JNIEnv *env, jobject sData, int opsSize)
{
SurfaceDataOps *ops = malloc(opsSize);
+
+ J2dTraceLn(J2D_TRACE_INFO, "SurfaceData_InitOps --- invoked ");
+
SurfaceData_SetOps(env, sData, ops);
if (ops != NULL) {
memset(ops, 0, opsSize);