Fix release build failure and log cleanup metal-prototype-branch
authoraghaisas
Wed, 26 Jun 2019 12:41:05 +0530
branchmetal-prototype-branch
changeset 57430 3d12309f78df
parent 57429 6c1c6874a144
child 57431 d5ab3442e44f
Fix release build failure and log cleanup
src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLGraphicsConfig.m
src/java.desktop/share/classes/sun/java2d/pipe/RenderBuffer.java
--- a/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLGraphicsConfig.m	Wed Jun 26 12:12:25 2019 +0530
+++ b/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MTLGraphicsConfig.m	Wed Jun 26 12:41:05 2019 +0530
@@ -28,6 +28,7 @@
 #import "MTLGraphicsConfig.h"
 #import "MTLSurfaceData.h"
 #import "ThreadUtilities.h"
+#import "awt.h"
 
 #import <stdlib.h>
 #import <string.h>
--- a/src/java.desktop/share/classes/sun/java2d/pipe/RenderBuffer.java	Wed Jun 26 12:12:25 2019 +0530
+++ b/src/java.desktop/share/classes/sun/java2d/pipe/RenderBuffer.java	Wed Jun 26 12:41:05 2019 +0530
@@ -115,8 +115,6 @@
     }
 
     public final void clear() {
-
-        System.out.println("RenderBuffer : clear()");
         curAddress = baseAddress;
     }
 
@@ -193,8 +191,6 @@
         // assert (baseAddress + pos % SIZEOF_INT == 0);
         unsafe.putInt(baseAddress + pos, x);
 
-        System.out.println("RenderBuffer : putInt() --- added :"+x);
-
         return this;
     }
 
@@ -203,8 +199,6 @@
         unsafe.putInt(curAddress, x);
         curAddress += SIZEOF_INT;
 
-        System.out.println("RenderBuffer : putInt() --- added :"+x);
-
         return this;
     }