[{"data":1,"prerenderedAt":4108},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp03-j":28,"surround-\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp03-j":2538,"sidebar-sei-cert-oracle-coding-standard-for-java":2545},[4,8],{"title":5,"path":6,"_path":6,"fromAppConfig":7},"Home","\u002F",true,{"title":9,"path":10,"children":11,"_path":27,"fromAppConfig":7},"Coding Standards","\u002Fcoding-standards\u002F",[12,15,18,21,24],{"title":13,"path":14},"Android Coding Standard","\u002Fandroid-secure-coding-standard\u002F",{"title":16,"path":17},"C Coding Standard","\u002Fsei-cert-c-coding-standard\u002F",{"title":19,"path":20},"C++ Coding Standard","\u002Fsei-cert-cpp-coding-standard\u002F",{"title":22,"path":23},"Java Coding Standard","\u002Fsei-cert-oracle-coding-standard-for-java\u002F",{"title":25,"path":26},"Perl Coding Standard","\u002Fsei-cert-perl-coding-standard\u002F","\u002Fcoding-standards",{"id":29,"title":30,"body":31,"description":2527,"extension":2528,"meta":2529,"navigation":7,"path":2534,"seo":2535,"stem":2536,"__hash__":2537},"content\u002F6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F5.exp03-j.md","EXP03-J. Do not use the equality operators when comparing values of boxed primitives",{"type":32,"value":33,"toc":2510},"minimark",[34,38,62,89,150,225,233,243,252,258,268,271,276,305,468,471,475,496,607,610,622,793,803,826,829,848,1005,1008,1025,1045,1398,1407,1410,1415,1718,1724,1730,1832,1838,1855,1980,1984,1987,2046,2051,2054,2366,2370,2402,2406,2483,2486,2506],[35,36,30],"h1",{"id":37},"exp03-j-do-not-use-the-equality-operators-when-comparing-values-of-boxed-primitives",[39,40,41,42,46,47,51,52,55,56,61],"p",{},"The ",[43,44,45],"em",{},"values"," of boxed primitives cannot be directly compared using the ",[48,49,50],"code",{},"=="," and ",[48,53,54],{},"!="," operators because these operators compare object references rather than object values. Programmers can find this behavior surprising because autoboxing ",[57,58,60],"a",{"href":59},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-bb-glossary#RuleBB.Glossary-memoization","memoizes"," , or caches, the values of some primitive variables. Consequently, reference comparisons and value comparisons produce identical results for the subset of values that are memoized.",[39,63,64,65,68,69,75,76,75,81,75,85],{},"Autoboxing automatically wraps a value of a primitive type with the corresponding wrapper object. ",[43,66,67],{},"The Java Language Specification"," (JLS), ",[57,70,74],{"href":71,"rel":72},"http:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002Fspecs\u002Fjls\u002Fse8\u002Fhtml\u002Fjls-5.html#jls-5.1.7",[73],"nofollow","§5.1.7, \"Boxing Conversion\""," ",[57,77,80],{"href":78,"rel":79},"http:\u002F\u002Fjava.sun.com\u002Fdocs\u002Fbooks\u002Fjls\u002Fthird_edition\u002Fhtml\u002Fconversions.html#5.1.7",[73],"[",[57,82,84],{"href":83},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-JLS05","JLS 2015",[57,86,88],{"href":78,"rel":87},[73],"], explains which primitive values are memoized during autoboxing:",[90,91,92],"blockquote",{},[39,93,94,95,97,98,101,102,105,106,105,109,112,113,116,117,120,121,124,125,128,129,51,132,135,136,51,139,142,143,145,146,149],{},"If the value ",[48,96,39],{}," being boxed is ",[48,99,100],{},"true"," , ",[48,103,104],{},"false"," , a ",[48,107,108],{},"byte",[48,110,111],{},"char"," in the range ",[48,114,115],{},"\\u0000"," to ",[48,118,119],{},"\\u007f"," , or an ",[48,122,123],{},"int"," or ",[48,126,127],{},"short"," number between ",[48,130,131],{},"-128",[48,133,134],{},"127"," , then let ",[48,137,138],{},"r1",[48,140,141],{},"r2"," be the results of any two boxing conversions of ",[48,144,39],{}," . It is always the case that ",[48,147,148],{},"   r1 == r2  "," .",[151,152,153,166],"table",{},[154,155,156],"thead",{},[157,158,159,162,164],"tr",{},[160,161],"th",{},[160,163],{},[160,165],{},[167,168,169,181,201],"tbody",{},[157,170,171,175,178],{},[172,173,174],"td",{},"Primitive Type",[172,176,177],{},"Boxed Type",[172,179,180],{},"Fully Memoized",[157,182,183,190,198],{},[172,184,185,101,188],{},[48,186,187],{},"boolean",[48,189,108],{},[172,191,192,101,195],{},[48,193,194],{},"Boolean",[48,196,197],{},"Byte",[172,199,200],{},"Yes",[157,202,203,211,222],{},[172,204,205,101,207,101,209],{},[48,206,111],{},[48,208,127],{},[48,210,123],{},[172,212,213,101,216,101,219],{},[48,214,215],{},"Char",[48,217,218],{},"Short",[48,220,221],{},"Int",[172,223,224],{},"No",[39,226,227,228,51,230,232],{},"Use of the ",[48,229,50],{},[48,231,54],{}," operators for comparing the values of fully memoized boxed primitive types is permitted.",[39,234,227,235,51,237,239,240,242],{},[48,236,50],{},[48,238,54],{}," operators for comparing the ",[43,241,45],{}," of boxed primitive types that are not fully memoized is permitted only when the range of values represented is guaranteed to be within the ranges specified by the JLS to be fully memoized.",[39,244,227,245,51,247,239,249,251],{},[48,246,50],{},[48,248,54],{},[43,250,45],{}," of boxed primitive types is not allowed in all other cases.",[39,253,254,255,257],{},"Note that Java Virtual Machine (JVM) implementations are allowed, but not required, to memoize additional values [ ",[57,256,84],{"href":83}," ]:",[90,259,260],{},[39,261,262,263,267],{},"Less memory-limited implementations could, for example, cache all characters and shorts, as well as integers and longs in the range of −32K to +32K. ( ",[57,264,266],{"href":71,"rel":265},[73],"§5.1.7"," )",[39,269,270],{},"Code that depends on implementation-defined behavior is nonportable. It is permissible to depend on implementation-specific ranges of memoized values provided that all targeted implementations support these greater ranges.",[272,273,275],"h2",{"id":274},"noncompliant-code-example","Noncompliant Code Example",[39,277,278,279,282,283,286,287,291,292,294,295,297,298,301,302,304],{},"This noncompliant code example defines a ",[48,280,281],{},"Comparator"," with a ",[48,284,285],{},"compare()"," method [ ",[57,288,290],{"href":289},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Bloch09","Bloch 2009"," ]. The ",[48,293,285],{}," method accepts two boxed primitives as arguments. The ",[48,296,50],{}," operator is used to compare the two boxed primitives. In this context, however, it compares the ",[43,299,300],{},"references"," to the wrapper objects rather than comparing the ",[43,303,45],{}," held in those objects.",[306,307,309],"code-block",{"quality":308},"bad",[310,311,316],"pre",{"className":312,"code":313,"language":314,"meta":315,"style":315},"language-java shiki shiki-themes github-light github-dark monokai","import java.util.Comparator;\n \nstatic Comparator\u003CInteger> cmp = new Comparator\u003CInteger>() {\n  public int compare(Integer i, Integer j) {\n    return i \u003C j ? -1 : (i == j ? 0 : 1);\n  } \n};\n","java","",[48,317,318,335,341,376,409,456,462],{"__ignoreMap":315},[319,320,323,327,331],"span",{"class":321,"line":322},"line",1,[319,324,326],{"class":325},"sC2Qs","import",[319,328,330],{"class":329},"s-ngx"," java.util.Comparator",[319,332,334],{"class":333},"sMOD_",";\n",[319,336,338],{"class":321,"line":337},2,[319,339,340],{"class":333}," \n",[319,342,344,347,351,354,358,361,364,367,369,371,373],{"class":321,"line":343},3,[319,345,346],{"class":325},"static",[319,348,350],{"class":349},"sk8M1"," Comparator",[319,352,353],{"class":333},"\u003C",[319,355,357],{"class":356},"sq6CD","Integer",[319,359,360],{"class":333},"> cmp ",[319,362,363],{"class":325},"=",[319,365,366],{"class":325}," new",[319,368,350],{"class":349},[319,370,353],{"class":333},[319,372,357],{"class":356},[319,374,375],{"class":333},">() {\n",[319,377,379,382,385,389,392,394,398,401,403,406],{"class":321,"line":378},4,[319,380,381],{"class":325},"  public",[319,383,384],{"class":356}," int",[319,386,388],{"class":387},"srTi1"," compare",[319,390,391],{"class":333},"(",[319,393,357],{"class":349},[319,395,397],{"class":396},"sTHNf"," i",[319,399,400],{"class":333},", ",[319,402,357],{"class":349},[319,404,405],{"class":396}," j",[319,407,408],{"class":333},") {\n",[319,410,412,415,418,420,423,426,429,433,436,439,441,443,445,448,450,453],{"class":321,"line":411},5,[319,413,414],{"class":325},"    return",[319,416,417],{"class":333}," i ",[319,419,353],{"class":325},[319,421,422],{"class":333}," j ",[319,424,425],{"class":325},"?",[319,427,428],{"class":325}," -",[319,430,432],{"class":431},"s7F3e","1",[319,434,435],{"class":325}," :",[319,437,438],{"class":333}," (i ",[319,440,50],{"class":325},[319,442,422],{"class":333},[319,444,425],{"class":325},[319,446,447],{"class":431}," 0",[319,449,435],{"class":325},[319,451,452],{"class":431}," 1",[319,454,455],{"class":333},");\n",[319,457,459],{"class":321,"line":458},6,[319,460,461],{"class":333},"  } \n",[319,463,465],{"class":321,"line":464},7,[319,466,467],{"class":333},"};\n",[39,469,470],{},"Note that primitive integers are also accepted by this declaration because they are autoboxed at the call site.",[272,472,474],{"id":473},"compliant-solution","Compliant Solution",[39,476,477,478,101,480,101,483,486,487,490,491,51,493,495],{},"This compliant solution uses the comparison operators, ",[48,479,353],{},[48,481,482],{},">",[48,484,485],{},"\u003C="," , or ",[48,488,489],{},">="," , because these cause automatic unboxing of the primitive values. The ",[48,492,50],{},[48,494,54],{}," operators should not be used to compare boxed primitives.",[306,497,499],{"quality":498},"good",[310,500,502],{"className":312,"code":501,"language":314,"meta":315,"style":315},"import java.util.Comparator;\n \nstatic Comparator\u003CInteger> cmp = new Comparator\u003CInteger>() { \n  public int compare(Integer i, Integer j) {\n    return i \u003C j ? -1 : (i > j ? 1 : 0) ;\n  }\n};\n",[48,503,504,512,516,541,563,598,603],{"__ignoreMap":315},[319,505,506,508,510],{"class":321,"line":322},[319,507,326],{"class":325},[319,509,330],{"class":329},[319,511,334],{"class":333},[319,513,514],{"class":321,"line":337},[319,515,340],{"class":333},[319,517,518,520,522,524,526,528,530,532,534,536,538],{"class":321,"line":343},[319,519,346],{"class":325},[319,521,350],{"class":349},[319,523,353],{"class":333},[319,525,357],{"class":356},[319,527,360],{"class":333},[319,529,363],{"class":325},[319,531,366],{"class":325},[319,533,350],{"class":349},[319,535,353],{"class":333},[319,537,357],{"class":356},[319,539,540],{"class":333},">() { \n",[319,542,543,545,547,549,551,553,555,557,559,561],{"class":321,"line":378},[319,544,381],{"class":325},[319,546,384],{"class":356},[319,548,388],{"class":387},[319,550,391],{"class":333},[319,552,357],{"class":349},[319,554,397],{"class":396},[319,556,400],{"class":333},[319,558,357],{"class":349},[319,560,405],{"class":396},[319,562,408],{"class":333},[319,564,565,567,569,571,573,575,577,579,581,583,585,587,589,591,593,595],{"class":321,"line":411},[319,566,414],{"class":325},[319,568,417],{"class":333},[319,570,353],{"class":325},[319,572,422],{"class":333},[319,574,425],{"class":325},[319,576,428],{"class":325},[319,578,432],{"class":431},[319,580,435],{"class":325},[319,582,438],{"class":333},[319,584,482],{"class":325},[319,586,422],{"class":333},[319,588,425],{"class":325},[319,590,452],{"class":431},[319,592,435],{"class":325},[319,594,447],{"class":431},[319,596,597],{"class":333},") ;\n",[319,599,600],{"class":321,"line":458},[319,601,602],{"class":333},"  }\n",[319,604,605],{"class":321,"line":464},[319,606,467],{"class":333},[272,608,275],{"id":609},"noncompliant-code-example-1",[39,611,612,613,615,616,618,619,621],{},"This noncompliant code example uses the ",[48,614,50],{}," operator in an attempt to compare the values of pairs of ",[48,617,357],{}," objects. However, the ",[48,620,50],{}," operator compares object references rather than object values.",[306,623,624],{"quality":308},[310,625,627],{"className":312,"code":626,"language":314,"meta":315,"style":315},"public class Wrapper {\n  public static void main(String[] args) {\n    Integer i1 = 100;\n    Integer i2 = 100;\n    Integer i3 = 1000;\n    Integer i4 = 1000;\n    System.out.println(i1 == i2);\n    System.out.println(i1 != i2);\n    System.out.println(i3 == i4);\n    System.out.println(i3 != i4);\n  }\n}\n",[48,628,629,644,670,685,698,712,725,741,754,769,782,787],{"__ignoreMap":315},[319,630,631,634,637,641],{"class":321,"line":322},[319,632,633],{"class":325},"public",[319,635,636],{"class":325}," class",[319,638,640],{"class":639},"sz2Vg"," Wrapper",[319,642,643],{"class":333}," {\n",[319,645,646,648,651,654,657,659,662,665,668],{"class":321,"line":337},[319,647,381],{"class":325},[319,649,650],{"class":325}," static",[319,652,653],{"class":356}," void",[319,655,656],{"class":387}," main",[319,658,391],{"class":333},[319,660,661],{"class":356},"String",[319,663,664],{"class":333},"[] ",[319,666,667],{"class":396},"args",[319,669,408],{"class":333},[319,671,672,675,678,680,683],{"class":321,"line":343},[319,673,674],{"class":349},"    Integer",[319,676,677],{"class":333}," i1 ",[319,679,363],{"class":325},[319,681,682],{"class":431}," 100",[319,684,334],{"class":333},[319,686,687,689,692,694,696],{"class":321,"line":378},[319,688,674],{"class":349},[319,690,691],{"class":333}," i2 ",[319,693,363],{"class":325},[319,695,682],{"class":431},[319,697,334],{"class":333},[319,699,700,702,705,707,710],{"class":321,"line":411},[319,701,674],{"class":349},[319,703,704],{"class":333}," i3 ",[319,706,363],{"class":325},[319,708,709],{"class":431}," 1000",[319,711,334],{"class":333},[319,713,714,716,719,721,723],{"class":321,"line":458},[319,715,674],{"class":349},[319,717,718],{"class":333}," i4 ",[319,720,363],{"class":325},[319,722,709],{"class":431},[319,724,334],{"class":333},[319,726,727,730,733,736,738],{"class":321,"line":464},[319,728,729],{"class":333},"    System.out.",[319,731,732],{"class":387},"println",[319,734,735],{"class":333},"(i1 ",[319,737,50],{"class":325},[319,739,740],{"class":333}," i2);\n",[319,742,744,746,748,750,752],{"class":321,"line":743},8,[319,745,729],{"class":333},[319,747,732],{"class":387},[319,749,735],{"class":333},[319,751,54],{"class":325},[319,753,740],{"class":333},[319,755,757,759,761,764,766],{"class":321,"line":756},9,[319,758,729],{"class":333},[319,760,732],{"class":387},[319,762,763],{"class":333},"(i3 ",[319,765,50],{"class":325},[319,767,768],{"class":333}," i4);\n",[319,770,772,774,776,778,780],{"class":321,"line":771},10,[319,773,729],{"class":333},[319,775,732],{"class":387},[319,777,763],{"class":333},[319,779,54],{"class":325},[319,781,768],{"class":333},[319,783,785],{"class":321,"line":784},11,[319,786,602],{"class":333},[319,788,790],{"class":321,"line":789},12,[319,791,792],{"class":333},"}\n",[39,794,41,795,797,798,116,800,802],{},[48,796,357],{}," class is guaranteed to cache only integer values from ",[48,799,131],{},[48,801,134],{}," , which can result in equivalent values outside this range comparing as unequal when tested using the equality operators. For example, a JVM that did not cache any other values when running this program would output",[310,804,806],{"className":312,"code":805,"language":314,"meta":315,"style":315},"true\nfalse\nfalse\ntrue\n",[48,807,808,813,818,822],{"__ignoreMap":315},[319,809,810],{"class":321,"line":322},[319,811,812],{"class":431},"true\n",[319,814,815],{"class":321,"line":337},[319,816,817],{"class":431},"false\n",[319,819,820],{"class":321,"line":343},[319,821,817],{"class":431},[319,823,824],{"class":321,"line":378},[319,825,812],{"class":431},[272,827,474],{"id":828},"compliant-solution-1",[39,830,831,832,835,836,838,839,101,841,101,843,101,845,847],{},"This compliant solution uses the ",[48,833,834],{},"equals()"," method instead of the ",[48,837,50],{}," operator to compare the values of the objects. The program now prints ",[48,840,100],{},[48,842,104],{},[48,844,100],{},[48,846,104],{}," on all platforms, as expected.",[306,849,850],{"quality":498},[310,851,853],{"className":312,"code":852,"language":314,"meta":315,"style":315},"public class Wrapper {\n  public static void main(String[] args) {\n    Integer i1 = 100;\n    Integer i2 = 100;\n    Integer i3 = 1000;\n    Integer i4 = 1000;\n    System.out.println(i1.equals(i2));\n    System.out.println(!i1.equals(i2));\n    System.out.println(i3.equals(i4));\n    System.out.println(!i3.equals(i4));\n  }\n}\n",[48,854,855,865,885,897,909,921,933,948,966,980,997,1001],{"__ignoreMap":315},[319,856,857,859,861,863],{"class":321,"line":322},[319,858,633],{"class":325},[319,860,636],{"class":325},[319,862,640],{"class":639},[319,864,643],{"class":333},[319,866,867,869,871,873,875,877,879,881,883],{"class":321,"line":337},[319,868,381],{"class":325},[319,870,650],{"class":325},[319,872,653],{"class":356},[319,874,656],{"class":387},[319,876,391],{"class":333},[319,878,661],{"class":356},[319,880,664],{"class":333},[319,882,667],{"class":396},[319,884,408],{"class":333},[319,886,887,889,891,893,895],{"class":321,"line":343},[319,888,674],{"class":349},[319,890,677],{"class":333},[319,892,363],{"class":325},[319,894,682],{"class":431},[319,896,334],{"class":333},[319,898,899,901,903,905,907],{"class":321,"line":378},[319,900,674],{"class":349},[319,902,691],{"class":333},[319,904,363],{"class":325},[319,906,682],{"class":431},[319,908,334],{"class":333},[319,910,911,913,915,917,919],{"class":321,"line":411},[319,912,674],{"class":349},[319,914,704],{"class":333},[319,916,363],{"class":325},[319,918,709],{"class":431},[319,920,334],{"class":333},[319,922,923,925,927,929,931],{"class":321,"line":458},[319,924,674],{"class":349},[319,926,718],{"class":333},[319,928,363],{"class":325},[319,930,709],{"class":431},[319,932,334],{"class":333},[319,934,935,937,939,942,945],{"class":321,"line":464},[319,936,729],{"class":333},[319,938,732],{"class":387},[319,940,941],{"class":333},"(i1.",[319,943,944],{"class":387},"equals",[319,946,947],{"class":333},"(i2));\n",[319,949,950,952,954,956,959,962,964],{"class":321,"line":743},[319,951,729],{"class":333},[319,953,732],{"class":387},[319,955,391],{"class":333},[319,957,958],{"class":325},"!",[319,960,961],{"class":333},"i1.",[319,963,944],{"class":387},[319,965,947],{"class":333},[319,967,968,970,972,975,977],{"class":321,"line":756},[319,969,729],{"class":333},[319,971,732],{"class":387},[319,973,974],{"class":333},"(i3.",[319,976,944],{"class":387},[319,978,979],{"class":333},"(i4));\n",[319,981,982,984,986,988,990,993,995],{"class":321,"line":771},[319,983,729],{"class":333},[319,985,732],{"class":387},[319,987,391],{"class":333},[319,989,958],{"class":325},[319,991,992],{"class":333},"i3.",[319,994,944],{"class":387},[319,996,979],{"class":333},[319,998,999],{"class":321,"line":784},[319,1000,602],{"class":333},[319,1002,1003],{"class":321,"line":789},[319,1004,792],{"class":333},[272,1006,275],{"id":1007},"noncompliant-code-example-2",[39,1009,1010,1011,1014,1015,1017,1018,1020,1021,1024],{},"Java Collections contain only objects; they cannot contain primitive types. Further, the type parameters of all Java generics must be object types rather than primitive types. That is, attempting to declare an ",[48,1012,1013],{},"ArrayList\u003Cint>"," (which, presumably, would contain values of type ",[48,1016,123],{}," ) fails at compile time because type ",[48,1019,123],{}," is not an object type. The appropriate declaration would be ",[48,1022,1023],{},"ArrayList\u003CInteger>"," , which makes use of the wrapper classes and autoboxing.",[39,1026,1027,1028,51,1031,1034,1035,1037,1038,1041,1042,1044],{},"This noncompliant code example attempts to count the number of indices in arrays ",[48,1029,1030],{},"list1",[48,1032,1033],{},"list2"," that have equivalent values. Recall that class ",[48,1036,357],{}," is required to ",[57,1039,1040],{"href":59},"memoize"," only those integer values in the range −128 to 127; it might return a nonunique object for any value outside that range. Consequently, when comparing autoboxed integer values outside that range, the ",[48,1043,50],{}," operator might return false and the example could deceptively output 0.",[306,1046,1047],{"quality":308},[310,1048,1050],{"className":312,"code":1049,"language":314,"meta":315,"style":315},"public class Wrapper {\n  public static void main(String[] args) {\n    \u002F\u002F Create an array list of integers, where each element \n    \u002F\u002F is greater than 127\n    ArrayList\u003CInteger> list1 = new ArrayList\u003CInteger>();\n    for (int i = 0; i \u003C 10; i++) {\n      list1.add(i + 1000);\n    }\n\n    \u002F\u002F Create another array list of integers, where each element\n    \u002F\u002F has the same value as the first list\n    ArrayList\u003CInteger> list2 = new ArrayList\u003CInteger>();\n    for (int i = 0; i \u003C 10; i++) {\n      list2.add(i + 1000);\n    }\n\n    \u002F\u002F Count matching values\n    int counter = 0;\n    for (int i = 0; i \u003C 10; i++) {\n      if (list1.get(i) == list2.get(i)) {  \u002F\u002F Uses '=='\n        counter++;\n      }\n    }\n\n    \u002F\u002F Print the counter: 0 in this example\n    System.out.println(counter);\n  }\n\n}\n",[48,1051,1052,1062,1082,1088,1093,1119,1151,1169,1174,1179,1184,1189,1212,1239,1255,1260,1265,1271,1286,1313,1341,1351,1357,1362,1367,1373,1383,1388,1393],{"__ignoreMap":315},[319,1053,1054,1056,1058,1060],{"class":321,"line":322},[319,1055,633],{"class":325},[319,1057,636],{"class":325},[319,1059,640],{"class":639},[319,1061,643],{"class":333},[319,1063,1064,1066,1068,1070,1072,1074,1076,1078,1080],{"class":321,"line":337},[319,1065,381],{"class":325},[319,1067,650],{"class":325},[319,1069,653],{"class":356},[319,1071,656],{"class":387},[319,1073,391],{"class":333},[319,1075,661],{"class":356},[319,1077,664],{"class":333},[319,1079,667],{"class":396},[319,1081,408],{"class":333},[319,1083,1084],{"class":321,"line":343},[319,1085,1087],{"class":1086},"s8-w5","    \u002F\u002F Create an array list of integers, where each element \n",[319,1089,1090],{"class":321,"line":378},[319,1091,1092],{"class":1086},"    \u002F\u002F is greater than 127\n",[319,1094,1095,1098,1100,1102,1105,1107,1109,1112,1114,1116],{"class":321,"line":411},[319,1096,1097],{"class":349},"    ArrayList",[319,1099,353],{"class":333},[319,1101,357],{"class":356},[319,1103,1104],{"class":333},"> list1 ",[319,1106,363],{"class":325},[319,1108,366],{"class":325},[319,1110,1111],{"class":349}," ArrayList",[319,1113,353],{"class":333},[319,1115,357],{"class":356},[319,1117,1118],{"class":333},">();\n",[319,1120,1121,1124,1127,1129,1131,1133,1135,1138,1140,1143,1146,1149],{"class":321,"line":458},[319,1122,1123],{"class":325},"    for",[319,1125,1126],{"class":333}," (",[319,1128,123],{"class":356},[319,1130,417],{"class":333},[319,1132,363],{"class":325},[319,1134,447],{"class":431},[319,1136,1137],{"class":333},"; i ",[319,1139,353],{"class":325},[319,1141,1142],{"class":431}," 10",[319,1144,1145],{"class":333},"; i",[319,1147,1148],{"class":325},"++",[319,1150,408],{"class":333},[319,1152,1153,1156,1159,1162,1165,1167],{"class":321,"line":464},[319,1154,1155],{"class":333},"      list1.",[319,1157,1158],{"class":387},"add",[319,1160,1161],{"class":333},"(i ",[319,1163,1164],{"class":325},"+",[319,1166,709],{"class":431},[319,1168,455],{"class":333},[319,1170,1171],{"class":321,"line":743},[319,1172,1173],{"class":333},"    }\n",[319,1175,1176],{"class":321,"line":756},[319,1177,1178],{"emptyLinePlaceholder":7},"\n",[319,1180,1181],{"class":321,"line":771},[319,1182,1183],{"class":1086},"    \u002F\u002F Create another array list of integers, where each element\n",[319,1185,1186],{"class":321,"line":784},[319,1187,1188],{"class":1086},"    \u002F\u002F has the same value as the first list\n",[319,1190,1191,1193,1195,1197,1200,1202,1204,1206,1208,1210],{"class":321,"line":789},[319,1192,1097],{"class":349},[319,1194,353],{"class":333},[319,1196,357],{"class":356},[319,1198,1199],{"class":333},"> list2 ",[319,1201,363],{"class":325},[319,1203,366],{"class":325},[319,1205,1111],{"class":349},[319,1207,353],{"class":333},[319,1209,357],{"class":356},[319,1211,1118],{"class":333},[319,1213,1215,1217,1219,1221,1223,1225,1227,1229,1231,1233,1235,1237],{"class":321,"line":1214},13,[319,1216,1123],{"class":325},[319,1218,1126],{"class":333},[319,1220,123],{"class":356},[319,1222,417],{"class":333},[319,1224,363],{"class":325},[319,1226,447],{"class":431},[319,1228,1137],{"class":333},[319,1230,353],{"class":325},[319,1232,1142],{"class":431},[319,1234,1145],{"class":333},[319,1236,1148],{"class":325},[319,1238,408],{"class":333},[319,1240,1242,1245,1247,1249,1251,1253],{"class":321,"line":1241},14,[319,1243,1244],{"class":333},"      list2.",[319,1246,1158],{"class":387},[319,1248,1161],{"class":333},[319,1250,1164],{"class":325},[319,1252,709],{"class":431},[319,1254,455],{"class":333},[319,1256,1258],{"class":321,"line":1257},15,[319,1259,1173],{"class":333},[319,1261,1263],{"class":321,"line":1262},16,[319,1264,1178],{"emptyLinePlaceholder":7},[319,1266,1268],{"class":321,"line":1267},17,[319,1269,1270],{"class":1086},"    \u002F\u002F Count matching values\n",[319,1272,1274,1277,1280,1282,1284],{"class":321,"line":1273},18,[319,1275,1276],{"class":356},"    int",[319,1278,1279],{"class":333}," counter ",[319,1281,363],{"class":325},[319,1283,447],{"class":431},[319,1285,334],{"class":333},[319,1287,1289,1291,1293,1295,1297,1299,1301,1303,1305,1307,1309,1311],{"class":321,"line":1288},19,[319,1290,1123],{"class":325},[319,1292,1126],{"class":333},[319,1294,123],{"class":356},[319,1296,417],{"class":333},[319,1298,363],{"class":325},[319,1300,447],{"class":431},[319,1302,1137],{"class":333},[319,1304,353],{"class":325},[319,1306,1142],{"class":431},[319,1308,1145],{"class":333},[319,1310,1148],{"class":325},[319,1312,408],{"class":333},[319,1314,1316,1319,1322,1325,1328,1330,1333,1335,1338],{"class":321,"line":1315},20,[319,1317,1318],{"class":325},"      if",[319,1320,1321],{"class":333}," (list1.",[319,1323,1324],{"class":387},"get",[319,1326,1327],{"class":333},"(i) ",[319,1329,50],{"class":325},[319,1331,1332],{"class":333}," list2.",[319,1334,1324],{"class":387},[319,1336,1337],{"class":333},"(i)) {  ",[319,1339,1340],{"class":1086},"\u002F\u002F Uses '=='\n",[319,1342,1344,1347,1349],{"class":321,"line":1343},21,[319,1345,1346],{"class":333},"        counter",[319,1348,1148],{"class":325},[319,1350,334],{"class":333},[319,1352,1354],{"class":321,"line":1353},22,[319,1355,1356],{"class":333},"      }\n",[319,1358,1360],{"class":321,"line":1359},23,[319,1361,1173],{"class":333},[319,1363,1365],{"class":321,"line":1364},24,[319,1366,1178],{"emptyLinePlaceholder":7},[319,1368,1370],{"class":321,"line":1369},25,[319,1371,1372],{"class":1086},"    \u002F\u002F Print the counter: 0 in this example\n",[319,1374,1376,1378,1380],{"class":321,"line":1375},26,[319,1377,729],{"class":333},[319,1379,732],{"class":387},[319,1381,1382],{"class":333},"(counter);\n",[319,1384,1386],{"class":321,"line":1385},27,[319,1387,602],{"class":333},[319,1389,1391],{"class":321,"line":1390},28,[319,1392,1178],{"emptyLinePlaceholder":7},[319,1394,1396],{"class":321,"line":1395},29,[319,1397,792],{"class":333},[39,1399,1400,1401,1403,1404,1406],{},"However, if the particular JVM running this code memoized integer values from −32,768 to 32,767, all of the ",[48,1402,123],{}," values in the example would have been autoboxed to the corresponding ",[48,1405,357],{}," objects, and the example code would have operated as expected. Using reference equality instead of object equality requires that all values encountered fall within the interval of values memoized by the JVM. The JLS lacks a specification of this interval; rather, it specifies a minimum range that must be memoized. Consequently, successful prediction of this program's behavior would require implementation-specific details of the JVM.",[272,1408,474],{"id":1409},"compliant-solution-2",[39,1411,831,1412,1414],{},[48,1413,834],{}," method to perform value comparisons of wrapped objects. It produces the correct output, 10.",[306,1416,1417],{"quality":498},[310,1418,1420],{"className":312,"code":1419,"language":314,"meta":315,"style":315},"public class Wrapper {\n  public static void main(String[] args) {\n    \u002F\u002F Create an array list of integers\n    ArrayList\u003CInteger> list1 = new ArrayList\u003CInteger>();\n\n    for (int i = 0; i \u003C 10; i++) {\n      list1.add(i + 1000);\n    }\n\n    \u002F\u002F Create another array list of integers, where each element\n    \u002F\u002F has the same value as the first one\n    ArrayList\u003CInteger> list2 = new ArrayList\u003CInteger>();\n    for (int i = 0; i \u003C 10; i++) {\n      list2.add(i + 1000);\n    }\n \n    \u002F\u002F Count matching values\n    int counter = 0;\n    for (int i = 0; i \u003C 10; i++) {\n      if (list1.get(i).equals(list2.get(i))) {  \u002F\u002F Uses 'equals()'\n        counter++;\n      }\n    }\n \n    \u002F\u002F Print the counter: 10 in this example\n    System.out.println(counter);\n  }\n}\n",[48,1421,1422,1432,1452,1457,1479,1483,1509,1523,1527,1531,1535,1540,1562,1588,1602,1606,1611,1615,1627,1653,1677,1685,1689,1693,1697,1702,1710,1714],{"__ignoreMap":315},[319,1423,1424,1426,1428,1430],{"class":321,"line":322},[319,1425,633],{"class":325},[319,1427,636],{"class":325},[319,1429,640],{"class":639},[319,1431,643],{"class":333},[319,1433,1434,1436,1438,1440,1442,1444,1446,1448,1450],{"class":321,"line":337},[319,1435,381],{"class":325},[319,1437,650],{"class":325},[319,1439,653],{"class":356},[319,1441,656],{"class":387},[319,1443,391],{"class":333},[319,1445,661],{"class":356},[319,1447,664],{"class":333},[319,1449,667],{"class":396},[319,1451,408],{"class":333},[319,1453,1454],{"class":321,"line":343},[319,1455,1456],{"class":1086},"    \u002F\u002F Create an array list of integers\n",[319,1458,1459,1461,1463,1465,1467,1469,1471,1473,1475,1477],{"class":321,"line":378},[319,1460,1097],{"class":349},[319,1462,353],{"class":333},[319,1464,357],{"class":356},[319,1466,1104],{"class":333},[319,1468,363],{"class":325},[319,1470,366],{"class":325},[319,1472,1111],{"class":349},[319,1474,353],{"class":333},[319,1476,357],{"class":356},[319,1478,1118],{"class":333},[319,1480,1481],{"class":321,"line":411},[319,1482,1178],{"emptyLinePlaceholder":7},[319,1484,1485,1487,1489,1491,1493,1495,1497,1499,1501,1503,1505,1507],{"class":321,"line":458},[319,1486,1123],{"class":325},[319,1488,1126],{"class":333},[319,1490,123],{"class":356},[319,1492,417],{"class":333},[319,1494,363],{"class":325},[319,1496,447],{"class":431},[319,1498,1137],{"class":333},[319,1500,353],{"class":325},[319,1502,1142],{"class":431},[319,1504,1145],{"class":333},[319,1506,1148],{"class":325},[319,1508,408],{"class":333},[319,1510,1511,1513,1515,1517,1519,1521],{"class":321,"line":464},[319,1512,1155],{"class":333},[319,1514,1158],{"class":387},[319,1516,1161],{"class":333},[319,1518,1164],{"class":325},[319,1520,709],{"class":431},[319,1522,455],{"class":333},[319,1524,1525],{"class":321,"line":743},[319,1526,1173],{"class":333},[319,1528,1529],{"class":321,"line":756},[319,1530,1178],{"emptyLinePlaceholder":7},[319,1532,1533],{"class":321,"line":771},[319,1534,1183],{"class":1086},[319,1536,1537],{"class":321,"line":784},[319,1538,1539],{"class":1086},"    \u002F\u002F has the same value as the first one\n",[319,1541,1542,1544,1546,1548,1550,1552,1554,1556,1558,1560],{"class":321,"line":789},[319,1543,1097],{"class":349},[319,1545,353],{"class":333},[319,1547,357],{"class":356},[319,1549,1199],{"class":333},[319,1551,363],{"class":325},[319,1553,366],{"class":325},[319,1555,1111],{"class":349},[319,1557,353],{"class":333},[319,1559,357],{"class":356},[319,1561,1118],{"class":333},[319,1563,1564,1566,1568,1570,1572,1574,1576,1578,1580,1582,1584,1586],{"class":321,"line":1214},[319,1565,1123],{"class":325},[319,1567,1126],{"class":333},[319,1569,123],{"class":356},[319,1571,417],{"class":333},[319,1573,363],{"class":325},[319,1575,447],{"class":431},[319,1577,1137],{"class":333},[319,1579,353],{"class":325},[319,1581,1142],{"class":431},[319,1583,1145],{"class":333},[319,1585,1148],{"class":325},[319,1587,408],{"class":333},[319,1589,1590,1592,1594,1596,1598,1600],{"class":321,"line":1241},[319,1591,1244],{"class":333},[319,1593,1158],{"class":387},[319,1595,1161],{"class":333},[319,1597,1164],{"class":325},[319,1599,709],{"class":431},[319,1601,455],{"class":333},[319,1603,1604],{"class":321,"line":1257},[319,1605,1173],{"class":333},[319,1607,1608],{"class":321,"line":1262},[319,1609,1610],{"class":333}," \n",[319,1612,1613],{"class":321,"line":1267},[319,1614,1270],{"class":1086},[319,1616,1617,1619,1621,1623,1625],{"class":321,"line":1273},[319,1618,1276],{"class":356},[319,1620,1279],{"class":333},[319,1622,363],{"class":325},[319,1624,447],{"class":431},[319,1626,334],{"class":333},[319,1628,1629,1631,1633,1635,1637,1639,1641,1643,1645,1647,1649,1651],{"class":321,"line":1288},[319,1630,1123],{"class":325},[319,1632,1126],{"class":333},[319,1634,123],{"class":356},[319,1636,417],{"class":333},[319,1638,363],{"class":325},[319,1640,447],{"class":431},[319,1642,1137],{"class":333},[319,1644,353],{"class":325},[319,1646,1142],{"class":431},[319,1648,1145],{"class":333},[319,1650,1148],{"class":325},[319,1652,408],{"class":333},[319,1654,1655,1657,1659,1661,1664,1666,1669,1671,1674],{"class":321,"line":1315},[319,1656,1318],{"class":325},[319,1658,1321],{"class":333},[319,1660,1324],{"class":387},[319,1662,1663],{"class":333},"(i).",[319,1665,944],{"class":387},[319,1667,1668],{"class":333},"(list2.",[319,1670,1324],{"class":387},[319,1672,1673],{"class":333},"(i))) {  ",[319,1675,1676],{"class":1086},"\u002F\u002F Uses 'equals()'\n",[319,1678,1679,1681,1683],{"class":321,"line":1343},[319,1680,1346],{"class":333},[319,1682,1148],{"class":325},[319,1684,334],{"class":333},[319,1686,1687],{"class":321,"line":1353},[319,1688,1356],{"class":333},[319,1690,1691],{"class":321,"line":1359},[319,1692,1173],{"class":333},[319,1694,1695],{"class":321,"line":1364},[319,1696,1610],{"class":333},[319,1698,1699],{"class":321,"line":1369},[319,1700,1701],{"class":1086},"    \u002F\u002F Print the counter: 10 in this example\n",[319,1703,1704,1706,1708],{"class":321,"line":1375},[319,1705,729],{"class":333},[319,1707,732],{"class":387},[319,1709,1382],{"class":333},[319,1711,1712],{"class":321,"line":1385},[319,1713,602],{"class":333},[319,1715,1716],{"class":321,"line":1390},[319,1717,792],{"class":333},[272,1719,1721,1722,267],{"id":1720},"noncompliant-code-example-boolean","Noncompliant Code Example ( ",[48,1723,194],{},[39,1725,1726,1727,1729],{},"In this noncompliant code example, constructors for class ",[48,1728,194],{}," return distinct newly instantiated objects. Using the reference equality operators in place of value comparisons will yield unexpected results.",[306,1731,1732],{"quality":308},[310,1733,1735],{"className":312,"code":1734,"language":314,"meta":315,"style":315},"public void exampleEqualOperator(){\n  Boolean b1 = new Boolean(\"true\");\n  Boolean b2 = new Boolean(\"true\");\n\n  if (b1 == b2) {    \u002F\u002F Never equal\n    System.out.println(\"Never printed\");\n  }\n}\n",[48,1736,1737,1749,1772,1791,1795,1811,1824,1828],{"__ignoreMap":315},[319,1738,1739,1741,1743,1746],{"class":321,"line":322},[319,1740,633],{"class":325},[319,1742,653],{"class":356},[319,1744,1745],{"class":387}," exampleEqualOperator",[319,1747,1748],{"class":333},"(){\n",[319,1750,1751,1754,1757,1759,1761,1764,1766,1770],{"class":321,"line":337},[319,1752,1753],{"class":349},"  Boolean",[319,1755,1756],{"class":333}," b1 ",[319,1758,363],{"class":325},[319,1760,366],{"class":325},[319,1762,1763],{"class":387}," Boolean",[319,1765,391],{"class":333},[319,1767,1769],{"class":1768},"sstjo","\"true\"",[319,1771,455],{"class":333},[319,1773,1774,1776,1779,1781,1783,1785,1787,1789],{"class":321,"line":343},[319,1775,1753],{"class":349},[319,1777,1778],{"class":333}," b2 ",[319,1780,363],{"class":325},[319,1782,366],{"class":325},[319,1784,1763],{"class":387},[319,1786,391],{"class":333},[319,1788,1769],{"class":1768},[319,1790,455],{"class":333},[319,1792,1793],{"class":321,"line":378},[319,1794,1178],{"emptyLinePlaceholder":7},[319,1796,1797,1800,1803,1805,1808],{"class":321,"line":411},[319,1798,1799],{"class":325},"  if",[319,1801,1802],{"class":333}," (b1 ",[319,1804,50],{"class":325},[319,1806,1807],{"class":333}," b2) {    ",[319,1809,1810],{"class":1086},"\u002F\u002F Never equal\n",[319,1812,1813,1815,1817,1819,1822],{"class":321,"line":458},[319,1814,729],{"class":333},[319,1816,732],{"class":387},[319,1818,391],{"class":333},[319,1820,1821],{"class":1768},"\"Never printed\"",[319,1823,455],{"class":333},[319,1825,1826],{"class":321,"line":464},[319,1827,602],{"class":333},[319,1829,1830],{"class":321,"line":743},[319,1831,792],{"class":333},[272,1833,1835,1836,267],{"id":1834},"compliant-solution-boolean","Compliant Solution ( ",[48,1837,194],{},[39,1839,1840,101,1843,1846,1847,51,1849,1851,1852,1854],{},[48,1841,1842],{},"Boolean.TRUE",[48,1844,1845],{},"Boolean.FALSE"," , or the values of autoboxed ",[48,1848,100],{},[48,1850,104],{}," literals, may be compared using the reference equality operators because the Java language guarantees that the ",[48,1853,194],{}," type is fully memoized. Consequently, these objects are guaranteed to be singletons.",[306,1856,1857],{"quality":498},[310,1858,1860],{"className":312,"code":1859,"language":314,"meta":315,"style":315},"public void exampleEqualOperator(){\n  Boolean b1 = true;\n  Boolean b2 = true; \n    \n  if (b1 == b2) {   \u002F\u002F Always equal\n    System.out.println(\"Always printed\");\n  }\n \n  b1 = Boolean.TRUE;\n  if (b1 == b2) {   \u002F\u002F Always equal\n    System.out.println(\"Always printed\");\n  }\n}\n",[48,1861,1862,1872,1885,1898,1903,1917,1930,1934,1938,1948,1960,1972,1976],{"__ignoreMap":315},[319,1863,1864,1866,1868,1870],{"class":321,"line":322},[319,1865,633],{"class":325},[319,1867,653],{"class":356},[319,1869,1745],{"class":387},[319,1871,1748],{"class":333},[319,1873,1874,1876,1878,1880,1883],{"class":321,"line":337},[319,1875,1753],{"class":349},[319,1877,1756],{"class":333},[319,1879,363],{"class":325},[319,1881,1882],{"class":431}," true",[319,1884,334],{"class":333},[319,1886,1887,1889,1891,1893,1895],{"class":321,"line":343},[319,1888,1753],{"class":349},[319,1890,1778],{"class":333},[319,1892,363],{"class":325},[319,1894,1882],{"class":431},[319,1896,1897],{"class":333},"; \n",[319,1899,1900],{"class":321,"line":378},[319,1901,1902],{"class":333},"    \n",[319,1904,1905,1907,1909,1911,1914],{"class":321,"line":411},[319,1906,1799],{"class":325},[319,1908,1802],{"class":333},[319,1910,50],{"class":325},[319,1912,1913],{"class":333}," b2) {   ",[319,1915,1916],{"class":1086},"\u002F\u002F Always equal\n",[319,1918,1919,1921,1923,1925,1928],{"class":321,"line":458},[319,1920,729],{"class":333},[319,1922,732],{"class":387},[319,1924,391],{"class":333},[319,1926,1927],{"class":1768},"\"Always printed\"",[319,1929,455],{"class":333},[319,1931,1932],{"class":321,"line":464},[319,1933,602],{"class":333},[319,1935,1936],{"class":321,"line":743},[319,1937,340],{"class":333},[319,1939,1940,1943,1945],{"class":321,"line":756},[319,1941,1942],{"class":333},"  b1 ",[319,1944,363],{"class":325},[319,1946,1947],{"class":333}," Boolean.TRUE;\n",[319,1949,1950,1952,1954,1956,1958],{"class":321,"line":771},[319,1951,1799],{"class":325},[319,1953,1802],{"class":333},[319,1955,50],{"class":325},[319,1957,1913],{"class":333},[319,1959,1916],{"class":1086},[319,1961,1962,1964,1966,1968,1970],{"class":321,"line":784},[319,1963,729],{"class":333},[319,1965,732],{"class":387},[319,1967,391],{"class":333},[319,1969,1927],{"class":1768},[319,1971,455],{"class":333},[319,1973,1974],{"class":321,"line":789},[319,1975,602],{"class":333},[319,1977,1978],{"class":321,"line":1214},[319,1979,792],{"class":333},[272,1981,1983],{"id":1982},"risk-assessment","Risk Assessment",[39,1985,1986],{},"Using the equivalence operators to compare values of boxed primitives can lead to erroneous comparisons.",[151,1988,1989,1990,1989,2017],{},"\n  ",[154,1991,1992,1993,1989],{},"\n    ",[157,1994,1995,1996,1995,1999,1995,2002,1995,2005,1995,2008,1995,2011,1995,2014,1992],{},"\n      ",[160,1997,1998],{},"Rule",[160,2000,2001],{},"Severity",[160,2003,2004],{},"Likelihood",[160,2006,2007],{},"Detectable",[160,2009,2010],{},"Repairable",[160,2012,2013],{},"Priority",[160,2015,2016],{},"Level",[167,2018,1992,2019,1989],{},[157,2020,1995,2021,1995,2024,1995,2027,1995,2030,1995,2032,1995,2034,1995,2041,1992],{},[172,2022,2023],{},"EXP03-J",[172,2025,2026],{},"Low",[172,2028,2029],{},"Likely",[172,2031,200],{},[172,2033,200],{},[172,2035,2037],{"style":2036},"color: #f1c40f;",[2038,2039,2040],"b",{},"P9",[172,2042,2043],{"style":2036},[2038,2044,2045],{},"L2",[2047,2048,2050],"h3",{"id":2049},"automated-detection","Automated Detection",[39,2052,2053],{},"Detection of all uses of the reference equality operators on boxed primitive objects is straightforward. Determining the correctness of such uses is infeasible in the general case.",[151,2055,2058],{"className":2056},[2057],"wrapped",[167,2059,2060,2076,2124,2236,2262,2284,2313,2338],{},[157,2061,2064,2067,2070,2073],{"className":2062},[2063],"header",[160,2065,2066],{},"Tool",[160,2068,2069],{},"Version",[160,2071,2072],{},"Checker",[160,2074,2075],{},"Description",[157,2077,2080,2086,2094,2113],{"className":2078},[2079],"odd",[172,2081,2082],{},[57,2083,2085],{"href":2084},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fcodesonar","CodeSonar",[172,2087,2088],{},[2089,2090,2093],"div",{"className":2091},[2092],"content-wrapper","9.0p0",[172,2095,2096],{},[39,2097,2098,2102,2105,2108,2110],{},[2099,2100,2101],"strong",{},"JAVA.COMPARE.EMPTYSTR",[2103,2104],"br",{},[2099,2106,2107],{},"JAVA.COMPARE.EQ",[2103,2109],{},[2099,2111,2112],{},"JAVA.COMPARE.EQARRAY",[172,2114,2115],{},[39,2116,2117,2118,2120,2121,2123],{},"Comparison to empty string",[2103,2119],{},"\nShould Use equals() instead of == (Java)",[2103,2122],{},"\nequals on Array",[157,2125,2128,2134,2137,2233],{"className":2126},[2127],"even",[172,2129,2130],{},[57,2131,2133],{"href":2132},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fcoverity","Coverity",[172,2135,2136],{},"7.5",[172,2138,2139],{},[39,2140,2141,2144,2146,2149,2151,2154,2156,2159,2161,2164,2166,2169,2171,2174,2176,2179,2181,2184,2186,2189,2191,2194,2196,2199,2201,2204,2206,2209,2211,2214,2216,2219,2221,2224,2226,2229,2231],{},[2099,2142,2143],{},"BAD_EQ",[2103,2145],{},[2099,2147,2148],{},"FB.EQ_ABSTRACT_SELF",[2103,2150],{},[2099,2152,2153],{},"FB.EQ_ALWAYS_FALSE",[2103,2155],{},[2099,2157,2158],{},"FB.EQ_ALWAYS_TRUE",[2103,2160],{},[2099,2162,2163],{},"FB.EQ_CHECK_FOR_OPERAND_NOT_ COMPATIBLE_WITH_THIS",[2103,2165],{},[2099,2167,2168],{},"FB.EQ_COMPARETO_USE_OBJECT_ EQUALS",[2103,2170],{},[2099,2172,2173],{},"FB.EQ_COMPARING_CLASS_NAMES",[2103,2175],{},[2099,2177,2178],{},"FB.EQ_DOESNT_OVERRIDE_EQUALS",[2103,2180],{},[2099,2182,2183],{},"FB.EQ_DONT_DEFINE_EQUALS_ FOR_ENUM",[2103,2185],{},[2099,2187,2188],{},"FB.EQ_GETCLASS_AND_CLASS_ CONSTANT",[2103,2190],{},[2099,2192,2193],{},"FB.EQ_OTHER_NO_OBJECT",[2103,2195],{},[2099,2197,2198],{},"FB.EQ_OTHER_USE_OBJECT",[2103,2200],{},[2099,2202,2203],{},"FB.EQ_OVERRIDING_EQUALS_ NOT_SYMMETRIC",[2103,2205],{},[2099,2207,2208],{},"FB.EQ_SELF_NO_OBJECT",[2103,2210],{},[2099,2212,2213],{},"FB.EQ_SELF_USE_OBJECT",[2103,2215],{},[2099,2217,2218],{},"FB.EQ_UNUSUAL",[2103,2220],{},[2099,2222,2223],{},"FB.ES_COMPARING_PARAMETER_ STRING_WITH_EQ",[2103,2225],{},[2099,2227,2228],{},"FB.ES_COMPARING_STRINGS_ WITH_EQ",[2103,2230],{},[2099,2232,2223],{},[172,2234,2235],{},"Implemented",[157,2237,2239,2245,2253,2258],{"className":2238},[2079],[172,2240,2241],{},[57,2242,2244],{"href":2243},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fklocwork","Klocwork",[172,2246,2247],{},[2089,2248,2250],{"className":2249},[2092],[39,2251,2252],{},"2025.2",[172,2254,2255],{},[2099,2256,2257],{},"CMP.OBJ",[172,2259,2260],{},[2103,2261],{},[157,2263,2265,2271,2276,2281],{"className":2264},[2127],[172,2266,2267],{},[57,2268,2270],{"href":2269},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fparasoft","Parasoft Jtest",[172,2272,2273],{},[2089,2274,2252],{"className":2275},[2092],[172,2277,2278],{},[2099,2279,2280],{},"CERT.EXP03.UEIC",[172,2282,2283],{},"Do not use '==' or '!=' to compare objects",[157,2285,2287,2293,2301,2309],{"className":2286},[2079],[172,2288,2289],{},[57,2290,2292],{"href":2291},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fpvs-studio","PVS-Studio",[172,2294,2295],{},[2089,2296,2298],{"className":2297},[2092],[39,2299,2300],{},"7.42",[172,2302,2303],{},[2099,2304,2305],{},[57,2306,2308],{"href":2307},"https:\u002F\u002Fpvs-studio.com\u002Fen\u002Fdocs\u002Fwarnings\u002Fv6013\u002F","V6013",[172,2310,2311],{},[2103,2312],{},[157,2314,2316,2322,2330,2335],{"className":2315},[2127],[172,2317,2318],{},[57,2319,2321],{"href":2320},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fsecurity-reviewer-static-reviewer","Security Reviewer - Static Reviewer",[172,2323,2324],{},[2089,2325,2327],{"className":2326},[2092],[39,2328,2329],{},"6.02",[172,2331,2332],{},[2099,2333,2334],{},"ComparisonError",[172,2336,2337],{},"Full Implementation",[157,2339,2341,2347,2353,2361],{"className":2340},[2079],[172,2342,2343],{},[57,2344,2346],{"href":2345},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fsonarqube","SonarQube",[172,2348,2349],{},[2089,2350,2352],{"className":2351},[2092],"9.9",[172,2354,2355],{},[2099,2356,2357],{},[57,2358,2360],{"href":2359},"https:\u002F\u002Frules.sonarsource.com\u002Fjava\u002FRSPEC-1698","S1698",[172,2362,2363],{},[57,2364,2365],{"href":2359},"\"==\" and \"!=\" should not be used when \"equals\" is overridden",[272,2367,2369],{"id":2368},"related-guidelines","Related Guidelines",[151,2371,2373],{"className":2372},[2057],[167,2374,2375],{},[157,2376,2378,2386],{"className":2377},[2079],[172,2379,2380],{},[39,2381,2382],{},[57,2383,2385],{"href":2384},"http:\u002F\u002Fcwe.mitre.org\u002F","MITRE CWE",[172,2387,2388],{},[39,2389,2390,2394,2395,2397,2401],{},[57,2391,2393],{"href":2392},"http:\u002F\u002Fcwe.mitre.org\u002Fdata\u002Fdefinitions\u002F595.html","CWE-595"," , Comparison of Object References Instead of Object Contents",[2103,2396],{},[57,2398,2400],{"href":2399},"http:\u002F\u002Fcwe.mitre.org\u002Fdata\u002Fdefinitions\u002F597.html","CWE-597"," , Use of Wrong Operator in String Comparison",[272,2403,2405],{"id":2404},"bibliography","Bibliography",[151,2407,2409],{"className":2408},[2057],[167,2410,2411,2427,2442,2461],{},[157,2412,2414,2422],{"className":2413},[2079],[172,2415,2416],{},[39,2417,2418,2419,2421],{},"[ ",[57,2420,290],{"href":289}," ]",[172,2423,2424],{},[39,2425,2426],{},"Puzzle 4, \"Searching for the One\"",[157,2428,2430,2436],{"className":2429},[2127],[172,2431,2432],{},[39,2433,2418,2434,2421],{},[57,2435,84],{"href":83},[172,2437,2438],{},[39,2439,2440],{},[57,2441,74],{"href":78},[157,2443,2445,2453],{"className":2444},[2079],[172,2446,2447],{},[39,2448,2418,2449,2421],{},[57,2450,2452],{"href":2451},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Pugh09","Pugh 2009",[172,2454,2455],{},[39,2456,2457,2458],{},"Using == to Compare Objects Rather than ",[48,2459,2460],{},"       .equals      ",[157,2462,2464,2470],{"className":2463},[2127],[172,2465,2418,2466,2421],{},[57,2467,2469],{"href":2468},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Seacord2015","Seacord 2015",[172,2471,2472],{},[2089,2473,2475,75,2479,2482],{"className":2474},[2092],[2476,2477],"img",{"src":2478},"https:\u002F\u002Fencrypted-tbn3.gstatic.com\u002Fimages?q=tbn:ANd9GcR5qEGh3iWVRSYkilqOBtCNr8FE15PosscXUuQBpnw67nRbPOcCyQ",[57,2480,30],{"href":2481},"https:\u002F\u002Fwww.safaribooksonline.com\u002Flibrary\u002Fview\u002Fsecure-coding-rules\u002F9780134031521\u002Fpart17.html"," LiveLesson",[2484,2485],"hr",{},[39,2487,2488,75,2494,75,2500],{},[57,2489,2491],{"href":2490},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp02-j",[2476,2492],{"src":2493},"\u002Fattachments\u002F88487702\u002F88497198.png",[57,2495,2497],{"href":2496},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002F",[2476,2498],{"src":2499},"\u002Fattachments\u002F88487702\u002F88497196.png",[57,2501,2503],{"href":2502},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp04-j",[2476,2504],{"src":2505},"\u002Fattachments\u002F88487702\u002F88497197.png",[2507,2508,2509],"style",{},"html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}html pre.shiki code .s-ngx, html code.shiki .s-ngx{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F92672}html pre.shiki code .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}html pre.shiki code .sk8M1, html code.shiki .sk8M1{--shiki-default:#24292E;--shiki-default-font-style:inherit;--shiki-dark:#E1E4E8;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic}html pre.shiki code .sq6CD, html code.shiki .sq6CD{--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic}html pre.shiki code .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .sTHNf, html code.shiki .sTHNf{--shiki-default:#E36209;--shiki-default-font-style:inherit;--shiki-dark:#FFAB70;--shiki-dark-font-style:inherit;--shiki-sepia:#FD971F;--shiki-sepia-font-style:italic}html pre.shiki code .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html pre.shiki code .sz2Vg, html code.shiki .sz2Vg{--shiki-default:#6F42C1;--shiki-default-text-decoration:inherit;--shiki-dark:#B392F0;--shiki-dark-text-decoration:inherit;--shiki-sepia:#A6E22E;--shiki-sepia-text-decoration:underline}html pre.shiki code .s8-w5, html code.shiki .s8-w5{--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F}html pre.shiki code .sstjo, html code.shiki .sstjo{--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74}",{"title":315,"searchDepth":337,"depth":337,"links":2511},[2512,2513,2514,2515,2516,2517,2518,2520,2522,2525,2526],{"id":274,"depth":337,"text":275},{"id":473,"depth":337,"text":474},{"id":609,"depth":337,"text":275},{"id":828,"depth":337,"text":474},{"id":1007,"depth":337,"text":275},{"id":1409,"depth":337,"text":474},{"id":1720,"depth":337,"text":2519},"Noncompliant Code Example ( Boolean )",{"id":1834,"depth":337,"text":2521},"Compliant Solution ( Boolean )",{"id":1982,"depth":337,"text":1983,"children":2523},[2524],{"id":2049,"depth":343,"text":2050},{"id":2368,"depth":337,"text":2369},{"id":2404,"depth":337,"text":2405},"The values of boxed primitives cannot be directly compared using the == and != operators because these operators compare object references rather than object values. Programmers can find this behavior surprising because autoboxing memoizes , or caches, the values of some primitive variables. Consequently, reference comparisons and value comparisons produce identical results for the subset of values that are memoized.","md",{"tags":2530},[2531,2532,2533],"android","rule","exp","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp03-j",{"title":30,"description":2527},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F5.exp03-j","QTzwGpDos7a-KQ_S-bZWLXLxHnT63sNBHO8QI58MKzY",[2539,2542],{"title":2540,"path":2490,"stem":2541,"children":-1},"EXP02-J. Do not use the Object.equals() method to compare two arrays","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F4.exp02-j",{"title":2543,"path":2502,"stem":2544,"children":-1},"EXP04-J. Do not pass arguments to certain Java Collections Framework methods that are a different type than the collection parameter type","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F6.exp04-j",[2546],{"title":2547,"path":2548,"stem":2549,"children":2550},"SEI CERT Oracle Coding Standard for Java","\u002Fsei-cert-oracle-coding-standard-for-java","6.sei-cert-oracle-coding-standard-for-java\u002F1.index",[2551,2552,2692,3521,3920,4084],{"title":2547,"path":2548,"stem":2549},{"title":2553,"path":2554,"stem":2555,"children":2556},"Front Matter","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F1.index",[2557,2558,2562,2566,2570,2616,2654],{"title":2553,"path":2554,"stem":2555},{"title":2559,"path":2560,"stem":2561},"Rules versus Recommendations (Java)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frules-versus-recommendations-java","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F2.rules-versus-recommendations-java",{"title":2563,"path":2564,"stem":2565},"Acknowledgments","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Facknowledgments","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F3.acknowledgments",{"title":2567,"path":2568,"stem":2569},"Deprecations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Fdeprecations","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.deprecations",{"title":2571,"path":2572,"stem":2573,"children":2574},"Rec. Preface","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F01.index",[2575,2576,2580,2584,2588,2592,2596,2600,2604,2608,2612],{"title":2571,"path":2572,"stem":2573},{"title":2577,"path":2578,"stem":2579},"Scope","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fscope","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F02.scope",{"title":2581,"path":2582,"stem":2583},"Audience","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Faudience","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F03.audience",{"title":2585,"path":2586,"stem":2587},"Contents and Organization","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fcontents-and-organization","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F05.contents-and-organization",{"title":2589,"path":2590,"stem":2591},"Guidelines","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fguidelines","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F06.guidelines",{"title":2593,"path":2594,"stem":2595},"Usage","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fusage","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F07.usage",{"title":2597,"path":2598,"stem":2599},"System Qualities","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fsystem-qualities","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F08.system-qualities",{"title":2601,"path":2602,"stem":2603},"Priority and Levels","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fpriority-and-levels","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F09.priority-and-levels",{"title":2605,"path":2606,"stem":2607},"Automatically Generated Code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fautomatically-generated-code","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F10.automatically-generated-code",{"title":2609,"path":2610,"stem":2611},"Source Code Validation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Fsource-code-validation","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F11.source-code-validation",{"title":2613,"path":2614,"stem":2615},"Tool Selection and Validation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frec-preface\u002Ftool-selection-and-validation","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F4.rec-preface\u002F12.tool-selection-and-validation",{"title":2617,"path":2618,"stem":2619,"children":2620},"Rule. Introduction","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F01.index",[2621,2622,2626,2630,2634,2638,2642,2646,2650],{"title":2617,"path":2618,"stem":2619},{"title":2623,"path":2624,"stem":2625},"Input Validation and Data Sanitization","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Finput-validation-and-data-sanitization","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F02.input-validation-and-data-sanitization",{"title":2627,"path":2628,"stem":2629},"Leaking Sensitive Data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Fleaking-sensitive-data","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F03.leaking-sensitive-data",{"title":2631,"path":2632,"stem":2633},"Type Safety","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Ftype-safety","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F04.type-safety",{"title":2635,"path":2636,"stem":2637},"Leaking Capabilities","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Fleaking-capabilities","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F05.leaking-capabilities",{"title":2639,"path":2640,"stem":2641},"Denial of Service","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Fdenial-of-service","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F06.denial-of-service",{"title":2643,"path":2644,"stem":2645},"Libraries","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Flibraries","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F07.libraries",{"title":2647,"path":2648,"stem":2649},"Concurrency, Visibility, and Memory","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Fconcurrency-visibility-and-memory","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F08.concurrency-visibility-and-memory",{"title":2651,"path":2652,"stem":2653},"Privilege Escalation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-introduction\u002Fprivilege-escalation","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F5.rule-introduction\u002F09.privilege-escalation",{"title":2655,"path":2656,"stem":2657,"children":2658},"Rule. Preface","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F01.index",[2659,2660,2663,2666,2669,2673,2676,2679,2682,2685,2689],{"title":2655,"path":2656,"stem":2657},{"title":2577,"path":2661,"stem":2662},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fscope","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F02.scope",{"title":2581,"path":2664,"stem":2665},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Faudience","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F03.audience",{"title":2585,"path":2667,"stem":2668},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fcontents-and-organization","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F04.contents-and-organization",{"title":2670,"path":2671,"stem":2672},"Identifiers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fidentifiers","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F05.identifiers",{"title":2593,"path":2674,"stem":2675},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fusage","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F06.usage",{"title":2597,"path":2677,"stem":2678},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fsystem-qualities","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F07.system-qualities",{"title":2601,"path":2680,"stem":2681},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fpriority-and-levels","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F08.priority-and-levels",{"title":2605,"path":2683,"stem":2684},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fautomatically-generated-code","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F09.automatically-generated-code",{"title":2686,"path":2687,"stem":2688},"Conformance Testing","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Fconformance-testing","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F10.conformance-testing",{"title":2613,"path":2690,"stem":2691},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter\u002Frule-preface\u002Ftool-selection-and-validation","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F6.rule-preface\u002F11.tool-selection-and-validation",{"title":2693,"path":2694,"stem":2695,"children":2696},"Rules","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F01.index",[2697,2698,2702,2728,2746,2792,2821,2895,2949,2975,3029,3091,3145,3203,3265,3315,3355,3413,3443,3469,3491],{"title":2693,"path":2694,"stem":2695},{"title":2699,"path":2700,"stem":2701},"Android (DRD)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fandroid-drd","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F02.android-drd",{"title":2703,"path":2704,"stem":2705,"children":2706},"Characters and Strings (STR)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fcharacters-and-strings-str","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F03.characters-and-strings-str\u002F1.index",[2707,2708,2712,2716,2720,2724],{"title":2703,"path":2704,"stem":2705},{"title":2709,"path":2710,"stem":2711},"STR00-J. Don't form strings containing partial characters from variable-width encodings","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fcharacters-and-strings-str\u002Fstr00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F03.characters-and-strings-str\u002F2.str00-j",{"title":2713,"path":2714,"stem":2715},"STR01-J. Do not assume that a Java char fully represents a Unicode code point","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fcharacters-and-strings-str\u002Fstr01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F03.characters-and-strings-str\u002F3.str01-j",{"title":2717,"path":2718,"stem":2719},"STR02-J. Specify an appropriate locale when comparing locale-dependent data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fcharacters-and-strings-str\u002Fstr02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F03.characters-and-strings-str\u002F4.str02-j",{"title":2721,"path":2722,"stem":2723},"STR03-J. Do not encode noncharacter data as a string","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fcharacters-and-strings-str\u002Fstr03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F03.characters-and-strings-str\u002F5.str03-j",{"title":2725,"path":2726,"stem":2727},"STR04-J. Use compatible character encodings when communicating string data between JVMs","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fcharacters-and-strings-str\u002Fstr04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F03.characters-and-strings-str\u002F6.str04-j",{"title":2729,"path":2730,"stem":2731,"children":2732},"Declarations and Initialization (DCL)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fdeclarations-and-initialization-dcl","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F04.declarations-and-initialization-dcl\u002F1.index",[2733,2734,2738,2742],{"title":2729,"path":2730,"stem":2731},{"title":2735,"path":2736,"stem":2737},"DCL00-J. Prevent class initialization cycles","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F04.declarations-and-initialization-dcl\u002F2.dcl00-j",{"title":2739,"path":2740,"stem":2741},"DCL01-J. Do not reuse public identifiers from the Java Standard Library","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F04.declarations-and-initialization-dcl\u002F3.dcl01-j",{"title":2743,"path":2744,"stem":2745},"DCL02-J. Do not modify the collection's elements during an enhanced for statement","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fdeclarations-and-initialization-dcl\u002Fdcl02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F04.declarations-and-initialization-dcl\u002F4.dcl02-j",{"title":2747,"path":2748,"stem":2749,"children":2750},"Exceptional Behavior (ERR)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F01.index",[2751,2752,2756,2760,2764,2768,2772,2776,2780,2784,2788],{"title":2747,"path":2748,"stem":2749},{"title":2753,"path":2754,"stem":2755},"ERR00-J. Do not suppress or ignore checked exceptions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F02.err00-j",{"title":2757,"path":2758,"stem":2759},"ERR01-J. Do not allow exceptions to expose sensitive information","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F03.err01-j",{"title":2761,"path":2762,"stem":2763},"ERR02-J. Prevent exceptions while logging data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F04.err02-j",{"title":2765,"path":2766,"stem":2767},"ERR03-J. Restore prior object state on method failure","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F05.err03-j",{"title":2769,"path":2770,"stem":2771},"ERR04-J. Do not complete abruptly from a finally block","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F06.err04-j",{"title":2773,"path":2774,"stem":2775},"ERR05-J. Do not let checked exceptions escape from a finally block","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F07.err05-j",{"title":2777,"path":2778,"stem":2779},"ERR06-J. Do not throw undeclared checked exceptions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F08.err06-j",{"title":2781,"path":2782,"stem":2783},"ERR07-J. Do not throw RuntimeException, Exception, or Throwable","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F09.err07-j",{"title":2785,"path":2786,"stem":2787},"ERR08-J. Do not catch NullPointerException or any of its ancestors","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F10.err08-j",{"title":2789,"path":2790,"stem":2791},"ERR09-J. Do not allow untrusted code to terminate the JVM","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F11.err09-j",{"title":2793,"path":2794,"stem":2795,"children":2796},"Expressions (EXP)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F1.index",[2797,2798,2802,2806,2807,2808,2809,2813,2817],{"title":2793,"path":2794,"stem":2795},{"title":2799,"path":2800,"stem":2801},"EXP00-J. Do not ignore values returned by methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F2.exp00-j",{"title":2803,"path":2804,"stem":2805},"EXP01-J. Do not use a null in a case where an object is required","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F3.exp01-j",{"title":2540,"path":2490,"stem":2541},{"title":30,"path":2534,"stem":2536},{"title":2543,"path":2502,"stem":2544},{"title":2810,"path":2811,"stem":2812},"EXP05-J. Do not follow a write by a subsequent write or read of the same object within an expression","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F7.exp05-j",{"title":2814,"path":2815,"stem":2816},"EXP06-J. Expressions used in assertions must not produce side effects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F8.exp06-j",{"title":2818,"path":2819,"stem":2820},"EXP07-J. Prevent loss of useful data due to weak references","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F9.exp07-j",{"title":2822,"path":2823,"stem":2824,"children":2825},"Input Output (FIO)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F01.index",[2826,2827,2831,2835,2839,2843,2847,2851,2855,2859,2863,2867,2871,2875,2879,2883,2887,2891],{"title":2822,"path":2823,"stem":2824},{"title":2828,"path":2829,"stem":2830},"FIO00-J. Do not operate on files in shared directories","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F02.fio00-j",{"title":2832,"path":2833,"stem":2834},"FIO01-J. Create files with appropriate access permissions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F03.fio01-j",{"title":2836,"path":2837,"stem":2838},"FIO02-J. Detect and handle file-related errors","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F04.fio02-j",{"title":2840,"path":2841,"stem":2842},"FIO03-J. Remove temporary files before termination","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F05.fio03-j",{"title":2844,"path":2845,"stem":2846},"FIO04-J. Release resources when they are no longer needed","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F06.fio04-j",{"title":2848,"path":2849,"stem":2850},"FIO05-J. Do not expose buffers or their backing arrays methods to untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F07.fio05-j",{"title":2852,"path":2853,"stem":2854},"FIO06-J. Do not create multiple buffered wrappers on a single byte or character stream","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F08.fio06-j",{"title":2856,"path":2857,"stem":2858},"FIO07-J. Do not let external processes block on IO buffers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F09.fio07-j",{"title":2860,"path":2861,"stem":2862},"FIO08-J. Distinguish between characters or bytes read from a stream and -1","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F10.fio08-j",{"title":2864,"path":2865,"stem":2866},"FIO09-J. Do not rely on the write() method to output integers outside the range 0 to 255","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F11.fio09-j",{"title":2868,"path":2869,"stem":2870},"FIO10-J. Ensure the array is filled when using read() to fill an array","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F12.fio10-j",{"title":2872,"path":2873,"stem":2874},"FIO11-J. Do not convert between strings and bytes without specifying a valid character encoding","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F13.fio11-j",{"title":2876,"path":2877,"stem":2878},"FIO12-J. Provide methods to read and write little-endian data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio12-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F14.fio12-j",{"title":2880,"path":2881,"stem":2882},"FIO13-J. Do not log sensitive information outside a trust boundary","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio13-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F15.fio13-j",{"title":2884,"path":2885,"stem":2886},"FIO14-J. Perform proper cleanup at program termination","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio14-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F16.fio14-j",{"title":2888,"path":2889,"stem":2890},"FIO15-J. Do not reset a servlet's output stream after committing it","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio15-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F17.fio15-j",{"title":2892,"path":2893,"stem":2894},"FIO16-J. Canonicalize path names before validating them","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-output-fio\u002Ffio16-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F07.input-output-fio\u002F18.fio16-j",{"title":2896,"path":2897,"stem":2898,"children":2899},"Input Validation and Data Sanitization (IDS)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F01.index",[2900,2901,2905,2909,2913,2917,2921,2925,2929,2933,2937,2941,2945],{"title":2896,"path":2897,"stem":2898},{"title":2902,"path":2903,"stem":2904},"IDS00-J. Prevent SQL injection","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F02.ids00-j",{"title":2906,"path":2907,"stem":2908},"IDS01-J. Normalize strings before validating them","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F03.ids01-j",{"title":2910,"path":2911,"stem":2912},"IDS03-J. Do not log unsanitized user input","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F04.ids03-j",{"title":2914,"path":2915,"stem":2916},"IDS04-J. Safely extract files from ZipInputStream","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F05.ids04-j",{"title":2918,"path":2919,"stem":2920},"IDS06-J. Exclude unsanitized user input from format strings","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F06.ids06-j",{"title":2922,"path":2923,"stem":2924},"IDS07-J. Sanitize untrusted data passed to the Runtime.exec() method","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F07.ids07-j",{"title":2926,"path":2927,"stem":2928},"IDS08-J. Sanitize untrusted data included in a regular expression","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F08.ids08-j",{"title":2930,"path":2931,"stem":2932},"IDS11-J. Perform any string modifications before validation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F09.ids11-j",{"title":2934,"path":2935,"stem":2936},"IDS14-J. Do not trust the contents of hidden form fields","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids14-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F10.ids14-j",{"title":2938,"path":2939,"stem":2940},"IDS15-J. Do not allow sensitive information to leak outside a trust boundary","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids15-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F11.ids15-j",{"title":2942,"path":2943,"stem":2944},"IDS16-J. Prevent XML Injection","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids16-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F12.ids16-j",{"title":2946,"path":2947,"stem":2948},"IDS17-J. Prevent XML External Entity Attacks","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Finput-validation-and-data-sanitization-ids\u002Fids17-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F08.input-validation-and-data-sanitization-ids\u002F13.ids17-j",{"title":2950,"path":2951,"stem":2952,"children":2953},"Java Native Interface (JNI)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fjava-native-interface-jni","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F09.java-native-interface-jni\u002F1.index",[2954,2955,2959,2963,2967,2971],{"title":2950,"path":2951,"stem":2952},{"title":2956,"path":2957,"stem":2958},"JNI00-J. Define wrappers around native methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fjava-native-interface-jni\u002Fjni00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F09.java-native-interface-jni\u002F2.jni00-j",{"title":2960,"path":2961,"stem":2962},"JNI01-J. Safely invoke standard APIs that perform tasks using the immediate caller's class loader instance (loadLibrary)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fjava-native-interface-jni\u002Fjni01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F09.java-native-interface-jni\u002F3.jni01-j",{"title":2964,"path":2965,"stem":2966},"JNI02-J. Do not assume object references are constant or unique","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fjava-native-interface-jni\u002Fjni02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F09.java-native-interface-jni\u002F4.jni02-j",{"title":2968,"path":2969,"stem":2970},"JNI03-J. Do not use direct pointers to Java objects in JNI code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fjava-native-interface-jni\u002Fjni03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F09.java-native-interface-jni\u002F5.jni03-j",{"title":2972,"path":2973,"stem":2974},"JNI04-J. Do not assume that Java strings are null-terminated","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fjava-native-interface-jni\u002Fjni04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F09.java-native-interface-jni\u002F6.jni04-j",{"title":2976,"path":2977,"stem":2978,"children":2979},"Locking (LCK)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F01.index",[2980,2981,2985,2989,2993,2997,3001,3005,3009,3013,3017,3021,3025],{"title":2976,"path":2977,"stem":2978},{"title":2982,"path":2983,"stem":2984},"LCK00-J. Use private final lock objects to synchronize classes that may interact with untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F02.lck00-j",{"title":2986,"path":2987,"stem":2988},"LCK01-J. Do not synchronize on objects that may be reused","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F03.lck01-j",{"title":2990,"path":2991,"stem":2992},"LCK02-J. Do not synchronize on the class object returned by getClass()","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F04.lck02-j",{"title":2994,"path":2995,"stem":2996},"LCK03-J. Do not synchronize on the intrinsic locks of high-level concurrency objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F05.lck03-j",{"title":2998,"path":2999,"stem":3000},"LCK04-J. Do not synchronize on a collection view if the backing collection is accessible","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F06.lck04-j",{"title":3002,"path":3003,"stem":3004},"LCK05-J. Synchronize access to static fields that can be modified by untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F07.lck05-j",{"title":3006,"path":3007,"stem":3008},"LCK06-J. Do not use an instance lock to protect shared static data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F08.lck06-j",{"title":3010,"path":3011,"stem":3012},"LCK07-J. Avoid deadlock by requesting and releasing locks in the same order","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F09.lck07-j",{"title":3014,"path":3015,"stem":3016},"LCK08-J. Ensure actively held locks are released on exceptional conditions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F10.lck08-j",{"title":3018,"path":3019,"stem":3020},"LCK09-J. Do not perform operations that can block while holding a lock","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F11.lck09-j",{"title":3022,"path":3023,"stem":3024},"LCK10-J. Use a correct form of the double-checked locking idiom","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F12.lck10-j",{"title":3026,"path":3027,"stem":3028},"LCK11-J. Avoid client-side locking when using classes that do not commit to their locking strategy","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Flocking-lck\u002Flck11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F10.locking-lck\u002F13.lck11-j",{"title":3030,"path":3031,"stem":3032,"children":3033},"Methods (MET)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F01.index",[3034,3035,3039,3043,3047,3051,3055,3059,3063,3067,3071,3075,3079,3083,3087],{"title":3030,"path":3031,"stem":3032},{"title":3036,"path":3037,"stem":3038},"MET00-J. Validate method arguments","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F02.met00-j",{"title":3040,"path":3041,"stem":3042},"MET01-J. Never use assertions to validate method arguments","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F03.met01-j",{"title":3044,"path":3045,"stem":3046},"MET02-J. Do not use deprecated or obsolete classes or methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F04.met02-j",{"title":3048,"path":3049,"stem":3050},"MET03-J. Methods that perform a security check must be declared private or final","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F05.met03-j",{"title":3052,"path":3053,"stem":3054},"MET04-J. Do not increase the accessibility of overridden or hidden methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F06.met04-j",{"title":3056,"path":3057,"stem":3058},"MET05-J. Ensure that constructors do not call overridable methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F07.met05-j",{"title":3060,"path":3061,"stem":3062},"MET06-J. Do not invoke overridable methods in clone()","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F08.met06-j",{"title":3064,"path":3065,"stem":3066},"MET07-J. Never declare a class method that hides a method declared in a superclass or superinterface","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F09.met07-j",{"title":3068,"path":3069,"stem":3070},"MET08-J. Preserve the equality contract when overriding the equals() method","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F10.met08-j",{"title":3072,"path":3073,"stem":3074},"MET09-J. Classes that define an equals() method must also define a hashCode() method","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F11.met09-j",{"title":3076,"path":3077,"stem":3078},"MET10-J. Follow the general contract when implementing the compareTo() method","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F12.met10-j",{"title":3080,"path":3081,"stem":3082},"MET11-J. Ensure that keys used in comparison operations are immutable","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F13.met11-j",{"title":3084,"path":3085,"stem":3086},"MET12-J. Do not use finalizers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet12-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F14.met12-j",{"title":3088,"path":3089,"stem":3090},"MET13-J. Do not assume that reassigning method arguments modifies the calling environment","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet13-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F15.met13-j",{"title":3092,"path":3093,"stem":3094,"children":3095},"Miscellaneous (MSC)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F01.index",[3096,3097,3101,3105,3109,3113,3117,3121,3125,3129,3133,3137,3141],{"title":3092,"path":3093,"stem":3094},{"title":3098,"path":3099,"stem":3100},"MSC00-J. Use SSLSocket rather than Socket for secure data exchange","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F02.msc00-j",{"title":3102,"path":3103,"stem":3104},"MSC01-J. Do not use an empty infinite loop","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F03.msc01-j",{"title":3106,"path":3107,"stem":3108},"MSC02-J. Generate strong random numbers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F04.msc02-j",{"title":3110,"path":3111,"stem":3112},"MSC03-J. Never hard code sensitive information","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F05.msc03-j",{"title":3114,"path":3115,"stem":3116},"MSC04-J. Do not leak memory","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F06.msc04-j",{"title":3118,"path":3119,"stem":3120},"MSC05-J. Do not exhaust heap space","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F07.msc05-j",{"title":3122,"path":3123,"stem":3124},"MSC06-J. Do not modify the underlying collection when an iteration is in progress","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F08.msc06-j",{"title":3126,"path":3127,"stem":3128},"MSC07-J. Prevent multiple instantiations of singleton objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F09.msc07-j",{"title":3130,"path":3131,"stem":3132},"MSC08-J. Do not store nonserializable objects as attributes in an HTTP session","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F10.msc08-j",{"title":3134,"path":3135,"stem":3136},"MSC09-J. For OAuth, ensure (a) [relying party receiving user's ID in last step] is same as (b) [relying party the access token was granted to].","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F11.msc09-j",{"title":3138,"path":3139,"stem":3140},"MSC10-J. Do not use OAuth 2.0 implicit grant (unmodified) for authentication","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F12.msc10-j",{"title":3142,"path":3143,"stem":3144},"MSC11-J. Do not let session information leak within a servlet","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmiscellaneous-msc\u002Fmsc11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F12.miscellaneous-msc\u002F13.msc11-j",{"title":3146,"path":3147,"stem":3148,"children":3149},"Numeric Types and Operations (NUM)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F01.index",[3150,3151,3155,3159,3163,3167,3171,3175,3179,3183,3187,3191,3195,3199],{"title":3146,"path":3147,"stem":3148},{"title":3152,"path":3153,"stem":3154},"NUM00-J. Detect or prevent integer overflow","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F02.num00-j",{"title":3156,"path":3157,"stem":3158},"NUM01-J. Do not perform bitwise and arithmetic operations on the same data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F03.num01-j",{"title":3160,"path":3161,"stem":3162},"NUM02-J. Ensure that division and remainder operations do not result in divide-by-zero errors","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F04.num02-j",{"title":3164,"path":3165,"stem":3166},"NUM03-J. Use integer types that can fully represent the possible range of unsigned data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F05.num03-j",{"title":3168,"path":3169,"stem":3170},"NUM04-J. Do not use floating-point numbers if precise computation is required","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F06.num04-j",{"title":3172,"path":3173,"stem":3174},"NUM07-J. Do not attempt comparisons with NaN","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F07.num07-j",{"title":3176,"path":3177,"stem":3178},"NUM08-J. Check floating-point inputs for exceptional values","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F08.num08-j",{"title":3180,"path":3181,"stem":3182},"NUM09-J. Do not use floating-point variables as loop counters","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F09.num09-j",{"title":3184,"path":3185,"stem":3186},"NUM10-J. Do not construct BigDecimal objects from floating-point literals","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F10.num10-j",{"title":3188,"path":3189,"stem":3190},"NUM11-J. Do not compare or inspect the string representation of floating-point values","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F11.num11-j",{"title":3192,"path":3193,"stem":3194},"NUM12-J. Ensure conversions of numeric types to narrower types do not result in lost or misinterpreted data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum12-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F12.num12-j",{"title":3196,"path":3197,"stem":3198},"NUM13-J. Avoid loss of precision when converting primitive integers to floating-point","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum13-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F13.num13-j",{"title":3200,"path":3201,"stem":3202},"NUM14-J. Use shift operators correctly","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fnumeric-types-and-operations-num\u002Fnum14-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F13.numeric-types-and-operations-num\u002F14.num14-j",{"title":3204,"path":3205,"stem":3206,"children":3207},"Object Orientation (OBJ)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F01.index",[3208,3209,3213,3217,3221,3225,3229,3233,3237,3241,3245,3249,3253,3257,3261],{"title":3204,"path":3205,"stem":3206},{"title":3210,"path":3211,"stem":3212},"OBJ01-J. Limit accessibility of fields","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F02.obj01-j",{"title":3214,"path":3215,"stem":3216},"OBJ02-J. Preserve dependencies in subclasses when changing superclasses","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F03.obj02-j",{"title":3218,"path":3219,"stem":3220},"OBJ03-J. Prevent heap pollution","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F04.obj03-j",{"title":3222,"path":3223,"stem":3224},"OBJ04-J. Provide mutable classes with copy functionality to safely allow passing instances to untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F05.obj04-j",{"title":3226,"path":3227,"stem":3228},"OBJ05-J. Do not return references to private mutable class members","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F06.obj05-j",{"title":3230,"path":3231,"stem":3232},"OBJ06-J. Defensively copy mutable inputs and mutable internal components","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F07.obj06-j",{"title":3234,"path":3235,"stem":3236},"OBJ07-J. Sensitive classes must not let themselves be copied","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F08.obj07-j",{"title":3238,"path":3239,"stem":3240},"OBJ08-J. Do not expose private members of an outer class from within a nested class","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F09.obj08-j",{"title":3242,"path":3243,"stem":3244},"OBJ09-J. Compare classes and not class names","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F10.obj09-j",{"title":3246,"path":3247,"stem":3248},"OBJ10-J. Do not use public static nonfinal fields","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F11.obj10-j",{"title":3250,"path":3251,"stem":3252},"OBJ11-J. Be wary of letting constructors throw exceptions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F12.obj11-j",{"title":3254,"path":3255,"stem":3256},"OBJ12-J. Respect object-based annotations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj12-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F13.obj12-j",{"title":3258,"path":3259,"stem":3260},"OBJ13-J. Ensure that references to mutable objects are not exposed","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj13-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F14.obj13-j",{"title":3262,"path":3263,"stem":3264},"OBJ14-J. Do not use an object that has been freed.","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj14-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F15.obj14-j",{"title":3266,"path":3267,"stem":3268,"children":3269},"Platform Security (SEC)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F01.index",[3270,3271,3275,3279,3283,3287,3291,3295,3299,3303,3307,3311],{"title":3266,"path":3267,"stem":3268},{"title":3272,"path":3273,"stem":3274},"SEC00-J. Do not allow privileged blocks to leak sensitive information across a trust boundary","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F02.sec00-j",{"title":3276,"path":3277,"stem":3278},"SEC01-J. Do not allow tainted variables in privileged blocks","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F03.sec01-j",{"title":3280,"path":3281,"stem":3282},"SEC02-J. Do not base security checks on untrusted sources","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F04.sec02-j",{"title":3284,"path":3285,"stem":3286},"SEC03-J. Do not load trusted classes after allowing untrusted code to load arbitrary classes","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F05.sec03-j",{"title":3288,"path":3289,"stem":3290},"SEC04-J. Protect sensitive operations with security manager checks","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F06.sec04-j",{"title":3292,"path":3293,"stem":3294},"SEC05-J. Do not use reflection to increase accessibility of classes, methods, or fields","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F07.sec05-j",{"title":3296,"path":3297,"stem":3298},"SEC06-J. Do not rely on the default automatic signature verification provided by URLClassLoader and java.util.jar","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F08.sec06-j",{"title":3300,"path":3301,"stem":3302},"SEC07-J. Call the superclass's getPermissions() method when writing a custom class loader","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F09.sec07-j",{"title":3304,"path":3305,"stem":3306},"SEC08-J Trusted code must discard or clean any arguments provided by untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F10.sec08-j",{"title":3308,"path":3309,"stem":3310},"SEC09-J Never leak the results of certain standard API methods from trusted code to untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F11.sec09-j",{"title":3312,"path":3313,"stem":3314},"SEC10-J Never permit untrusted code to invoke any API that may (possibly transitively) invoke the reflection APIs","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fplatform-security-sec\u002Fsec10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F15.platform-security-sec\u002F12.sec10-j",{"title":3316,"path":3317,"stem":3318,"children":3319},"Runtime Environment (ENV)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F1.index",[3320,3321,3325,3329,3333,3343,3347,3351],{"title":3316,"path":3317,"stem":3318},{"title":3322,"path":3323,"stem":3324},"ENV00-J. Do not sign code that performs only unprivileged operations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F2.env00-j",{"title":3326,"path":3327,"stem":3328},"ENV01-J. Place all security-sensitive code in a single JAR and sign and seal it","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F3.env01-j",{"title":3330,"path":3331,"stem":3332},"ENV02-J. Do not trust the values of environment variables","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F4.env02-j",{"title":3334,"path":3335,"stem":3336,"children":3337},"ENV03-J. Do not grant dangerous combinations of permissions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F5.env03-j\u002F1.index",[3338,3339],{"title":3334,"path":3335,"stem":3336},{"title":3340,"path":3341,"stem":3342},"DUMMY ENV03-J","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv03-j\u002Fdummy-env03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F5.env03-j\u002F2.dummy-env03-j",{"title":3344,"path":3345,"stem":3346},"ENV04-J. Do not disable bytecode verification","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F6.env04-j",{"title":3348,"path":3349,"stem":3350},"ENV05-J. Do not deploy an application that can be remotely monitored","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F7.env05-j",{"title":3352,"path":3353,"stem":3354},"ENV06-J. Production code must not contain debugging entry points","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fruntime-environment-env\u002Fenv06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F16.runtime-environment-env\u002F8.env06-j",{"title":3356,"path":3357,"stem":3358,"children":3359},"Serialization (SER)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F01.index",[3360,3361,3365,3369,3373,3377,3381,3385,3389,3393,3397,3401,3405,3409],{"title":3356,"path":3357,"stem":3358},{"title":3362,"path":3363,"stem":3364},"SER00-J. Enable serialization compatibility during class evolution","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F02.ser00-j",{"title":3366,"path":3367,"stem":3368},"SER01-J. Do not deviate from the proper signatures of serialization methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F03.ser01-j",{"title":3370,"path":3371,"stem":3372},"SER02-J. Sign then seal objects before sending them outside a trust boundary","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F04.ser02-j",{"title":3374,"path":3375,"stem":3376},"SER03-J. Do not serialize unencrypted sensitive data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F05.ser03-j",{"title":3378,"path":3379,"stem":3380},"SER04-J. Do not allow serialization and deserialization to bypass the security manager","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F06.ser04-j",{"title":3382,"path":3383,"stem":3384},"SER05-J. Do not serialize instances of inner classes","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F07.ser05-j",{"title":3386,"path":3387,"stem":3388},"SER06-J. Make defensive copies of private mutable components during deserialization","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser06-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F08.ser06-j",{"title":3390,"path":3391,"stem":3392},"SER07-J. Do not use the default serialized form for classes with implementation-defined invariants","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser07-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F09.ser07-j",{"title":3394,"path":3395,"stem":3396},"SER08-J. Minimize privileges before deserializing from a privileged context","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser08-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F10.ser08-j",{"title":3398,"path":3399,"stem":3400},"SER09-J. Do not invoke overridable methods from the readObject() method","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser09-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F11.ser09-j",{"title":3402,"path":3403,"stem":3404},"SER10-J. Avoid memory and resource leaks during serialization","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser10-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F12.ser10-j",{"title":3406,"path":3407,"stem":3408},"SER11-J. Prevent overwriting of externalizable objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser11-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F13.ser11-j",{"title":3410,"path":3411,"stem":3412},"SER12-J. Prevent deserialization of untrusted data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser12-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F14.ser12-j",{"title":3414,"path":3415,"stem":3416,"children":3417},"Thread APIs (THI)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F1.index",[3418,3419,3423,3427,3431,3435,3439],{"title":3414,"path":3415,"stem":3416},{"title":3420,"path":3421,"stem":3422},"THI00-J. Do not invoke Thread.run()","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi\u002Fthi00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F2.thi00-j",{"title":3424,"path":3425,"stem":3426},"THI01-J. Do not invoke ThreadGroup methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi\u002Fthi01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F3.thi01-j",{"title":3428,"path":3429,"stem":3430},"THI02-J. Notify all waiting threads rather than a single thread","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi\u002Fthi02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F4.thi02-j",{"title":3432,"path":3433,"stem":3434},"THI03-J. Always invoke wait() and await() methods inside a loop","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi\u002Fthi03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F5.thi03-j",{"title":3436,"path":3437,"stem":3438},"THI04-J. Ensure that threads performing blocking operations can be terminated","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi\u002Fthi04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F6.thi04-j",{"title":3440,"path":3441,"stem":3442},"THI05-J. Do not use Thread.stop() to terminate threads","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-apis-thi\u002Fthi05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F18.thread-apis-thi\u002F7.thi05-j",{"title":3444,"path":3445,"stem":3446,"children":3447},"Thread Pools (TPS)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-pools-tps","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F19.thread-pools-tps\u002F1.index",[3448,3449,3453,3457,3461,3465],{"title":3444,"path":3445,"stem":3446},{"title":3450,"path":3451,"stem":3452},"TPS00-J. Use thread pools to enable graceful degradation of service during traffic bursts","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-pools-tps\u002Ftps00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F19.thread-pools-tps\u002F2.tps00-j",{"title":3454,"path":3455,"stem":3456},"TPS01-J. Do not execute interdependent tasks in a bounded thread pool","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-pools-tps\u002Ftps01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F19.thread-pools-tps\u002F3.tps01-j",{"title":3458,"path":3459,"stem":3460},"TPS02-J. Ensure that tasks submitted to a thread pool are interruptible","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-pools-tps\u002Ftps02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F19.thread-pools-tps\u002F4.tps02-j",{"title":3462,"path":3463,"stem":3464},"TPS03-J. Ensure that tasks executing in a thread pool do not fail silently","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-pools-tps\u002Ftps03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F19.thread-pools-tps\u002F5.tps03-j",{"title":3466,"path":3467,"stem":3468},"TPS04-J. Ensure ThreadLocal variables are reinitialized when using thread pools","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-pools-tps\u002Ftps04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F19.thread-pools-tps\u002F6.tps04-j",{"title":3470,"path":3471,"stem":3472,"children":3473},"Thread-Safety Miscellaneous (TSM)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F1.index",[3474,3475,3479,3483,3487],{"title":3470,"path":3471,"stem":3472},{"title":3476,"path":3477,"stem":3478},"TSM00-J. Do not override thread-safe methods with methods that are not thread-safe","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm\u002Ftsm00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F2.tsm00-j",{"title":3480,"path":3481,"stem":3482},"TSM01-J. Do not let the this reference escape during object construction","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm\u002Ftsm01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F3.tsm01-j",{"title":3484,"path":3485,"stem":3486},"TSM02-J. Do not use background threads during class initialization","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm\u002Ftsm02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F4.tsm02-j",{"title":3488,"path":3489,"stem":3490},"TSM03-J. Do not publish partially initialized objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm\u002Ftsm03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F5.tsm03-j",{"title":3492,"path":3493,"stem":3494,"children":3495},"Visibility and Atomicity (VNA)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F1.index",[3496,3497,3501,3505,3509,3513,3517],{"title":3492,"path":3493,"stem":3494},{"title":3498,"path":3499,"stem":3500},"VNA00-J. Ensure visibility when accessing shared primitive variables","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna\u002Fvna00-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F2.vna00-j",{"title":3502,"path":3503,"stem":3504},"VNA01-J. Ensure visibility of shared references to immutable objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna\u002Fvna01-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F3.vna01-j",{"title":3506,"path":3507,"stem":3508},"VNA02-J. Ensure that compound operations on shared variables are atomic","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna\u002Fvna02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F4.vna02-j",{"title":3510,"path":3511,"stem":3512},"VNA03-J. Do not assume that a group of calls to independently atomic methods is atomic","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna\u002Fvna03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F5.vna03-j",{"title":3514,"path":3515,"stem":3516},"VNA04-J. Ensure that calls to chained methods are atomic","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna\u002Fvna04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F6.vna04-j",{"title":3518,"path":3519,"stem":3520},"VNA05-J. Ensure atomicity when reading and writing 64-bit values","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fvisibility-and-atomicity-vna\u002Fvna05-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F21.visibility-and-atomicity-vna\u002F7.vna05-j",{"title":3522,"path":3523,"stem":3524,"children":3525},"Recommendations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F01.index",[3526,3527,3540,3558,3611,3636,3665,3686,3719,3752,3813,3838,3879],{"title":3522,"path":3523,"stem":3524},{"title":2703,"path":3528,"stem":3529,"children":3530},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fcharacters-and-strings-str","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F02.characters-and-strings-str\u002F1.index",[3531,3532,3536],{"title":2703,"path":3528,"stem":3529},{"title":3533,"path":3534,"stem":3535},"STR50-J. Use the appropriate method for counting characters in a string","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F02.characters-and-strings-str\u002F2.str50-j",{"title":3537,"path":3538,"stem":3539},"STR51-J. Use the charset encoder and decoder classes when more control over the encoding process is required","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fcharacters-and-strings-str\u002Fstr51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F02.characters-and-strings-str\u002F3.str51-j",{"title":3541,"path":3542,"stem":3543,"children":3544},"Concurrency (CON)","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fconcurrency-con","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F03.concurrency-con\u002F1.index",[3545,3546,3550,3554],{"title":3541,"path":3542,"stem":3543},{"title":3547,"path":3548,"stem":3549},"CON50-J. Do not assume that declaring a reference volatile guarantees safe publication of the members of the referenced object","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fconcurrency-con\u002Fcon50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F03.concurrency-con\u002F2.con50-j",{"title":3551,"path":3552,"stem":3553},"CON51-J. Do not assume that the sleep(), yield(), or getState() methods provide synchronization semantics","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fconcurrency-con\u002Fcon51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F03.concurrency-con\u002F3.con51-j",{"title":3555,"path":3556,"stem":3557},"CON52-J. Document thread-safety and use annotations where applicable","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fconcurrency-con\u002Fcon52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F03.concurrency-con\u002F4.con52-j",{"title":2729,"path":3559,"stem":3560,"children":3561},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F01.index",[3562,3563,3567,3571,3575,3579,3583,3587,3591,3595,3599,3603,3607],{"title":2729,"path":3559,"stem":3560},{"title":3564,"path":3565,"stem":3566},"DCL50-J. Use visually distinct identifiers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F02.dcl50-j",{"title":3568,"path":3569,"stem":3570},"DCL51-J. Do not shadow or obscure identifiers in subscopes","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F03.dcl51-j",{"title":3572,"path":3573,"stem":3574},"DCL52-J. Do not declare more than one variable per declaration","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F04.dcl52-j",{"title":3576,"path":3577,"stem":3578},"DCL53-J. Minimize the scope of variables","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F05.dcl53-j",{"title":3580,"path":3581,"stem":3582},"DCL54-J. Use meaningful symbolic constants to represent literal values in program logic","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F06.dcl54-j",{"title":3584,"path":3585,"stem":3586},"DCL55-J. Properly encode relationships in constant definitions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F07.dcl55-j",{"title":3588,"path":3589,"stem":3590},"DCL56-J. Do not attach significance to the ordinal associated with an enum","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl56-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F08.dcl56-j",{"title":3592,"path":3593,"stem":3594},"DCL57-J. Avoid ambiguous overloading of variable arity methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl57-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F09.dcl57-j",{"title":3596,"path":3597,"stem":3598},"DCL58-J. Enable compile-time type checking of variable arity parameter types","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl58-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F10.dcl58-j",{"title":3600,"path":3601,"stem":3602},"DCL59-J. Do not apply public final to constants whose value might change in later releases","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl59-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F11.dcl59-j",{"title":3604,"path":3605,"stem":3606},"DCL60-J. Avoid cyclic dependencies between packages","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl60-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F12.dcl60-j",{"title":3608,"path":3609,"stem":3610},"DCL61-J. Do not use raw types","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fdeclarations-and-initialization-dcl\u002Fdcl61-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F04.declarations-and-initialization-dcl\u002F13.dcl61-j",{"title":2747,"path":3612,"stem":3613,"children":3614},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexceptional-behavior-err","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F05.exceptional-behavior-err\u002F1.index",[3615,3616,3620,3624,3628,3632],{"title":2747,"path":3612,"stem":3613},{"title":3617,"path":3618,"stem":3619},"ERR50-J. Use exceptions only for exceptional conditions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexceptional-behavior-err\u002Ferr50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F05.exceptional-behavior-err\u002F2.err50-j",{"title":3621,"path":3622,"stem":3623},"ERR51-J. Prefer user-defined exceptions over more general exception types","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexceptional-behavior-err\u002Ferr51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F05.exceptional-behavior-err\u002F3.err51-j",{"title":3625,"path":3626,"stem":3627},"ERR52-J. Avoid in-band error indicators","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexceptional-behavior-err\u002Ferr52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F05.exceptional-behavior-err\u002F4.err52-j",{"title":3629,"path":3630,"stem":3631},"ERR53-J. Try to gracefully recover from system errors","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexceptional-behavior-err\u002Ferr53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F05.exceptional-behavior-err\u002F5.err53-j",{"title":3633,"path":3634,"stem":3635},"ERR54-J. Use a try-with-resources statement to safely handle closeable resources","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexceptional-behavior-err\u002Ferr54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F05.exceptional-behavior-err\u002F6.err54-j",{"title":2793,"path":3637,"stem":3638,"children":3639},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F1.index",[3640,3641,3645,3649,3653,3657,3661],{"title":2793,"path":3637,"stem":3638},{"title":3642,"path":3643,"stem":3644},"EXP50-J. Do not confuse abstract object equality with reference equality","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp\u002Fexp50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F2.exp50-j",{"title":3646,"path":3647,"stem":3648},"EXP51-J. Do not perform assignments in conditional expressions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp\u002Fexp51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F3.exp51-j",{"title":3650,"path":3651,"stem":3652},"EXP52-J. Use braces for the body of an if, for, or while statement","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp\u002Fexp52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F4.exp52-j",{"title":3654,"path":3655,"stem":3656},"EXP53-J. Use parentheses for precedence of operation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp\u002Fexp53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F5.exp53-j",{"title":3658,"path":3659,"stem":3660},"EXP54-J. Understand the differences between bitwise and logical operators","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp\u002Fexp54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F6.exp54-j",{"title":3662,"path":3663,"stem":3664},"EXP55-J. Use the same type for the second and third operands in conditional expressions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fexpressions-exp\u002Fexp55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F06.expressions-exp\u002F7.exp55-j",{"title":2822,"path":3666,"stem":3667,"children":3668},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-output-fio","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F07.input-output-fio\u002F1.index",[3669,3670,3674,3678,3682],{"title":2822,"path":3666,"stem":3667},{"title":3671,"path":3672,"stem":3673},"FIO50-J. Do not make assumptions about file creation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-output-fio\u002Ffio50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F07.input-output-fio\u002F2.fio50-j",{"title":3675,"path":3676,"stem":3677},"FIO51-J. Identify files using multiple file attributes","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-output-fio\u002Ffio51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F07.input-output-fio\u002F3.fio51-j",{"title":3679,"path":3680,"stem":3681},"FIO52-J. Do not store unencrypted sensitive information on the client side","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-output-fio\u002Ffio52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F07.input-output-fio\u002F4.fio52-j",{"title":3683,"path":3684,"stem":3685},"FIO53-J. Use the serialization methods writeUnshared() and readUnshared() with care","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-output-fio\u002Ffio53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F07.input-output-fio\u002F5.fio53-j",{"title":2896,"path":3687,"stem":3688,"children":3689},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F1.index",[3690,3691,3695,3699,3703,3707,3711,3715],{"title":2896,"path":3687,"stem":3688},{"title":3692,"path":3693,"stem":3694},"IDS50-J. Use conservative file naming conventions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F2.ids50-j",{"title":3696,"path":3697,"stem":3698},"IDS51-J. Properly encode or escape output","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F3.ids51-j",{"title":3700,"path":3701,"stem":3702},"IDS52-J. Prevent code injection","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F4.ids52-j",{"title":3704,"path":3705,"stem":3706},"IDS53-J. Prevent XPath Injection","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F5.ids53-j",{"title":3708,"path":3709,"stem":3710},"IDS54-J. Prevent LDAP injection","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F6.ids54-j",{"title":3712,"path":3713,"stem":3714},"IDS55-J. Understand how escape characters are interpreted when strings are loaded","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F7.ids55-j",{"title":3716,"path":3717,"stem":3718},"IDS56-J. Prevent arbitrary file upload","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Finput-validation-and-data-sanitization-ids\u002Fids56-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F08.input-validation-and-data-sanitization-ids\u002F8.ids56-j",{"title":3030,"path":3720,"stem":3721,"children":3722},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F1.index",[3723,3724,3728,3732,3736,3740,3744,3748],{"title":3030,"path":3720,"stem":3721},{"title":3725,"path":3726,"stem":3727},"MET50-J. Avoid ambiguous or confusing uses of overloading","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F2.met50-j",{"title":3729,"path":3730,"stem":3731},"MET51-J. Do not use overloaded methods to differentiate between runtime types","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F3.met51-j",{"title":3733,"path":3734,"stem":3735},"MET52-J. Do not use the clone() method to copy untrusted method parameters","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F4.met52-j",{"title":3737,"path":3738,"stem":3739},"MET53-J. Ensure that the clone() method calls super.clone()","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F5.met53-j",{"title":3741,"path":3742,"stem":3743},"MET54-J. Always provide feedback about the resulting value of a method","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F6.met54-j",{"title":3745,"path":3746,"stem":3747},"MET55-J. Return an empty array or collection instead of a null value for methods that return an array or collection","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F7.met55-j",{"title":3749,"path":3750,"stem":3751},"MET56-J. Do not use Object.equals() to compare cryptographic keys","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmethods-met\u002Fmet56-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F09.methods-met\u002F8.met56-j",{"title":3092,"path":3753,"stem":3754,"children":3755},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F01.index",[3756,3757,3761,3765,3769,3773,3777,3781,3785,3789,3793,3797,3801,3805,3809],{"title":3092,"path":3753,"stem":3754},{"title":3758,"path":3759,"stem":3760},"MSC50-J. Minimize the scope of the @SuppressWarnings annotation","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F02.msc50-j",{"title":3762,"path":3763,"stem":3764},"MSC51-J. Do not place a semicolon immediately following an if, for, or while condition","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F03.msc51-j",{"title":3766,"path":3767,"stem":3768},"MSC52-J. Finish every set of statements associated with a case label with a break statement","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F04.msc52-j",{"title":3770,"path":3771,"stem":3772},"MSC53-J. Carefully design interfaces before releasing them","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F05.msc53-j",{"title":3774,"path":3775,"stem":3776},"MSC54-J. Avoid inadvertent wrapping of loop counters","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F06.msc54-j",{"title":3778,"path":3779,"stem":3780},"MSC55-J. Use comments consistently and in a readable fashion","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F07.msc55-j",{"title":3782,"path":3783,"stem":3784},"MSC56-J. Detect and remove superfluous code and values","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc56-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F08.msc56-j",{"title":3786,"path":3787,"stem":3788},"MSC57-J. Strive for logical completeness","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc57-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F09.msc57-j",{"title":3790,"path":3791,"stem":3792},"MSC58-J. Prefer using iterators over enumerations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc58-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F10.msc58-j",{"title":3794,"path":3795,"stem":3796},"MSC59-J. Limit the lifetime of sensitive data","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc59-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F11.msc59-j",{"title":3798,"path":3799,"stem":3800},"MSC60-J. Do not use assertions to verify the absence of runtime errors","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc60-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F12.msc60-j",{"title":3802,"path":3803,"stem":3804},"MSC61-J. Do not use insecure or weak cryptographic algorithms","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc61-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F13.msc61-j",{"title":3806,"path":3807,"stem":3808},"MSC62-J. Store passwords using a hash function","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc62-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F14.msc62-j",{"title":3810,"path":3811,"stem":3812},"MSC63-J. Ensure that SecureRandom is properly seeded","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fmiscellaneous-msc\u002Fmsc63-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F10.miscellaneous-msc\u002F15.msc63-j",{"title":3146,"path":3814,"stem":3815,"children":3816},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fnumeric-types-and-operations-num","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F11.numeric-types-and-operations-num\u002F1.index",[3817,3818,3822,3826,3830,3834],{"title":3146,"path":3814,"stem":3815},{"title":3819,"path":3820,"stem":3821},"NUM50-J. Convert integers to floating point for floating-point operations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fnumeric-types-and-operations-num\u002Fnum50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F11.numeric-types-and-operations-num\u002F2.num50-j",{"title":3823,"path":3824,"stem":3825},"NUM51-J. Do not assume that the remainder operator always returns a nonnegative result for integral operands","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fnumeric-types-and-operations-num\u002Fnum51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F11.numeric-types-and-operations-num\u002F3.num51-j",{"title":3827,"path":3828,"stem":3829},"NUM52-J. Be aware of numeric promotion behavior","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fnumeric-types-and-operations-num\u002Fnum52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F11.numeric-types-and-operations-num\u002F4.num52-j",{"title":3831,"path":3832,"stem":3833},"NUM53-J. Use the strictfp modifier for floating-point calculation consistency across platforms","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fnumeric-types-and-operations-num\u002Fnum53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F11.numeric-types-and-operations-num\u002F5.num53-j",{"title":3835,"path":3836,"stem":3837},"NUM54-J. Do not use denormalized numbers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fnumeric-types-and-operations-num\u002Fnum54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F11.numeric-types-and-operations-num\u002F6.num54-j",{"title":3204,"path":3839,"stem":3840,"children":3841},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F01.index",[3842,3843,3847,3851,3855,3859,3863,3867,3871,3875],{"title":3204,"path":3839,"stem":3840},{"title":3844,"path":3845,"stem":3846},"OBJ50-J. Never confuse the immutability of a reference with that of the referenced object","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F02.obj50-j",{"title":3848,"path":3849,"stem":3850},"OBJ51-J. Minimize the accessibility of classes and their members","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F03.obj51-j",{"title":3852,"path":3853,"stem":3854},"OBJ52-J. Write garbage-collection-friendly code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F04.obj52-j",{"title":3856,"path":3857,"stem":3858},"OBJ53-J. Do not use direct buffers for short-lived, infrequently used objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F05.obj53-j",{"title":3860,"path":3861,"stem":3862},"OBJ54-J. Do not attempt to help the garbage collector by setting local reference variables to null","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F06.obj54-j",{"title":3864,"path":3865,"stem":3866},"OBJ55-J. Remove short-lived objects from long-lived container objects","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F07.obj55-j",{"title":3868,"path":3869,"stem":3870},"OBJ56-J. Provide sensitive mutable classes with unmodifiable wrappers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj56-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F08.obj56-j",{"title":3872,"path":3873,"stem":3874},"OBJ57-J. Do not rely on methods that can be overridden by untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj57-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F09.obj57-j",{"title":3876,"path":3877,"stem":3878},"OBJ58-J. Limit the extensibility of classes and methods with invariants","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fobject-orientation-obj\u002Fobj58-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F12.object-orientation-obj\u002F10.obj58-j",{"title":3266,"path":3880,"stem":3881,"children":3882},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F01.index",[3883,3884,3888,3892,3896,3900,3904,3908,3912,3916],{"title":3266,"path":3880,"stem":3881},{"title":3885,"path":3886,"stem":3887},"SEC50-J. Avoid granting excess privileges","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec50-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F02.sec50-j",{"title":3889,"path":3890,"stem":3891},"SEC51-J. Minimize privileged code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec51-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F03.sec51-j",{"title":3893,"path":3894,"stem":3895},"SEC52-J. Do not expose methods that use reduced-security checks to untrusted code","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec52-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F04.sec52-j",{"title":3897,"path":3898,"stem":3899},"SEC53-J. Define custom security permissions for fine-grained security","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec53-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F05.sec53-j",{"title":3901,"path":3902,"stem":3903},"SEC54-J. Create a secure sandbox using a security manager","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec54-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F06.sec54-j",{"title":3905,"path":3906,"stem":3907},"SEC55-J. Ensure that security-sensitive methods are called with validated arguments","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec55-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F07.sec55-j",{"title":3909,"path":3910,"stem":3911},"SEC56-J. Do not serialize direct handles to system resources","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec56-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F08.sec56-j",{"title":3913,"path":3914,"stem":3915},"SEC57-J. Do not let untrusted code misuse privileges of callback methods","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec57-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F09.sec57-j",{"title":3917,"path":3918,"stem":3919},"SEC58-J. Deserialization methods should not perform potentially dangerous operations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations\u002Fplatform-security-sec\u002Fsec58-j","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F13.platform-security-sec\u002F10.sec58-j",{"title":3921,"path":3922,"stem":3923,"children":3924},"Back Matter","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F1.index",[3925,3926,3930,3934,3938,3942,4055,4080],{"title":3921,"path":3922,"stem":3923},{"title":3927,"path":3928,"stem":3929},"Rec. AA. References","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frec-aa-references","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F2.rec-aa-references",{"title":3931,"path":3932,"stem":3933},"Rec. BB. Definitions","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frec-bb-definitions","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F3.rec-bb-definitions",{"title":3935,"path":3936,"stem":3937},"Rule AA. References","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F4.rule-aa-references",{"title":3939,"path":3940,"stem":3941},"Rule BB. Glossary","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-bb-glossary","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F5.rule-bb-glossary",{"title":3943,"path":3944,"stem":3945,"children":3946},"Rule or Rec. CC. Analyzers","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F01.index",[3947,3948,3950,3954,3956,3960,3964,3968,3972,3976,3980,3984,3988,3992,3994,3998,4001,4005,4009,4013,4015,4019,4021,4025,4027,4031,4035,4039,4043,4047,4051],{"title":3943,"path":3944,"stem":3945},{"title":2085,"path":2084,"stem":3949},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F02.codesonar",{"title":3951,"path":3952,"stem":3953},"CodeSonar_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fcodesonar_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F03.codesonar_v",{"title":2133,"path":2132,"stem":3955},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F04.coverity",{"title":3957,"path":3958,"stem":3959},"Coverity_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fcoverity_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F05.coverity_v",{"title":3961,"path":3962,"stem":3963},"Eclipse","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Feclipse","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F06.eclipse",{"title":3965,"path":3966,"stem":3967},"Eclipse_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Feclipse_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F07.eclipse_v",{"title":3969,"path":3970,"stem":3971},"Error Prone","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Ferror-prone","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F08.error-prone",{"title":3973,"path":3974,"stem":3975},"Error Prone_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Ferror-prone_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F09.error-prone_v",{"title":3977,"path":3978,"stem":3979},"Findbugs","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Ffindbugs","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F10.findbugs",{"title":3981,"path":3982,"stem":3983},"Findbugs_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Ffindbugs_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F11.findbugs_v",{"title":3985,"path":3986,"stem":3987},"Fortify","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Ffortify","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F12.fortify",{"title":3989,"path":3990,"stem":3991},"Fortify_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Ffortify_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F13.fortify_v",{"title":2244,"path":2243,"stem":3993},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F14.klocwork",{"title":3995,"path":3996,"stem":3997},"Klocwork_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fklocwork_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F15.klocwork_v",{"title":3999,"path":2269,"stem":4000},"Parasoft","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F16.parasoft",{"title":4002,"path":4003,"stem":4004},"Parasoft_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fparasoft_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F17.parasoft_v",{"title":4006,"path":4007,"stem":4008},"Pmd","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fpmd","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F18.pmd",{"title":4010,"path":4011,"stem":4012},"Pmd_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fpmd_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F19.pmd_v",{"title":2292,"path":2291,"stem":4014},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F20.pvs-studio",{"title":4016,"path":4017,"stem":4018},"PVS-Studio_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fpvs-studio_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F21.pvs-studio_v",{"title":2321,"path":2320,"stem":4020},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F22.security-reviewer-static-reviewer",{"title":4022,"path":4023,"stem":4024},"Security Reviewer - Static Reviewer_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fsecurity-reviewer-static-reviewer_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F23.security-reviewer-static-reviewer_v",{"title":2346,"path":2345,"stem":4026},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F24.sonarqube",{"title":4028,"path":4029,"stem":4030},"SonarQube_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fsonarqube_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F25.sonarqube_v",{"title":4032,"path":4033,"stem":4034},"SpotBugs","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fspotbugs","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F26.spotbugs",{"title":4036,"path":4037,"stem":4038},"SpotBugs_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fspotbugs_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F27.spotbugs_v",{"title":4040,"path":4041,"stem":4042},"The Checker Framework","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fthe-checker-framework","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F28.the-checker-framework",{"title":4044,"path":4045,"stem":4046},"The Checker Framework_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fthe-checker-framework_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F29.the-checker-framework_v",{"title":4048,"path":4049,"stem":4050},"ThreadSafe","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fthreadsafe","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F30.threadsafe",{"title":4052,"path":4053,"stem":4054},"ThreadSafe_V","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fthreadsafe_v","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F31.threadsafe_v",{"title":4056,"path":4057,"stem":4058,"children":4059},"Rule or Rec. DD. Related Guidelines","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-dd-related-guidelines","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F7.rule-or-rec-dd-related-guidelines\u002F1.index",[4060,4061,4065,4069,4073,4076],{"title":4056,"path":4057,"stem":4058},{"title":4062,"path":4063,"stem":4064},"2010","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-dd-related-guidelines\u002F2.2010","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F7.rule-or-rec-dd-related-guidelines\u002F2.2010",{"title":4066,"path":4067,"stem":4068},"2013","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-dd-related-guidelines\u002F3.2013","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F7.rule-or-rec-dd-related-guidelines\u002F3.2013",{"title":4070,"path":4071,"stem":4072},"MITRE CAPEC","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-dd-related-guidelines\u002Fmitre-capec","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F7.rule-or-rec-dd-related-guidelines\u002F4.mitre-capec",{"title":2385,"path":4074,"stem":4075},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-dd-related-guidelines\u002Fmitre-cwe","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F7.rule-or-rec-dd-related-guidelines\u002F5.mitre-cwe",{"title":4077,"path":4078,"stem":4079},"SECURE CODING GUIDELINES FOR JAVA SE, VERSION 5.0","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-dd-related-guidelines\u002Fsecure-coding-guidelines-for-java-se-version-50","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F7.rule-or-rec-dd-related-guidelines\u002F6.secure-coding-guidelines-for-java-se-version-50",{"title":4081,"path":4082,"stem":4083},"Rule or Rec. EE. Risk Assessments","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-ee-risk-assessments","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F8.rule-or-rec-ee-risk-assessments",{"title":4085,"path":4086,"stem":4087,"children":4088},"Admin","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fadmin","6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F1.index",[4089,4090,4094,4098,4102,4106],{"title":4085,"path":4086,"stem":4087},{"title":4091,"path":4092,"stem":4093},"All Guidelines with Classification","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fadmin\u002Fall-guidelines-with-classification","6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F2.all-guidelines-with-classification",{"title":4095,"path":4096,"stem":4097},"Normative Guidelines","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fadmin\u002Fnormative-guidelines","6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F3.normative-guidelines",{"title":4099,"path":4100,"stem":4101},"Tech-edit","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fadmin\u002Ftech-edit","6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F4.tech-edit",{"title":4103,"path":4104,"stem":4105},"TODO List","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fadmin\u002Ftodo-list","6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F5.todo-list",{"title":4103,"path":4104,"stem":4107},"6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F6.todo-list",1775657812944]