The test nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails since b71 when G1 and EscapeAnalysis are used. Also for 64 Compressed OOPs should be off. The reference to variable "testString" from array "params" is null inside try/catch in the for loop (it it ok without try/catch). See sample below. Here is sample of this issue: /net/vmsqe.russia/export/jdk/re/7/promoted/ea/b71/binaries//solaris-amd64/bin/java -Xcomp -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:+DoEscapeAnalysis logperm002 Here is short version of test: ======================== logperm002.java ================== public class logperm002 { final static String testString = "abracadabra"; public static void main(String args[]) { String params[][] = { {"control", testString} }; for (int i=0; i<params.length; i++) { try { System.out.println("Params :" + testString + " and " + params[i][0] + ", " + params[i][1]); } catch (Exception e) {} } } }
|