Failed
org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest.test034 - 12 (from org.eclipse.jdt.core.tests.compiler.regression.TestAll)
Failing for the past 1 build
(Since Failed
)
Error Message
test034 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 356)\n if (rs != null)\n ^^\n Redundant null check: The variable rs cannot be null at this location\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in X.java (at line 356)\n if (rs != null)\n ^^\n Redundant null check: The variable rs cannot be null at this location\n ----------\n ]>
Stacktrace
junit.framework.ComparisonFailure: test034 - Eclipse found error(s) but Javac did not find any. ----------- Expected ------------ ------------ but was ------------ ----------\n 1. ERROR in X.java (at line 356)\n if (rs != null)\n ^^\n Redundant null check: The variable rs cannot be null at this location\n ----------\n --------- Difference is ---------- expected:<[]> but was:<[----------\n 1. ERROR in X.java (at line 356)\n if (rs != null)\n ^^\n Redundant null check: The variable rs cannot be null at this location\n ----------\n ]> at org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest.test034(AssignmentTest.java:413)
Standard Output
org.eclipse.jdt.core.tests.compiler.regression.AssignmentTest#test034 - 12 X.java [ public final class X { public static String vdg; public static final String aa = null; public static final int a = 14; public static final int b = 3; private static final int c = 12; private static final int d = 2; private static final int e = 3; private static final int f = 34; private static final int g = 35; private static final int h = 36; private static final int j = 4; private static final int k = 1; public static final int aba = 1; public static final int as = 11; public static final int ad = 12; public static final int af = 13; public static final int ag = 2; public static final int ah = 21; public static final int aj = 22; public static final int ak = 3; public static final String aaad = null; public static final int aaaf = 1; public static final int aaag = 2; public static final int aaha = 2; static int cxvvb = 1; static int z = a; String asdff; public static String ppfp; public static int ppfpged; boolean asfadf; boolean cbxbx; private static long tyt, rrky; private static int dgjt, ykjr6y; private static final int krykr = 1; protected static int rykr5; protected static int dhfg; private static int dthj; private static int fkffy; private static String fhfy; protected static String fhmf; protected String ryur6; protected String dhdthd; protected String dth5; protected String kfyk; private String ntd; public int asdasdads; public static final int dntdr = 7; public static final int asys = 1; public static final int djd5rwas = 11; public static final int dhds45rjd = 12; public static final int srws4jd = 13; public static final int s4ts = 2; public static final int dshes4 = 21; public static final int drthed56u = 22; public static final int drtye45 = 23; public static final int xxbxrb = 3; public static final int xfbxr = 31; public static final int asgw4y = 32; public static final int hdtrhs5r = 33; public static final int dshsh = 34; public static final int ds45yuwsuy = 4; public static final int astgs45rys = 5; public static final int srgs4y = 6; public static final int srgsryw45 = -6; public static final int srgdtgjd45ry = -7; public static final int srdjs43t = 1; public static final int sedteued5y = 2; public static int jrfd6u; public static int udf56u; private String jf6tu; private String jf6tud; String bsrh; protected X(String a) { } private long sfhdsrhs; private boolean qaafasdfs; private int sdgsa; private long dgse4; long sgrdsrg; public void gdsthsr() { } private int hsrhs; private void hsrhsdsh() { } private String dsfhshsr; protected void sfhsh4rsrh() { } protected void shsrhsh() { } protected void sfhstuje56u() { } public void dhdrt6u() { } public void hdtue56u() { } private void htdws4() { } String mfmgf; String mgdmd; String mdsrh; String nmdr; private void oyioyio() { } protected static long oyioyreye() { return 0; } protected static long etueierh() { return 0; } protected static void sdfgsgs() { } protected static void fhsrhsrh() { } long dcggsdg; int ssssssgsfh; long ssssssgae; long ssssssfaseg; public void zzzdged() { } String t; protected void xxxxxcbsg() { } public void vdg() { } private int[] fffcvffffffasdfaef; private int[] fffcffffffasdfaef; private long[] ffcvfffffffasdfaef; private int fffffghffffasdfaef; private int fffffdffffasdfaef; private String ffafffffffasdfaef; private void fffffffffasdfaef() { } private boolean aaaadgasrg; private void ddddgaergnj() { } private void aaaadgaeg() { } private void aaaaaaefadfgh() { } private void addddddddafge() { } static boolean aaaaaaaefae; protected void aaaaaaefaef() { } private void ggggseae() { } private static void ggggggsgsrg() { } private static synchronized void ggggggfsfgsr() { } private void aaaaaadgaeg() { } private void aaaaadgaerg() { } private void bbbbbbsfryghs() { } private void bfbbbbbbfssreg() { } private void bbbbbbfssfb() { } private void bbbbbbfssb() { } private void bbbbfdssb() { } boolean dggggggdsg; public void hdfhdr() { } private void dhdrtdrs() { } private void dghdthtdhd() { } private void dhdhdtdh() { } private void fddhdsh() { } private boolean sdffgsdg() { return true; } private static boolean sdgsdg() { return false; } protected static final void sfdgsg() { } static int[] fghtys; protected static final int sdsst = 1; private static X asdfahnr; private static int ssdsdbrtyrtdfhd, ssdsrtyrdbdfhd; protected static int ssdsrtydbdfhd, ssdsrtydffbdfhd; protected static int ssdrtyhrtysdbdfhd, ssyeghdsdbdfhd; private static int ssdsdrtybdfhd, ssdsdehebdfhd; protected static int ssdthrtsdbdfhd, ssdshethetdbdfhd; private static String sstrdrfhdsdbdfhd; protected static int ssdsdbdfhd, ssdsdethbdfhd; private static long ssdshdfhchddbdfhd; private static long ssdsdvbbdfhd; protected static long ssdsdbdfhd() { return 0; } protected static long sdgsrsbsf() { return 0; } protected static void sfgsfgssghr() { } protected static String sgsgsrg() { return null; } protected static void sdgshsdygra() { } private static String sdfsdfs() { return null; } static boolean ryweyer; protected static void adfadfaghsfh() { } protected static void ghasghasrg() { } private static void aadfadfaf() { } protected static void aadfadf() { } private static int fgsfhwr() { return 0; } protected static int gdfgfgrfg() { return 0; } protected static int asdfsfs() { return 0; } protected static String sdgs; protected static String sdfsh4e; protected static final int gsregs = 0; protected static String sgsgsd() { return null; } private byte[] sdhqtgwsrh(String rsName, int id) { String rs = null; try { rs = ""; return null; } catch (Exception ex) { } finally { if (rs != null) { try { rs.toString(); } catch (Exception ex) { } } } return null; } private void dgagadga() { } private String adsyasta; } ] Full results sent to /tmp/comptest/run.1584180334688/12_20200314_100536.txt
Standard Error
----------------------------------------