comparison graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NonEscapingNewObjWithArrayTest.java @ 18163:c88ab4f1f04a

re-enabled Checkstyle with the release of 6.0 that supports Java 8; fixed existing Checkstyle warnings
author Doug Simon <doug.simon@oracle.com>
date Fri, 24 Oct 2014 16:18:10 +0200
parents 421a5d2beefe
children
comparison
equal deleted inserted replaced
18162:ab62800259ff 18163:c88ab4f1f04a
39 public class NonEscapingNewObjWithArrayTest extends GraalKernelTester { 39 public class NonEscapingNewObjWithArrayTest extends GraalKernelTester {
40 static final int NUM = 20; 40 static final int NUM = 20;
41 @Result public float[] outArray = new float[NUM]; 41 @Result public float[] outArray = new float[NUM];
42 42
43 static class MyObj { 43 static class MyObj {
44 float a[]; 44 float[] a;
45 45
46 public MyObj(float[] src, int ofst) { 46 public MyObj(float[] src, int ofst) {
47 a = Arrays.copyOfRange(src, ofst, ofst + 3); 47 a = Arrays.copyOfRange(src, ofst, ofst + 3);
48 } 48 }
49 49