[{"data":1,"prerenderedAt":3824},["ShallowReactive",2],{"global-navigation":3,"page-\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj11-j":28,"surround-\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj11-j":2258,"sidebar-sei-cert-oracle-coding-standard-for-java":2266},[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":41,"extension":2243,"meta":2244,"navigation":7,"path":2254,"seo":2255,"stem":2256,"__hash__":2257},"content\u002F6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F12.obj11-j.md","OBJ11-J. Be wary of letting constructors throw exceptions",{"type":32,"value":33,"toc":2227},"minimark",[34,38,42,56,69,72,83,122,134,137,204,209,228,720,738,761,772,1172,1189,1193,1196,1226,1233,1239,1281,1288,1294,1298,1319,1332,1338,1472,1476,1483,1680,1683,1691,1700,1703,1707,1710,1801,1805,1812,1832,1835,1839,1842,1903,1908,1911,1991,1995,2030,2034,2058,2062,2200,2203,2223],[35,36,30],"h1",{"id":37},"obj11-j-be-wary-of-letting-constructors-throw-exceptions",[39,40,41],"p",{},"An object is partially initialized if a constructor has begun building the object but has not finished. As long as the object is not fully initialized, it must be hidden from other classes.",[39,43,44,45,50,51,55],{},"Other classes might access a partially initialized object from concurrently running threads. This rule is a specific instance of ",[46,47,49],"a",{"href":48},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm\u002Ftsm01-j","TSM01-J. Do not let the this reference escape during object construction"," but focuses only on single-threaded programs. Multithreaded programs must also comply with ",[46,52,54],{"href":53},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fthread-safety-miscellaneous-tsm\u002Ftsm03-j","TSM03-J. Do not publish partially initialized objects"," .",[39,57,58,59,63,64,68],{},"Some uses of variables require ",[60,61,62],"em",{},"failure atomicity"," . This requirement typically arises when a variable constitutes an aggregation of different objects, for example, a composition-and-forwarding-based approach, as described in ",[46,65,67],{"href":66},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj02-j","OBJ02-J. Preserve dependencies in subclasses when changing superclasses"," . In the absence of failure atomicity, the object can be left in an inconsistent state as a result of partial initialization.",[39,70,71],{},"There are three common approaches to dealing with the problem of partially initialized objects:",[73,74,75],"ul",{},[76,77,78,82],"li",{},[79,80,81],"strong",{},"Exception in constructor."," This approach throws an exception in the object's constructor. Unfortunately, an attacker can maliciously obtain the instance of such an object. For example, an attack that uses the finalizer construct allows an attacker to invoke arbitrary methods within the class, even if the class methods are protected by a security manager.",[73,84,85],{},[76,86,87,90,91,95,96,98,99,102,103,112,113,117,118,121],{},[79,88,89],{},"Final field."," Declaring the variable that is initialized to the object as ",[92,93,94],"code",{},"final"," prevents the object from being partially initialized. The compiler produces a warning when there is a possibility that the variable's object might not be fully initialized. Declaring the variable ",[92,97,94],{}," also guarantees initialization safety in multithreaded code. According to ",[60,100,101],{},"The Java Language Specification"," (JLS), ",[46,104,108,109,111],{"href":105,"rel":106},"http:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002Fspecs\u002Fjls\u002Fse8\u002Fhtml\u002Fjls-17.html#jls-17.5",[107],"nofollow","§17.5, \" ",[92,110,94],{}," Field Semantics\""," [ ",[46,114,116],{"href":115},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-JLS15","JLS 2015"," ], \"An object is considered to be completely initialized when its constructor finishes. A thread that can only see a reference to an object after that object has been completely initialized is guaranteed to see the correctly initialized values for that object's final fields.\" In other words, when a constructor executing in one thread initializes a final field to a known safe value, other threads are unable to see the ",[60,119,120],{},"preinitialized"," values of the object.",[73,123,124],{},[76,125,126,129,130,133],{},[79,127,128],{},"Initialized flag."," This approach allows uninitialized or partially initialized objects to exist in a known failed state; such objects are commonly known as ",[60,131,132],{},"zombie objects"," . This solution is error prone because any access to such a class must first check whether the object has been correctly initialized.",[39,135,136],{},"The following table summarizes these three approaches:",[138,139,140,153],"table",{},[141,142,143],"thead",{},[144,145,146,149,151],"tr",{},[147,148],"th",{},[147,150],{},[147,152],{},[154,155,156,174,185,194],"tbody",{},[144,157,158,164,169],{},[159,160,161],"td",{},[79,162,163],{},"Solution",[159,165,166],{},[79,167,168],{},"Uninitialized Values",[159,170,171],{},[79,172,173],{},"Partially Initialized Objects",[144,175,176,179,182],{},[159,177,178],{},"Exception in constructor",[159,180,181],{},"Prevents",[159,183,184],{},"Does not prevent",[144,186,187,190,192],{},[159,188,189],{},"Final field",[159,191,181],{},[159,193,181],{},[144,195,196,199,202],{},[159,197,198],{},"Initialized flag",[159,200,201],{},"Detects",[159,203,201],{},[205,206,208],"h2",{"id":207},"noncompliant-code-example-finalizer-attack","Noncompliant Code Example (Finalizer Attack)",[39,210,211,212,216,217,220,221,224,225,227],{},"This noncompliant code example, based on an example by Kabutz [ ",[46,213,215],{"href":214},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Kabutz01","Kabutz 2001"," ], defines the constructor of the ",[92,218,219],{},"BankOperations"," class so that it performs social security number (SSN) verification using the method ",[92,222,223],{},"performSSNVerification()"," . The implementation of the ",[92,226,223],{}," method assumes that an attacker does not know the correct SSN and trivially returns false.",[229,230,232],"code-block",{"quality":231},"bad",[233,234,239],"pre",{"className":235,"code":236,"language":237,"meta":238,"style":238},"language-java shiki shiki-themes github-light github-dark monokai","public class BankOperations {\n  public BankOperations() {\n    if (!performSSNVerification()) {\n      throw new SecurityException(\"Access Denied!\");\n    }\n  }\n\n  private boolean performSSNVerification() {\n    return false; \u002F\u002F Returns true if data entered is valid, else false\n                  \u002F\u002F Assume that the attacker always enters an invalid SSN\n  }\n\n  public void greet() {\n    System.out.println(\"Welcome user! You may now use all the features.\");\n  }\n}\n\npublic class Storage {\n  private static BankOperations bop;\n\n  public static void store(BankOperations bo) {\n  \u002F\u002F Store only if it is initialized\n    if (bop == null) {\n      if (bo == null) {\n        System.out.println(\"Invalid object!\");\n        System.exit(1);\n      }\n      bop = bo;\n    }\n  }\n}\n\npublic class UserApp {\n  public static void main(String[] args) {\n    BankOperations bo;\n    try {\n      bo = new BankOperations();\n    } catch (SecurityException ex) { bo = null; }\n\n    Storage.store(bo);\n    System.out.println(\"Proceed with normal logic\");\n  }\n}\n","java","",[92,240,241,261,273,291,313,319,325,331,346,363,369,374,379,392,408,413,419,424,436,450,455,478,484,500,515,530,546,552,564,569,574,579,584,596,621,629,637,652,679,684,696,710,715],{"__ignoreMap":238},[242,243,246,250,253,257],"span",{"class":244,"line":245},"line",1,[242,247,249],{"class":248},"sC2Qs","public",[242,251,252],{"class":248}," class",[242,254,256],{"class":255},"sz2Vg"," BankOperations",[242,258,260],{"class":259},"sMOD_"," {\n",[242,262,264,267,270],{"class":244,"line":263},2,[242,265,266],{"class":248},"  public",[242,268,256],{"class":269},"srTi1",[242,271,272],{"class":259},"() {\n",[242,274,276,279,282,285,288],{"class":244,"line":275},3,[242,277,278],{"class":248},"    if",[242,280,281],{"class":259}," (",[242,283,284],{"class":248},"!",[242,286,287],{"class":269},"performSSNVerification",[242,289,290],{"class":259},"()) {\n",[242,292,294,297,300,303,306,310],{"class":244,"line":293},4,[242,295,296],{"class":248},"      throw",[242,298,299],{"class":248}," new",[242,301,302],{"class":269}," SecurityException",[242,304,305],{"class":259},"(",[242,307,309],{"class":308},"sstjo","\"Access Denied!\"",[242,311,312],{"class":259},");\n",[242,314,316],{"class":244,"line":315},5,[242,317,318],{"class":259},"    }\n",[242,320,322],{"class":244,"line":321},6,[242,323,324],{"class":259},"  }\n",[242,326,328],{"class":244,"line":327},7,[242,329,330],{"emptyLinePlaceholder":7},"\n",[242,332,334,337,341,344],{"class":244,"line":333},8,[242,335,336],{"class":248},"  private",[242,338,340],{"class":339},"sq6CD"," boolean",[242,342,343],{"class":269}," performSSNVerification",[242,345,272],{"class":259},[242,347,349,352,356,359],{"class":244,"line":348},9,[242,350,351],{"class":248},"    return",[242,353,355],{"class":354},"s7F3e"," false",[242,357,358],{"class":259},"; ",[242,360,362],{"class":361},"s8-w5","\u002F\u002F Returns true if data entered is valid, else false\n",[242,364,366],{"class":244,"line":365},10,[242,367,368],{"class":361},"                  \u002F\u002F Assume that the attacker always enters an invalid SSN\n",[242,370,372],{"class":244,"line":371},11,[242,373,324],{"class":259},[242,375,377],{"class":244,"line":376},12,[242,378,330],{"emptyLinePlaceholder":7},[242,380,382,384,387,390],{"class":244,"line":381},13,[242,383,266],{"class":248},[242,385,386],{"class":339}," void",[242,388,389],{"class":269}," greet",[242,391,272],{"class":259},[242,393,395,398,401,403,406],{"class":244,"line":394},14,[242,396,397],{"class":259},"    System.out.",[242,399,400],{"class":269},"println",[242,402,305],{"class":259},[242,404,405],{"class":308},"\"Welcome user! You may now use all the features.\"",[242,407,312],{"class":259},[242,409,411],{"class":244,"line":410},15,[242,412,324],{"class":259},[242,414,416],{"class":244,"line":415},16,[242,417,418],{"class":259},"}\n",[242,420,422],{"class":244,"line":421},17,[242,423,330],{"emptyLinePlaceholder":7},[242,425,427,429,431,434],{"class":244,"line":426},18,[242,428,249],{"class":248},[242,430,252],{"class":248},[242,432,433],{"class":255}," Storage",[242,435,260],{"class":259},[242,437,439,441,444,447],{"class":244,"line":438},19,[242,440,336],{"class":248},[242,442,443],{"class":248}," static",[242,445,256],{"class":446},"sk8M1",[242,448,449],{"class":259}," bop;\n",[242,451,453],{"class":244,"line":452},20,[242,454,330],{"emptyLinePlaceholder":7},[242,456,458,460,462,464,467,469,471,475],{"class":244,"line":457},21,[242,459,266],{"class":248},[242,461,443],{"class":248},[242,463,386],{"class":339},[242,465,466],{"class":269}," store",[242,468,305],{"class":259},[242,470,219],{"class":446},[242,472,474],{"class":473},"sTHNf"," bo",[242,476,477],{"class":259},") {\n",[242,479,481],{"class":244,"line":480},22,[242,482,483],{"class":361},"  \u002F\u002F Store only if it is initialized\n",[242,485,487,489,492,495,498],{"class":244,"line":486},23,[242,488,278],{"class":248},[242,490,491],{"class":259}," (bop ",[242,493,494],{"class":248},"==",[242,496,497],{"class":354}," null",[242,499,477],{"class":259},[242,501,503,506,509,511,513],{"class":244,"line":502},24,[242,504,505],{"class":248},"      if",[242,507,508],{"class":259}," (bo ",[242,510,494],{"class":248},[242,512,497],{"class":354},[242,514,477],{"class":259},[242,516,518,521,523,525,528],{"class":244,"line":517},25,[242,519,520],{"class":259},"        System.out.",[242,522,400],{"class":269},[242,524,305],{"class":259},[242,526,527],{"class":308},"\"Invalid object!\"",[242,529,312],{"class":259},[242,531,533,536,539,541,544],{"class":244,"line":532},26,[242,534,535],{"class":259},"        System.",[242,537,538],{"class":269},"exit",[242,540,305],{"class":259},[242,542,543],{"class":354},"1",[242,545,312],{"class":259},[242,547,549],{"class":244,"line":548},27,[242,550,551],{"class":259},"      }\n",[242,553,555,558,561],{"class":244,"line":554},28,[242,556,557],{"class":259},"      bop ",[242,559,560],{"class":248},"=",[242,562,563],{"class":259}," bo;\n",[242,565,567],{"class":244,"line":566},29,[242,568,318],{"class":259},[242,570,572],{"class":244,"line":571},30,[242,573,324],{"class":259},[242,575,577],{"class":244,"line":576},31,[242,578,418],{"class":259},[242,580,582],{"class":244,"line":581},32,[242,583,330],{"emptyLinePlaceholder":7},[242,585,587,589,591,594],{"class":244,"line":586},33,[242,588,249],{"class":248},[242,590,252],{"class":248},[242,592,593],{"class":255}," UserApp",[242,595,260],{"class":259},[242,597,599,601,603,605,608,610,613,616,619],{"class":244,"line":598},34,[242,600,266],{"class":248},[242,602,443],{"class":248},[242,604,386],{"class":339},[242,606,607],{"class":269}," main",[242,609,305],{"class":259},[242,611,612],{"class":339},"String",[242,614,615],{"class":259},"[] ",[242,617,618],{"class":473},"args",[242,620,477],{"class":259},[242,622,624,627],{"class":244,"line":623},35,[242,625,626],{"class":446},"    BankOperations",[242,628,563],{"class":259},[242,630,632,635],{"class":244,"line":631},36,[242,633,634],{"class":248},"    try",[242,636,260],{"class":259},[242,638,640,643,645,647,649],{"class":244,"line":639},37,[242,641,642],{"class":259},"      bo ",[242,644,560],{"class":248},[242,646,299],{"class":248},[242,648,256],{"class":269},[242,650,651],{"class":259},"();\n",[242,653,655,658,661,663,666,669,672,674,676],{"class":244,"line":654},38,[242,656,657],{"class":259},"    } ",[242,659,660],{"class":248},"catch",[242,662,281],{"class":259},[242,664,665],{"class":446},"SecurityException",[242,667,668],{"class":473}," ex",[242,670,671],{"class":259},") { bo ",[242,673,560],{"class":248},[242,675,497],{"class":354},[242,677,678],{"class":259},"; }\n",[242,680,682],{"class":244,"line":681},39,[242,683,330],{"emptyLinePlaceholder":7},[242,685,687,690,693],{"class":244,"line":686},40,[242,688,689],{"class":259},"    Storage.",[242,691,692],{"class":269},"store",[242,694,695],{"class":259},"(bo);\n",[242,697,699,701,703,705,708],{"class":244,"line":698},41,[242,700,397],{"class":259},[242,702,400],{"class":269},[242,704,305],{"class":259},[242,706,707],{"class":308},"\"Proceed with normal logic\"",[242,709,312],{"class":259},[242,711,713],{"class":244,"line":712},42,[242,714,324],{"class":259},[242,716,718],{"class":244,"line":717},43,[242,719,418],{"class":259},[39,721,722,723,725,726,729,730,732,733,737],{},"The constructor throws a ",[92,724,665],{}," when SSN verification fails. The ",[92,727,728],{},"UserApp"," class appropriately catches this exception and displays an \"Access Denied\" message. However, these precautions fail to prevent a malicious program from invoking methods of the partially initialized class ",[92,731,219],{}," , as shown by the following ",[46,734,736],{"href":735},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-bb-glossary","exploit"," code.",[39,739,740,741,743,744,746,747,749,750,752,753,756,757,55],{},"The goal of the attack is to capture a reference to the partially initialized object of the ",[92,742,219],{}," class. If a malicious subclass catches the ",[92,745,665],{}," thrown by the ",[92,748,219],{}," constructor, it is unable to further exploit the vulnerable code because the new object instance has gone out of scope. Instead, an attacker can exploit this code by extending the ",[92,751,219],{}," class and overriding the ",[92,754,755],{},"finalize()"," method. This attack intentionally violates ",[46,758,760],{"href":759},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fmethods-met\u002Fmet12-j","MET12-J. Do not use finalizers",[39,762,763,764,767,768,771],{},"When the constructor throws an exception, the garbage collector waits to grab the object reference. However, the object cannot be garbage-collected until ",[60,765,766],{},"after"," the finalizer completes its execution. The attacker's finalizer obtains and stores a reference by using the ",[92,769,770],{},"this"," keyword. Consequently, the attacker can maliciously invoke any instance method on the base class by using the stolen instance reference. This attack can even bypass a check by a security manager.",[229,773,774],{"quality":231},[233,775,777],{"className":235,"code":776,"language":237,"meta":238,"style":238},"public class Interceptor extends BankOperations {\n  private static Interceptor stealInstance = null;\n\n  public static Interceptor get() {\n    try {\n      new Interceptor();\n    } catch (Exception ex) {\u002F* Ignore exception *\u002F}\n    try {\n      synchronized (Interceptor.class) {\n        while (stealInstance == null) {\n          System.gc();\n          Interceptor.class.wait(10);\n        }\n      }\n    } catch (InterruptedException ex) { return null; }\n    return stealInstance;\n  }\n\n  public void finalize() {\n    synchronized (Interceptor.class) {\n      stealInstance = this;\n      Interceptor.class.notify();\n    }\n    System.out.println(\"Stole the instance in finalize of \" + this);\n  }\n}\n\npublic class AttackerApp { \u002F\u002F Invoke class and gain access\n                           \u002F\u002F to the restrictive features\n  public static void main(String[] args) {\n    Interceptor i = Interceptor.get(); \u002F\u002F Stolen instance\n\n    \u002F\u002F Can store the stolen object even though this should have printed\n    \u002F\u002F \"Invalid Object!\"\n    Storage.store(i);\n\n    \u002F\u002F Now invoke any instance method of BankOperations class\n    i.greet();\n\n    UserApp.main(args); \u002F\u002F Invoke the original UserApp\n  }\n}\n",[92,778,779,796,814,818,831,837,846,867,873,881,895,905,920,925,929,952,959,963,967,978,985,998,1008,1012,1030,1034,1038,1042,1057,1062,1082,1104,1108,1113,1118,1127,1131,1136,1146,1150,1164,1168],{"__ignoreMap":238},[242,780,781,783,785,788,791,794],{"class":244,"line":245},[242,782,249],{"class":248},[242,784,252],{"class":248},[242,786,787],{"class":255}," Interceptor",[242,789,790],{"class":248}," extends",[242,792,256],{"class":793},"s30JN",[242,795,260],{"class":259},[242,797,798,800,802,804,807,809,811],{"class":244,"line":263},[242,799,336],{"class":248},[242,801,443],{"class":248},[242,803,787],{"class":446},[242,805,806],{"class":259}," stealInstance ",[242,808,560],{"class":248},[242,810,497],{"class":354},[242,812,813],{"class":259},";\n",[242,815,816],{"class":244,"line":275},[242,817,330],{"emptyLinePlaceholder":7},[242,819,820,822,824,826,829],{"class":244,"line":293},[242,821,266],{"class":248},[242,823,443],{"class":248},[242,825,787],{"class":446},[242,827,828],{"class":269}," get",[242,830,272],{"class":259},[242,832,833,835],{"class":244,"line":315},[242,834,634],{"class":248},[242,836,260],{"class":259},[242,838,839,842,844],{"class":244,"line":321},[242,840,841],{"class":248},"      new",[242,843,787],{"class":269},[242,845,651],{"class":259},[242,847,848,850,852,854,857,859,862,865],{"class":244,"line":327},[242,849,657],{"class":259},[242,851,660],{"class":248},[242,853,281],{"class":259},[242,855,856],{"class":446},"Exception",[242,858,668],{"class":473},[242,860,861],{"class":259},") {",[242,863,864],{"class":361},"\u002F* Ignore exception *\u002F",[242,866,418],{"class":259},[242,868,869,871],{"class":244,"line":333},[242,870,634],{"class":248},[242,872,260],{"class":259},[242,874,875,878],{"class":244,"line":348},[242,876,877],{"class":248},"      synchronized",[242,879,880],{"class":259}," (Interceptor.class) {\n",[242,882,883,886,889,891,893],{"class":244,"line":365},[242,884,885],{"class":248},"        while",[242,887,888],{"class":259}," (stealInstance ",[242,890,494],{"class":248},[242,892,497],{"class":354},[242,894,477],{"class":259},[242,896,897,900,903],{"class":244,"line":371},[242,898,899],{"class":259},"          System.",[242,901,902],{"class":269},"gc",[242,904,651],{"class":259},[242,906,907,910,913,915,918],{"class":244,"line":376},[242,908,909],{"class":259},"          Interceptor.class.",[242,911,912],{"class":269},"wait",[242,914,305],{"class":259},[242,916,917],{"class":354},"10",[242,919,312],{"class":259},[242,921,922],{"class":244,"line":381},[242,923,924],{"class":259},"        }\n",[242,926,927],{"class":244,"line":394},[242,928,551],{"class":259},[242,930,931,933,935,937,940,942,945,948,950],{"class":244,"line":410},[242,932,657],{"class":259},[242,934,660],{"class":248},[242,936,281],{"class":259},[242,938,939],{"class":446},"InterruptedException",[242,941,668],{"class":473},[242,943,944],{"class":259},") { ",[242,946,947],{"class":248},"return",[242,949,497],{"class":354},[242,951,678],{"class":259},[242,953,954,956],{"class":244,"line":415},[242,955,351],{"class":248},[242,957,958],{"class":259}," stealInstance;\n",[242,960,961],{"class":244,"line":421},[242,962,324],{"class":259},[242,964,965],{"class":244,"line":426},[242,966,330],{"emptyLinePlaceholder":7},[242,968,969,971,973,976],{"class":244,"line":438},[242,970,266],{"class":248},[242,972,386],{"class":339},[242,974,975],{"class":269}," finalize",[242,977,272],{"class":259},[242,979,980,983],{"class":244,"line":452},[242,981,982],{"class":248},"    synchronized",[242,984,880],{"class":259},[242,986,987,990,992,996],{"class":244,"line":457},[242,988,989],{"class":259},"      stealInstance ",[242,991,560],{"class":248},[242,993,995],{"class":994},"sP7S_"," this",[242,997,813],{"class":259},[242,999,1000,1003,1006],{"class":244,"line":480},[242,1001,1002],{"class":259},"      Interceptor.class.",[242,1004,1005],{"class":269},"notify",[242,1007,651],{"class":259},[242,1009,1010],{"class":244,"line":486},[242,1011,318],{"class":259},[242,1013,1014,1016,1018,1020,1023,1026,1028],{"class":244,"line":502},[242,1015,397],{"class":259},[242,1017,400],{"class":269},[242,1019,305],{"class":259},[242,1021,1022],{"class":308},"\"Stole the instance in finalize of \"",[242,1024,1025],{"class":248}," +",[242,1027,995],{"class":994},[242,1029,312],{"class":259},[242,1031,1032],{"class":244,"line":517},[242,1033,324],{"class":259},[242,1035,1036],{"class":244,"line":532},[242,1037,418],{"class":259},[242,1039,1040],{"class":244,"line":548},[242,1041,330],{"emptyLinePlaceholder":7},[242,1043,1044,1046,1048,1051,1054],{"class":244,"line":554},[242,1045,249],{"class":248},[242,1047,252],{"class":248},[242,1049,1050],{"class":255}," AttackerApp",[242,1052,1053],{"class":259}," { ",[242,1055,1056],{"class":361},"\u002F\u002F Invoke class and gain access\n",[242,1058,1059],{"class":244,"line":566},[242,1060,1061],{"class":361},"                           \u002F\u002F to the restrictive features\n",[242,1063,1064,1066,1068,1070,1072,1074,1076,1078,1080],{"class":244,"line":571},[242,1065,266],{"class":248},[242,1067,443],{"class":248},[242,1069,386],{"class":339},[242,1071,607],{"class":269},[242,1073,305],{"class":259},[242,1075,612],{"class":339},[242,1077,615],{"class":259},[242,1079,618],{"class":473},[242,1081,477],{"class":259},[242,1083,1084,1087,1090,1092,1095,1098,1101],{"class":244,"line":576},[242,1085,1086],{"class":446},"    Interceptor",[242,1088,1089],{"class":259}," i ",[242,1091,560],{"class":248},[242,1093,1094],{"class":259}," Interceptor.",[242,1096,1097],{"class":269},"get",[242,1099,1100],{"class":259},"(); ",[242,1102,1103],{"class":361},"\u002F\u002F Stolen instance\n",[242,1105,1106],{"class":244,"line":581},[242,1107,330],{"emptyLinePlaceholder":7},[242,1109,1110],{"class":244,"line":586},[242,1111,1112],{"class":361},"    \u002F\u002F Can store the stolen object even though this should have printed\n",[242,1114,1115],{"class":244,"line":598},[242,1116,1117],{"class":361},"    \u002F\u002F \"Invalid Object!\"\n",[242,1119,1120,1122,1124],{"class":244,"line":623},[242,1121,689],{"class":259},[242,1123,692],{"class":269},[242,1125,1126],{"class":259},"(i);\n",[242,1128,1129],{"class":244,"line":631},[242,1130,330],{"emptyLinePlaceholder":7},[242,1132,1133],{"class":244,"line":639},[242,1134,1135],{"class":361},"    \u002F\u002F Now invoke any instance method of BankOperations class\n",[242,1137,1138,1141,1144],{"class":244,"line":654},[242,1139,1140],{"class":259},"    i.",[242,1142,1143],{"class":269},"greet",[242,1145,651],{"class":259},[242,1147,1148],{"class":244,"line":681},[242,1149,330],{"emptyLinePlaceholder":7},[242,1151,1152,1155,1158,1161],{"class":244,"line":686},[242,1153,1154],{"class":259},"    UserApp.",[242,1156,1157],{"class":269},"main",[242,1159,1160],{"class":259},"(args); ",[242,1162,1163],{"class":361},"\u002F\u002F Invoke the original UserApp\n",[242,1165,1166],{"class":244,"line":698},[242,1167,324],{"class":259},[242,1169,1170],{"class":244,"line":712},[242,1171,418],{"class":259},[39,1173,1174,1175,1179,1180,1184,1185,1188],{},"Compliance with ",[46,1176,1178],{"href":1177},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr00-j","ERR00-J. Do not suppress or ignore checked exceptions"," and ",[46,1181,1183],{"href":1182},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexceptional-behavior-err\u002Ferr03-j","ERR03-J. Restore prior object state on method failure"," can help to ensure that fields are appropriately initialized in catch blocks. A developer who explicitly initializes the variable to ",[92,1186,1187],{},"null"," is more likely to document this behavior so that other programmers or clients include the appropriate null reference checks where required. Moreover, this approach guarantees initialization safety in a multithreaded scenario.",[205,1190,1192],{"id":1191},"compliant-solution-final","Compliant Solution (Final)",[39,1194,1195],{},"This compliant solution declares the partially initialized class final so that it cannot be extended:",[229,1197,1199],{"quality":1198},"good",[233,1200,1202],{"className":235,"code":1201,"language":237,"meta":238,"style":238},"public final class BankOperations {\n  \u002F\u002F ...\n}\n",[92,1203,1204,1217,1222],{"__ignoreMap":238},[242,1205,1206,1208,1211,1213,1215],{"class":244,"line":245},[242,1207,249],{"class":248},[242,1209,1210],{"class":248}," final",[242,1212,252],{"class":248},[242,1214,256],{"class":255},[242,1216,260],{"class":259},[242,1218,1219],{"class":244,"line":263},[242,1220,1221],{"class":361},"  \u002F\u002F ...\n",[242,1223,1224],{"class":244,"line":275},[242,1225,418],{"class":259},[205,1227,1229,1230,1232],{"id":1228},"compliant-solution-final-finalize","Compliant Solution (Final ",[92,1231,755],{}," )",[39,1234,1235,1236,1238],{},"If the class itself cannot be declared final, it can still thwart the finalizer attack by declaring its own ",[92,1237,755],{}," method and making it final:",[229,1240,1241],{"quality":1198},[233,1242,1244],{"className":235,"code":1243,"language":237,"meta":238,"style":238},"public class BankOperations {\n  public final void finalize() {\n    \u002F\u002F Do nothing\n  }\n}\n",[92,1245,1246,1256,1268,1273,1277],{"__ignoreMap":238},[242,1247,1248,1250,1252,1254],{"class":244,"line":245},[242,1249,249],{"class":248},[242,1251,252],{"class":248},[242,1253,256],{"class":255},[242,1255,260],{"class":259},[242,1257,1258,1260,1262,1264,1266],{"class":244,"line":263},[242,1259,266],{"class":248},[242,1261,1210],{"class":248},[242,1263,386],{"class":339},[242,1265,975],{"class":269},[242,1267,272],{"class":259},[242,1269,1270],{"class":244,"line":275},[242,1271,1272],{"class":361},"    \u002F\u002F Do nothing\n",[242,1274,1275],{"class":244,"line":293},[242,1276,324],{"class":259},[242,1278,1279],{"class":244,"line":315},[242,1280,418],{"class":259},[39,1282,1283,1284,1287],{},"This solution is allowed under exception ",[46,1285,1286],{"href":759},"MET12-J"," -EX1, which permits a class to use an empty final finalizer to prevent a finalizer attack.",[39,1289,1290],{},[1291,1292],"img",{"alt":238,"src":1293},"plugins\u002Fservlet\u002Fconfluence\u002Fplaceholder\u002Funknown-macro",[205,1295,1297],{"id":1296},"compliant-solution-java-se-6-public-and-private-constructors","Compliant Solution (Java SE 6, Public and Private Constructors)",[39,1299,1300,1301,1304,1305,1309,1310,1312,1313,1315,1316,1318],{},"This compliant solution applies to Java SE 6 and later versions in which the JVM will not execute an object's finalizer if the object's constructor throws an exception before the ",[92,1302,1303],{},"java.lang.Object"," constructor exits [ ",[46,1306,1308],{"href":1307},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-SCG09","SCG 2009"," ]. Developers can use this feature to throw an exception in a constructor without risking the escape of a partially initialized object (via the finalizer attack described previously). However, doing so requires a careful coding of the constructor because Java ensures that the ",[92,1311,1303],{}," constructor executes on or before the first statement of any constructor. If the first statement in a constructor is a call to either a superclass's constructor or another constructor in the same class, then the ",[92,1314,1303],{}," constructor will be executed somewhere in that call. Otherwise, Java will execute the default constructor of the superclass before any of the constructor's code and the ",[92,1317,1303],{}," constructor will be executed through that (implicit) invocation.",[39,1320,1321,1322,1325,1326,1328,1329,1331],{},"Consequently, to execute potentially exception-raising checks ",[60,1323,1324],{},"before"," the ",[92,1327,1303],{}," constructor exits, the programmer must place them in an argument expression of an explicit constructor invocation. For example, the single constructor can be split into three parts: a public constructor whose interface remains unchanged, a private constructor that takes (at least) one argument and performs the actual work of the original constructor, and a method that performs the checks. The public constructor invokes the private constructor on its first line while invoking the method as an argument expression. All code in the expression will be executed before the private constructor, ensuring that any exceptions will be raised before the ",[92,1330,1303],{}," constructor is invoked.",[39,1333,1334,1335,1337],{},"This compliant solution demonstrates the design. Note that the ",[92,1336,223],{}," method is modified to throw an exception rather than returning false if the security check fails.",[229,1339,1340],{"quality":1198},[233,1341,1343],{"className":235,"code":1342,"language":237,"meta":238,"style":238},"public class BankOperations {\n  public BankOperations() {\n    this(performSSNVerification());\n  }\n\n  private BankOperations(boolean secure) {\n    \u002F\u002F secure is always true\n    \u002F\u002F Constructor without any security checks\n  }\n\n  private static boolean performSSNVerification() {\n    \u002F\u002F Returns true if data entered is valid, else throws a SecurityException\n    \u002F\u002F Assume that the attacker just enters invalid SSN, so this method always throws the exception\n    throw new SecurityException(\"Invalid SSN!\");\n  }\n\n  \u002F\u002F ...remainder of BankOperations class definition\n}\n",[92,1344,1345,1355,1363,1375,1379,1383,1399,1404,1409,1413,1417,1429,1434,1439,1455,1459,1463,1468],{"__ignoreMap":238},[242,1346,1347,1349,1351,1353],{"class":244,"line":245},[242,1348,249],{"class":248},[242,1350,252],{"class":248},[242,1352,256],{"class":255},[242,1354,260],{"class":259},[242,1356,1357,1359,1361],{"class":244,"line":263},[242,1358,266],{"class":248},[242,1360,256],{"class":269},[242,1362,272],{"class":259},[242,1364,1365,1368,1370,1372],{"class":244,"line":275},[242,1366,1367],{"class":994},"    this",[242,1369,305],{"class":259},[242,1371,287],{"class":269},[242,1373,1374],{"class":259},"());\n",[242,1376,1377],{"class":244,"line":293},[242,1378,324],{"class":259},[242,1380,1381],{"class":244,"line":315},[242,1382,330],{"emptyLinePlaceholder":7},[242,1384,1385,1387,1389,1391,1394,1397],{"class":244,"line":321},[242,1386,336],{"class":248},[242,1388,256],{"class":269},[242,1390,305],{"class":259},[242,1392,1393],{"class":339},"boolean",[242,1395,1396],{"class":473}," secure",[242,1398,477],{"class":259},[242,1400,1401],{"class":244,"line":327},[242,1402,1403],{"class":361},"    \u002F\u002F secure is always true\n",[242,1405,1406],{"class":244,"line":333},[242,1407,1408],{"class":361},"    \u002F\u002F Constructor without any security checks\n",[242,1410,1411],{"class":244,"line":348},[242,1412,324],{"class":259},[242,1414,1415],{"class":244,"line":365},[242,1416,330],{"emptyLinePlaceholder":7},[242,1418,1419,1421,1423,1425,1427],{"class":244,"line":371},[242,1420,336],{"class":248},[242,1422,443],{"class":248},[242,1424,340],{"class":339},[242,1426,343],{"class":269},[242,1428,272],{"class":259},[242,1430,1431],{"class":244,"line":376},[242,1432,1433],{"class":361},"    \u002F\u002F Returns true if data entered is valid, else throws a SecurityException\n",[242,1435,1436],{"class":244,"line":381},[242,1437,1438],{"class":361},"    \u002F\u002F Assume that the attacker just enters invalid SSN, so this method always throws the exception\n",[242,1440,1441,1444,1446,1448,1450,1453],{"class":244,"line":394},[242,1442,1443],{"class":248},"    throw",[242,1445,299],{"class":248},[242,1447,302],{"class":269},[242,1449,305],{"class":259},[242,1451,1452],{"class":308},"\"Invalid SSN!\"",[242,1454,312],{"class":259},[242,1456,1457],{"class":244,"line":410},[242,1458,324],{"class":259},[242,1460,1461],{"class":244,"line":415},[242,1462,330],{"emptyLinePlaceholder":7},[242,1464,1465],{"class":244,"line":421},[242,1466,1467],{"class":361},"  \u002F\u002F ...remainder of BankOperations class definition\n",[242,1469,1470],{"class":244,"line":426},[242,1471,418],{"class":259},[205,1473,1475],{"id":1474},"compliant-solution-initialized-flag","Compliant Solution (Initialized Flag)",[39,1477,1478,1479,1482],{},"Rather than throwing an exception, this compliant solution uses an ",[60,1480,1481],{},"initialized flag"," to indicate whether an object was successfully constructed. The flag is initialized to false and set to true when the constructor finishes successfully.",[229,1484,1485],{"quality":1198},[233,1486,1488],{"className":235,"code":1487,"language":237,"meta":238,"style":238},"class BankOperations {\n  private volatile boolean initialized = false;\n\n  public BankOperations() {\n    if (!performSSNVerification()) {\n      return;                \u002F\u002F object construction failed\n    }\n\n    this.initialized = true; \u002F\u002F Object construction successful\n  }\n\n  private boolean performSSNVerification() {\n    return false;\n  }\n\n  public void greet() {\n    if (!this.initialized) {\n      throw new SecurityException(\"Invalid SSN!\");\n    }\n\n    System.out.println(\n        \"Welcome user! You may now use all the features.\");\n  }\n}\n",[92,1489,1490,1499,1517,1521,1529,1541,1552,1556,1560,1577,1581,1585,1595,1603,1607,1611,1621,1634,1648,1652,1656,1665,1672,1676],{"__ignoreMap":238},[242,1491,1492,1495,1497],{"class":244,"line":245},[242,1493,1494],{"class":248},"class",[242,1496,256],{"class":255},[242,1498,260],{"class":259},[242,1500,1501,1503,1506,1508,1511,1513,1515],{"class":244,"line":263},[242,1502,336],{"class":248},[242,1504,1505],{"class":248}," volatile",[242,1507,340],{"class":339},[242,1509,1510],{"class":259}," initialized ",[242,1512,560],{"class":248},[242,1514,355],{"class":354},[242,1516,813],{"class":259},[242,1518,1519],{"class":244,"line":275},[242,1520,330],{"emptyLinePlaceholder":7},[242,1522,1523,1525,1527],{"class":244,"line":293},[242,1524,266],{"class":248},[242,1526,256],{"class":269},[242,1528,272],{"class":259},[242,1530,1531,1533,1535,1537,1539],{"class":244,"line":315},[242,1532,278],{"class":248},[242,1534,281],{"class":259},[242,1536,284],{"class":248},[242,1538,287],{"class":269},[242,1540,290],{"class":259},[242,1542,1543,1546,1549],{"class":244,"line":321},[242,1544,1545],{"class":248},"      return",[242,1547,1548],{"class":259},";                ",[242,1550,1551],{"class":361},"\u002F\u002F object construction failed\n",[242,1553,1554],{"class":244,"line":327},[242,1555,318],{"class":259},[242,1557,1558],{"class":244,"line":333},[242,1559,330],{"emptyLinePlaceholder":7},[242,1561,1562,1564,1567,1569,1572,1574],{"class":244,"line":348},[242,1563,1367],{"class":994},[242,1565,1566],{"class":259},".initialized ",[242,1568,560],{"class":248},[242,1570,1571],{"class":354}," true",[242,1573,358],{"class":259},[242,1575,1576],{"class":361},"\u002F\u002F Object construction successful\n",[242,1578,1579],{"class":244,"line":365},[242,1580,324],{"class":259},[242,1582,1583],{"class":244,"line":371},[242,1584,330],{"emptyLinePlaceholder":7},[242,1586,1587,1589,1591,1593],{"class":244,"line":376},[242,1588,336],{"class":248},[242,1590,340],{"class":339},[242,1592,343],{"class":269},[242,1594,272],{"class":259},[242,1596,1597,1599,1601],{"class":244,"line":381},[242,1598,351],{"class":248},[242,1600,355],{"class":354},[242,1602,813],{"class":259},[242,1604,1605],{"class":244,"line":394},[242,1606,324],{"class":259},[242,1608,1609],{"class":244,"line":410},[242,1610,330],{"emptyLinePlaceholder":7},[242,1612,1613,1615,1617,1619],{"class":244,"line":415},[242,1614,266],{"class":248},[242,1616,386],{"class":339},[242,1618,389],{"class":269},[242,1620,272],{"class":259},[242,1622,1623,1625,1627,1629,1631],{"class":244,"line":421},[242,1624,278],{"class":248},[242,1626,281],{"class":259},[242,1628,284],{"class":248},[242,1630,770],{"class":994},[242,1632,1633],{"class":259},".initialized) {\n",[242,1635,1636,1638,1640,1642,1644,1646],{"class":244,"line":426},[242,1637,296],{"class":248},[242,1639,299],{"class":248},[242,1641,302],{"class":269},[242,1643,305],{"class":259},[242,1645,1452],{"class":308},[242,1647,312],{"class":259},[242,1649,1650],{"class":244,"line":438},[242,1651,318],{"class":259},[242,1653,1654],{"class":244,"line":452},[242,1655,330],{"emptyLinePlaceholder":7},[242,1657,1658,1660,1662],{"class":244,"line":457},[242,1659,397],{"class":259},[242,1661,400],{"class":269},[242,1663,1664],{"class":259},"(\n",[242,1666,1667,1670],{"class":244,"line":480},[242,1668,1669],{"class":308},"        \"Welcome user! You may now use all the features.\"",[242,1671,312],{"class":259},[242,1673,1674],{"class":244,"line":486},[242,1675,324],{"class":259},[242,1677,1678],{"class":244,"line":502},[242,1679,418],{"class":259},[39,1681,1682],{},"The initialized flag prevents any attempt to access the object's methods if the object is not fully constructed. Because each method must check the initialized flag to detect a partially constructed object, this solution imposes a speed penalty on the program. It is also harder to maintain because it is easy for a maintainer to add a method that fails to check the initialized flag.",[39,1684,1685,1686,1690],{},"According to Charlie Lai [ ",[46,1687,1689],{"href":1688},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Lai08","Lai 2008"," ]:",[1692,1693,1694],"blockquote",{},[39,1695,1696,1697,1699],{},"If an object is only partially initialized, its internal fields likely contain safe default values such as ",[92,1698,1187],{}," . Even in an untrusted environment, such an object is unlikely to be useful to an attacker. If the developer deems the partially initialized object state secure, then the developer doesn't have to pollute the class with the flag. The flag is necessary only when such a state isn't secure or when accessible methods in the class perform sensitive operations without referencing any internal field.",[39,1701,1702],{},"The initialized flag is volatile to ensure that the setting of the flag to true happens-before any reads of the variable. The current code does not allow for multiple threads to read the field before the constructor terminates, but this object could always be subclassed and run in an environment where multiple threads can access the variable.",[205,1704,1706],{"id":1705},"noncompliant-code-example-static-variable","Noncompliant Code Example (Static Variable)",[39,1708,1709],{},"This noncompliant code example uses a nonfinal static variable. The JLS does not mandate complete initialization and safe publication even though a static initializer has been used. Note that in the event of an exception during initialization, the variable can be incorrectly initialized.",[229,1711,1712],{"quality":231},[233,1713,1715],{"className":235,"code":1714,"language":237,"meta":238,"style":238},"class Trade {\n  private static Stock s;\n  static {\n    try {\n      s = new Stock();\n    } catch (IOException e) {\n      \u002F* Does not initialize s to a safe state *\u002F\n    }\n  }\n  \u002F\u002F ...\n}\n",[92,1716,1717,1726,1738,1745,1751,1764,1780,1785,1789,1793,1797],{"__ignoreMap":238},[242,1718,1719,1721,1724],{"class":244,"line":245},[242,1720,1494],{"class":248},[242,1722,1723],{"class":255}," Trade",[242,1725,260],{"class":259},[242,1727,1728,1730,1732,1735],{"class":244,"line":263},[242,1729,336],{"class":248},[242,1731,443],{"class":248},[242,1733,1734],{"class":446}," Stock",[242,1736,1737],{"class":259}," s;\n",[242,1739,1740,1743],{"class":244,"line":275},[242,1741,1742],{"class":248},"  static",[242,1744,260],{"class":259},[242,1746,1747,1749],{"class":244,"line":293},[242,1748,634],{"class":248},[242,1750,260],{"class":259},[242,1752,1753,1756,1758,1760,1762],{"class":244,"line":315},[242,1754,1755],{"class":259},"      s ",[242,1757,560],{"class":248},[242,1759,299],{"class":248},[242,1761,1734],{"class":269},[242,1763,651],{"class":259},[242,1765,1766,1768,1770,1772,1775,1778],{"class":244,"line":321},[242,1767,657],{"class":259},[242,1769,660],{"class":248},[242,1771,281],{"class":259},[242,1773,1774],{"class":446},"IOException",[242,1776,1777],{"class":473}," e",[242,1779,477],{"class":259},[242,1781,1782],{"class":244,"line":327},[242,1783,1784],{"class":361},"      \u002F* Does not initialize s to a safe state *\u002F\n",[242,1786,1787],{"class":244,"line":333},[242,1788,318],{"class":259},[242,1790,1791],{"class":244,"line":348},[242,1792,324],{"class":259},[242,1794,1795],{"class":244,"line":365},[242,1796,1221],{"class":361},[242,1798,1799],{"class":244,"line":371},[242,1800,418],{"class":259},[205,1802,1804],{"id":1803},"compliant-solution-final-static-variable","Compliant Solution (Final Static Variable)",[39,1806,1807,1808,1811],{},"This compliant solution guarantees safe publication by declaring the ",[92,1809,1810],{},"Stock"," field final:",[229,1813,1814],{"quality":1198},[233,1815,1817],{"className":235,"code":1816,"language":237,"meta":238,"style":238},"private static final Stock s;\n",[92,1818,1819],{"__ignoreMap":238},[242,1820,1821,1824,1826,1828,1830],{"class":244,"line":245},[242,1822,1823],{"class":248},"private",[242,1825,443],{"class":248},[242,1827,1210],{"class":248},[242,1829,1734],{"class":446},[242,1831,1737],{"class":259},[39,1833,1834],{},"Unlike the previous compliant solution, however, this approach permits a possibly null value but guarantees that a non-null value refers to a completely initialized object.",[205,1836,1838],{"id":1837},"risk-assessment","Risk Assessment",[39,1840,1841],{},"Allowing access to a partially initialized object can provide an attacker with an opportunity to resurrect the object before or during its finalization; as a result, the attacker can bypass security checks.",[138,1843,1844,1845,1844,1872],{},"\n  ",[141,1846,1847,1848,1844],{},"\n    ",[144,1849,1850,1851,1850,1854,1850,1857,1850,1860,1850,1863,1850,1866,1850,1869,1847],{},"\n      ",[147,1852,1853],{},"Rule",[147,1855,1856],{},"Severity",[147,1858,1859],{},"Likelihood",[147,1861,1862],{},"Detectable",[147,1864,1865],{},"Repairable",[147,1867,1868],{},"Priority",[147,1870,1871],{},"Level",[154,1873,1847,1874,1844],{},[144,1875,1850,1876,1850,1879,1850,1882,1850,1885,1850,1888,1850,1891,1850,1898,1847],{},[159,1877,1878],{},"OBJ11-J",[159,1880,1881],{},"High",[159,1883,1884],{},"Probable",[159,1886,1887],{},"Yes",[159,1889,1890],{},"No",[159,1892,1894],{"style":1893},"color: #e74c3c;",[1895,1896,1897],"b",{},"P12",[159,1899,1900],{"style":1893},[1895,1901,1902],{},"L1",[1904,1905,1907],"h3",{"id":1906},"automated-detection","Automated Detection",[39,1909,1910],{},"Automated detection for this rule is infeasible in the general case. Some instances of nonfinal classes whose constructors can throw exceptions could be straightforward to diagnose.",[138,1912,1915],{"className":1913},[1914],"wrapped",[154,1916,1917,1933,1968],{},[144,1918,1921,1924,1927,1930],{"className":1919},[1920],"header",[147,1922,1923],{},"Tool",[147,1925,1926],{},"Version",[147,1928,1929],{},"Checker",[147,1931,1932],{},"Description",[144,1934,1937,1943,1953,1964],{"className":1935},[1936],"odd",[159,1938,1939],{},[46,1940,1942],{"href":1941},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fklocwork","Klocwork",[159,1944,1945],{},[1946,1947,1950],"div",{"className":1948},[1949],"content-wrapper",[39,1951,1952],{},"2025.2",[159,1954,1955,1958,1961],{},[79,1956,1957],{},"JAVA.CTOR.EXCEPT",[1959,1960],"br",{},[79,1962,1963],{},"JAVA.FINAL.STATIC.VAR",[159,1965,1966],{},[1959,1967],{},[144,1969,1972,1978,1983,1988],{"className":1970},[1971],"even",[159,1973,1974],{},[46,1975,1977],{"href":1976},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fparasoft","Parasoft Jtest",[159,1979,1980],{},[1946,1981,1952],{"className":1982},[1949],[159,1984,1985],{},[79,1986,1987],{},"CERT.OBJ11.EPNFC",[159,1989,1990],{},"Do not throw exceptions from constructors of \"public\" non-\"final\" classes",[1904,1992,1994],{"id":1993},"related-vulnerabilities","Related Vulnerabilities",[39,1996,1997,2002,2003,2007,2008,2011,2012,2015,2016,2019,2020,2022,2023,2025,2026,55],{},[46,1998,2001],{"href":1999,"rel":2000},"https:\u002F\u002Fcve.mitre.org\u002Fcgi-bin\u002Fcvename.cgi?name=CVE-2008-5353",[107],"CVE-2008-5353"," describes a collection of ",[46,2004,2006],{"rel":2005},[107],"vulnerabilities"," in Java. In one of the vulnerabilities, an applet causes an object to be deserialized using ",[92,2009,2010],{},"ObjectInputStream.readObject()"," , but the input is controlled by an attacker. The object actually read is a serializable subclass of ",[92,2013,2014],{},"ClassLoader"," , and it has a ",[92,2017,2018],{},"readObject()"," method that stashes the object instance into a static variable; consequently, the object survives the serialization. As a result, the applet manages to construct a ",[92,2021,2014],{}," object by passing the restrictions against this in an applet, and the ",[92,2024,2014],{}," allows it to construct classes that are not subject to the security restrictions of an applet. This vulnerability is described in depth in ",[46,2027,2029],{"href":2028},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fserialization-ser\u002Fser08-j","SER08-J. Minimize privileges before deserializing from a privileged context",[205,2031,2033],{"id":2032},"related-guidelines","Related Guidelines",[138,2035,2037],{"className":2036},[1914],[154,2038,2039],{},[144,2040,2042,2050],{"className":2041},[1936],[159,2043,2044],{},[39,2045,2046],{},[46,2047,2049],{"href":2048},"http:\u002F\u002Fwww.oracle.com\u002Ftechnetwork\u002Fjava\u002Fseccodeguide-139067.html","Secure Coding Guidelines for Java SE, Version 5.0",[159,2051,2052],{},[39,2053,2054,2055,2057],{},"Guideline 4-5 \u002F EXTEND-5: Limit the extensibility of classes and methods",[1959,2056],{},"\nGuideline 7-3 \u002F OBJECT-3: Defend against partially initialized instances of non-final classes",[205,2059,2061],{"id":2060},"bibliography","Bibliography",[138,2063,2065,2074],{"className":2064},[1914],[2066,2067,2068,2072],"colgroup",{},[2069,2070],"col",{"style":2071},"width: 50%",[2069,2073],{"style":2071},[154,2075,2076,2099,2115,2131,2160,2174,2188],{},[144,2077,2079,2089],{"className":2078},[1936],[159,2080,2081],{},[39,2082,2083,2084,2088],{},"[ ",[46,2085,2087],{"href":2086},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-API06","API 2006"," ]",[159,2090,2091],{},[39,2092,2093],{},[46,2094,2096],{"href":2095},"http:\u002F\u002Fjava.sun.com\u002Fj2se\u002F1.4.2\u002Fdocs\u002Fapi\u002Fjava\u002Flang\u002FObject.html#finalize()",[92,2097,2098],{},"        finalize()       ",[144,2100,2102,2110],{"className":2101},[1971],[159,2103,2104],{},[39,2105,2083,2106,2088],{},[46,2107,2109],{"href":2108},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Darwin04","Darwin 2004",[159,2111,2112],{},[39,2113,2114],{},"Section 9.5, \"The Finalize Method\"",[144,2116,2118,2126],{"className":2117},[1936],[159,2119,2120],{},[39,2121,2083,2122,2088],{},[46,2123,2125],{"href":2124},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-aa-references#RuleAA.References-Flanagan05","Flanagan 2005",[159,2127,2128],{},[39,2129,2130],{},"Section 3.3, \"Destroying and Finalizing Objects\"",[144,2132,2134,2140],{"className":2133},[1971],[159,2135,2136],{},[39,2137,2083,2138,2088],{},[46,2139,116],{"href":115},[159,2141,2142,2155],{},[39,2143,2144,2148,2149],{},[46,2145,2147],{"href":2146},"http:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002Fspecs\u002Fjls\u002Fse8\u002Fhtml\u002Fjls-8.html#jls-8.3.1","§8.3.1, Field Modifiers"," ",[46,2150,2152,2154],{"href":2151},"http:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002Fspecs\u002Fjls\u002Fse8\u002Fhtml\u002Fjls-12.html#jls-12.6",[1959,2153],{},"\n§12.6, Finalization of Class Instances",[46,2156,108,2157,111],{"href":105},[92,2158,2159],{},"       final      ",[144,2161,2163,2169],{"className":2162},[1936],[159,2164,2165],{},[39,2166,2083,2167,2088],{},[46,2168,215],{"href":214},[159,2170,2171],{},[39,2172,2173],{},"Issue 032, \"Exceptional Constructors—Resurrecting the Dead\"",[144,2175,2177,2183],{"className":2176},[1971],[159,2178,2179],{},[39,2180,2083,2181,2088],{},[46,2182,1689],{"href":1688},[159,2184,2185],{},[39,2186,2187],{},"\"Java Insecurity: Accounting for Subtleties That Can Compromise Code\"",[144,2189,2191,2197],{"className":2190},[1936],[159,2192,2083,2193,2088],{},[46,2194,2196],{"href":2195},"https:\u002F\u002Fwww.securecoding.cert.org\u002Fconfluence\u002Fdisplay\u002Fjava\u002FAA.+References#AAReferences-Masson2011","Masson 2011",[159,2198,2199],{},"\"Secure Your Code against the Finalizer Vulnerability\"",[2201,2202],"hr",{},[39,2204,2205,2148,2211,2148,2217],{},[46,2206,2208],{"href":2207},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj10-j",[1291,2209],{"src":2210},"\u002Fattachments\u002F88487702\u002F88497198.png",[46,2212,2214],{"href":2213},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002F",[1291,2215],{"src":2216},"\u002Fattachments\u002F88487702\u002F88497196.png",[46,2218,2220],{"href":2219},"\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj13-j",[1291,2221],{"src":2222},"\u002Fattachments\u002F88487702\u002F88497197.png",[2224,2225,2226],"style",{},"html pre.shiki code .sC2Qs, html code.shiki .sC2Qs{--shiki-default:#D73A49;--shiki-dark:#F97583;--shiki-sepia:#F92672}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 .sMOD_, html code.shiki .sMOD_{--shiki-default:#24292E;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2}html pre.shiki code .srTi1, html code.shiki .srTi1{--shiki-default:#6F42C1;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E}html pre.shiki code .sstjo, html code.shiki .sstjo{--shiki-default:#032F62;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74}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 .s7F3e, html code.shiki .s7F3e{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF}html pre.shiki code .s8-w5, html code.shiki .s8-w5{--shiki-default:#6A737D;--shiki-dark:#6A737D;--shiki-sepia:#88846F}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 .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 .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 .s30JN, html code.shiki .s30JN{--shiki-default:#6F42C1;--shiki-default-font-style:inherit;--shiki-default-text-decoration:inherit;--shiki-dark:#B392F0;--shiki-dark-font-style:inherit;--shiki-dark-text-decoration:inherit;--shiki-sepia:#A6E22E;--shiki-sepia-font-style:italic;--shiki-sepia-text-decoration:underline}html pre.shiki code .sP7S_, html code.shiki .sP7S_{--shiki-default:#005CC5;--shiki-dark:#79B8FF;--shiki-sepia:#FD971F}",{"title":238,"searchDepth":263,"depth":263,"links":2228},[2229,2230,2231,2233,2234,2235,2236,2237,2241,2242],{"id":207,"depth":263,"text":208},{"id":1191,"depth":263,"text":1192},{"id":1228,"depth":263,"text":2232},"Compliant Solution (Final finalize() )",{"id":1296,"depth":263,"text":1297},{"id":1474,"depth":263,"text":1475},{"id":1705,"depth":263,"text":1706},{"id":1803,"depth":263,"text":1804},{"id":1837,"depth":263,"text":1838,"children":2238},[2239,2240],{"id":1906,"depth":275,"text":1907},{"id":1993,"depth":275,"text":1994},{"id":2032,"depth":263,"text":2033},{"id":2060,"depth":263,"text":2061},"md",{"tags":2245},[2246,2247,2248,2249,2250,2251,2252,2253],"android-applicable","obj","deprecated-applet","draft","cwe-362","exportable-c++","analyzable","rule","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fobject-orientation-obj\u002Fobj11-j",{"title":30,"description":41},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F12.obj11-j","KtFfa_Odw8o6bQ8wsIDt9mWCspjdCoRHg3J8jljxk9g",[2259,2262],{"title":2260,"path":2207,"stem":2261,"children":-1},"OBJ10-J. Do not use public static nonfinal fields","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F11.obj10-j",{"title":2263,"path":2264,"stem":2265,"children":-1},"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",[2267],{"title":2268,"path":2269,"stem":2270,"children":2271},"SEI CERT Oracle Coding Standard for Java","\u002Fsei-cert-oracle-coding-standard-for-java","6.sei-cert-oracle-coding-standard-for-java\u002F1.index",[2272,2273,2413,3227,3626,3800],{"title":2268,"path":2269,"stem":2270},{"title":2274,"path":2275,"stem":2276,"children":2277},"Front Matter","\u002Fsei-cert-oracle-coding-standard-for-java\u002Ffront-matter","6.sei-cert-oracle-coding-standard-for-java\u002F2.front-matter\u002F1.index",[2278,2279,2283,2287,2291,2337,2375],{"title":2274,"path":2275,"stem":2276},{"title":2280,"path":2281,"stem":2282},"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":2284,"path":2285,"stem":2286},"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":2288,"path":2289,"stem":2290},"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":2292,"path":2293,"stem":2294,"children":2295},"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",[2296,2297,2301,2305,2309,2313,2317,2321,2325,2329,2333],{"title":2292,"path":2293,"stem":2294},{"title":2298,"path":2299,"stem":2300},"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":2302,"path":2303,"stem":2304},"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":2306,"path":2307,"stem":2308},"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":2310,"path":2311,"stem":2312},"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":2314,"path":2315,"stem":2316},"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":2318,"path":2319,"stem":2320},"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":2322,"path":2323,"stem":2324},"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":2326,"path":2327,"stem":2328},"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":2330,"path":2331,"stem":2332},"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":2334,"path":2335,"stem":2336},"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":2338,"path":2339,"stem":2340,"children":2341},"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",[2342,2343,2347,2351,2355,2359,2363,2367,2371],{"title":2338,"path":2339,"stem":2340},{"title":2344,"path":2345,"stem":2346},"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":2348,"path":2349,"stem":2350},"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":2352,"path":2353,"stem":2354},"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":2356,"path":2357,"stem":2358},"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":2360,"path":2361,"stem":2362},"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":2364,"path":2365,"stem":2366},"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":2368,"path":2369,"stem":2370},"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":2372,"path":2373,"stem":2374},"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":2376,"path":2377,"stem":2378,"children":2379},"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",[2380,2381,2384,2387,2390,2394,2397,2400,2403,2406,2410],{"title":2376,"path":2377,"stem":2378},{"title":2298,"path":2382,"stem":2383},"\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":2302,"path":2385,"stem":2386},"\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":2306,"path":2388,"stem":2389},"\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":2391,"path":2392,"stem":2393},"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":2314,"path":2395,"stem":2396},"\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":2318,"path":2398,"stem":2399},"\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":2322,"path":2401,"stem":2402},"\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":2326,"path":2404,"stem":2405},"\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":2407,"path":2408,"stem":2409},"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":2334,"path":2411,"stem":2412},"\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":2414,"path":2415,"stem":2416,"children":2417},"Rules","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F01.index",[2418,2419,2423,2449,2467,2509,2547,2621,2675,2701,2755,2815,2869,2927,2977,3027,3067,3123,3153,3179,3197],{"title":2414,"path":2415,"stem":2416},{"title":2420,"path":2421,"stem":2422},"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":2424,"path":2425,"stem":2426,"children":2427},"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",[2428,2429,2433,2437,2441,2445],{"title":2424,"path":2425,"stem":2426},{"title":2430,"path":2431,"stem":2432},"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":2434,"path":2435,"stem":2436},"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":2438,"path":2439,"stem":2440},"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":2442,"path":2443,"stem":2444},"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":2446,"path":2447,"stem":2448},"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":2450,"path":2451,"stem":2452,"children":2453},"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",[2454,2455,2459,2463],{"title":2450,"path":2451,"stem":2452},{"title":2456,"path":2457,"stem":2458},"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":2460,"path":2461,"stem":2462},"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":2464,"path":2465,"stem":2466},"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":2468,"path":2469,"stem":2470,"children":2471},"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",[2472,2473,2475,2479,2483,2485,2489,2493,2497,2501,2505],{"title":2468,"path":2469,"stem":2470},{"title":1178,"path":1177,"stem":2474},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F02.err00-j",{"title":2476,"path":2477,"stem":2478},"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":2480,"path":2481,"stem":2482},"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":1183,"path":1182,"stem":2484},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F05.exceptional-behavior-err\u002F05.err03-j",{"title":2486,"path":2487,"stem":2488},"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":2490,"path":2491,"stem":2492},"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":2494,"path":2495,"stem":2496},"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":2498,"path":2499,"stem":2500},"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":2502,"path":2503,"stem":2504},"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":2506,"path":2507,"stem":2508},"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":2510,"path":2511,"stem":2512,"children":2513},"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",[2514,2515,2519,2523,2527,2531,2535,2539,2543],{"title":2510,"path":2511,"stem":2512},{"title":2516,"path":2517,"stem":2518},"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":2520,"path":2521,"stem":2522},"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":2524,"path":2525,"stem":2526},"EXP02-J. Do not use the Object.equals() method to compare two arrays","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp02-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F4.exp02-j",{"title":2528,"path":2529,"stem":2530},"EXP03-J. Do not use the equality operators when comparing values of boxed primitives","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp03-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F5.exp03-j",{"title":2532,"path":2533,"stem":2534},"EXP04-J. Do not pass arguments to certain Java Collections Framework methods that are a different type than the collection parameter type","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frules\u002Fexpressions-exp\u002Fexp04-j","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F06.expressions-exp\u002F6.exp04-j",{"title":2536,"path":2537,"stem":2538},"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":2540,"path":2541,"stem":2542},"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":2544,"path":2545,"stem":2546},"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":2548,"path":2549,"stem":2550,"children":2551},"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",[2552,2553,2557,2561,2565,2569,2573,2577,2581,2585,2589,2593,2597,2601,2605,2609,2613,2617],{"title":2548,"path":2549,"stem":2550},{"title":2554,"path":2555,"stem":2556},"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":2558,"path":2559,"stem":2560},"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":2562,"path":2563,"stem":2564},"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":2566,"path":2567,"stem":2568},"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":2570,"path":2571,"stem":2572},"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":2574,"path":2575,"stem":2576},"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":2578,"path":2579,"stem":2580},"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":2582,"path":2583,"stem":2584},"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":2586,"path":2587,"stem":2588},"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":2590,"path":2591,"stem":2592},"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":2594,"path":2595,"stem":2596},"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":2598,"path":2599,"stem":2600},"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":2602,"path":2603,"stem":2604},"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":2606,"path":2607,"stem":2608},"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":2610,"path":2611,"stem":2612},"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":2614,"path":2615,"stem":2616},"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":2618,"path":2619,"stem":2620},"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":2622,"path":2623,"stem":2624,"children":2625},"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",[2626,2627,2631,2635,2639,2643,2647,2651,2655,2659,2663,2667,2671],{"title":2622,"path":2623,"stem":2624},{"title":2628,"path":2629,"stem":2630},"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":2632,"path":2633,"stem":2634},"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":2636,"path":2637,"stem":2638},"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":2640,"path":2641,"stem":2642},"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":2644,"path":2645,"stem":2646},"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":2648,"path":2649,"stem":2650},"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":2652,"path":2653,"stem":2654},"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":2656,"path":2657,"stem":2658},"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":2660,"path":2661,"stem":2662},"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":2664,"path":2665,"stem":2666},"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":2668,"path":2669,"stem":2670},"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":2672,"path":2673,"stem":2674},"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":2676,"path":2677,"stem":2678,"children":2679},"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",[2680,2681,2685,2689,2693,2697],{"title":2676,"path":2677,"stem":2678},{"title":2682,"path":2683,"stem":2684},"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":2686,"path":2687,"stem":2688},"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":2690,"path":2691,"stem":2692},"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":2694,"path":2695,"stem":2696},"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":2698,"path":2699,"stem":2700},"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":2702,"path":2703,"stem":2704,"children":2705},"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",[2706,2707,2711,2715,2719,2723,2727,2731,2735,2739,2743,2747,2751],{"title":2702,"path":2703,"stem":2704},{"title":2708,"path":2709,"stem":2710},"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":2712,"path":2713,"stem":2714},"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":2716,"path":2717,"stem":2718},"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":2720,"path":2721,"stem":2722},"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":2724,"path":2725,"stem":2726},"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":2728,"path":2729,"stem":2730},"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":2732,"path":2733,"stem":2734},"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":2736,"path":2737,"stem":2738},"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":2740,"path":2741,"stem":2742},"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":2744,"path":2745,"stem":2746},"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":2748,"path":2749,"stem":2750},"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":2752,"path":2753,"stem":2754},"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":2756,"path":2757,"stem":2758,"children":2759},"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",[2760,2761,2765,2769,2773,2777,2781,2785,2789,2793,2797,2801,2805,2809,2811],{"title":2756,"path":2757,"stem":2758},{"title":2762,"path":2763,"stem":2764},"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":2766,"path":2767,"stem":2768},"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":2770,"path":2771,"stem":2772},"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":2774,"path":2775,"stem":2776},"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":2778,"path":2779,"stem":2780},"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":2782,"path":2783,"stem":2784},"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":2786,"path":2787,"stem":2788},"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":2790,"path":2791,"stem":2792},"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":2794,"path":2795,"stem":2796},"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":2798,"path":2799,"stem":2800},"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":2802,"path":2803,"stem":2804},"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":2806,"path":2807,"stem":2808},"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":760,"path":759,"stem":2810},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F11.methods-met\u002F14.met12-j",{"title":2812,"path":2813,"stem":2814},"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":2816,"path":2817,"stem":2818,"children":2819},"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",[2820,2821,2825,2829,2833,2837,2841,2845,2849,2853,2857,2861,2865],{"title":2816,"path":2817,"stem":2818},{"title":2822,"path":2823,"stem":2824},"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":2826,"path":2827,"stem":2828},"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":2830,"path":2831,"stem":2832},"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":2834,"path":2835,"stem":2836},"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":2838,"path":2839,"stem":2840},"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":2842,"path":2843,"stem":2844},"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":2846,"path":2847,"stem":2848},"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":2850,"path":2851,"stem":2852},"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":2854,"path":2855,"stem":2856},"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":2858,"path":2859,"stem":2860},"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":2862,"path":2863,"stem":2864},"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":2866,"path":2867,"stem":2868},"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":2870,"path":2871,"stem":2872,"children":2873},"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",[2874,2875,2879,2883,2887,2891,2895,2899,2903,2907,2911,2915,2919,2923],{"title":2870,"path":2871,"stem":2872},{"title":2876,"path":2877,"stem":2878},"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":2880,"path":2881,"stem":2882},"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":2884,"path":2885,"stem":2886},"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":2888,"path":2889,"stem":2890},"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":2892,"path":2893,"stem":2894},"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":2896,"path":2897,"stem":2898},"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":2900,"path":2901,"stem":2902},"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":2904,"path":2905,"stem":2906},"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":2908,"path":2909,"stem":2910},"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":2912,"path":2913,"stem":2914},"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":2916,"path":2917,"stem":2918},"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":2920,"path":2921,"stem":2922},"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":2924,"path":2925,"stem":2926},"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":2928,"path":2929,"stem":2930,"children":2931},"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",[2932,2933,2937,2939,2943,2947,2951,2955,2959,2963,2967,2968,2969,2970,2973],{"title":2928,"path":2929,"stem":2930},{"title":2934,"path":2935,"stem":2936},"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":67,"path":66,"stem":2938},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F03.obj02-j",{"title":2940,"path":2941,"stem":2942},"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":2944,"path":2945,"stem":2946},"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":2948,"path":2949,"stem":2950},"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":2952,"path":2953,"stem":2954},"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":2956,"path":2957,"stem":2958},"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":2960,"path":2961,"stem":2962},"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":2964,"path":2965,"stem":2966},"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":2260,"path":2207,"stem":2261},{"title":30,"path":2254,"stem":2256},{"title":2263,"path":2264,"stem":2265},{"title":2971,"path":2219,"stem":2972},"OBJ13-J. Ensure that references to mutable objects are not exposed","6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F14.object-orientation-obj\u002F14.obj13-j",{"title":2974,"path":2975,"stem":2976},"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":2978,"path":2979,"stem":2980,"children":2981},"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",[2982,2983,2987,2991,2995,2999,3003,3007,3011,3015,3019,3023],{"title":2978,"path":2979,"stem":2980},{"title":2984,"path":2985,"stem":2986},"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":2988,"path":2989,"stem":2990},"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":2992,"path":2993,"stem":2994},"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":2996,"path":2997,"stem":2998},"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":3000,"path":3001,"stem":3002},"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":3004,"path":3005,"stem":3006},"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":3008,"path":3009,"stem":3010},"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":3012,"path":3013,"stem":3014},"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":3016,"path":3017,"stem":3018},"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":3020,"path":3021,"stem":3022},"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":3024,"path":3025,"stem":3026},"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":3028,"path":3029,"stem":3030,"children":3031},"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",[3032,3033,3037,3041,3045,3055,3059,3063],{"title":3028,"path":3029,"stem":3030},{"title":3034,"path":3035,"stem":3036},"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":3038,"path":3039,"stem":3040},"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":3042,"path":3043,"stem":3044},"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":3046,"path":3047,"stem":3048,"children":3049},"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",[3050,3051],{"title":3046,"path":3047,"stem":3048},{"title":3052,"path":3053,"stem":3054},"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":3056,"path":3057,"stem":3058},"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":3060,"path":3061,"stem":3062},"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":3064,"path":3065,"stem":3066},"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":3068,"path":3069,"stem":3070,"children":3071},"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",[3072,3073,3077,3081,3085,3089,3093,3097,3101,3105,3107,3111,3115,3119],{"title":3068,"path":3069,"stem":3070},{"title":3074,"path":3075,"stem":3076},"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":3078,"path":3079,"stem":3080},"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":3082,"path":3083,"stem":3084},"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":3086,"path":3087,"stem":3088},"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":3090,"path":3091,"stem":3092},"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":3094,"path":3095,"stem":3096},"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":3098,"path":3099,"stem":3100},"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":3102,"path":3103,"stem":3104},"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":2029,"path":2028,"stem":3106},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F17.serialization-ser\u002F10.ser08-j",{"title":3108,"path":3109,"stem":3110},"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":3112,"path":3113,"stem":3114},"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":3116,"path":3117,"stem":3118},"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":3120,"path":3121,"stem":3122},"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":3124,"path":3125,"stem":3126,"children":3127},"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",[3128,3129,3133,3137,3141,3145,3149],{"title":3124,"path":3125,"stem":3126},{"title":3130,"path":3131,"stem":3132},"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":3134,"path":3135,"stem":3136},"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":3138,"path":3139,"stem":3140},"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":3142,"path":3143,"stem":3144},"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":3146,"path":3147,"stem":3148},"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":3150,"path":3151,"stem":3152},"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":3154,"path":3155,"stem":3156,"children":3157},"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",[3158,3159,3163,3167,3171,3175],{"title":3154,"path":3155,"stem":3156},{"title":3160,"path":3161,"stem":3162},"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":3164,"path":3165,"stem":3166},"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":3168,"path":3169,"stem":3170},"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":3172,"path":3173,"stem":3174},"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":3176,"path":3177,"stem":3178},"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":3180,"path":3181,"stem":3182,"children":3183},"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",[3184,3185,3189,3191,3195],{"title":3180,"path":3181,"stem":3182},{"title":3186,"path":3187,"stem":3188},"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":49,"path":48,"stem":3190},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F3.tsm01-j",{"title":3192,"path":3193,"stem":3194},"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":54,"path":53,"stem":3196},"6.sei-cert-oracle-coding-standard-for-java\u002F3.rules\u002F20.thread-safety-miscellaneous-tsm\u002F5.tsm03-j",{"title":3198,"path":3199,"stem":3200,"children":3201},"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",[3202,3203,3207,3211,3215,3219,3223],{"title":3198,"path":3199,"stem":3200},{"title":3204,"path":3205,"stem":3206},"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":3208,"path":3209,"stem":3210},"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":3212,"path":3213,"stem":3214},"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":3216,"path":3217,"stem":3218},"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":3220,"path":3221,"stem":3222},"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":3224,"path":3225,"stem":3226},"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":3228,"path":3229,"stem":3230,"children":3231},"Recommendations","\u002Fsei-cert-oracle-coding-standard-for-java\u002Frecommendations","6.sei-cert-oracle-coding-standard-for-java\u002F4.recommendations\u002F01.index",[3232,3233,3246,3264,3317,3342,3371,3392,3425,3458,3519,3544,3585],{"title":3228,"path":3229,"stem":3230},{"title":2424,"path":3234,"stem":3235,"children":3236},"\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",[3237,3238,3242],{"title":2424,"path":3234,"stem":3235},{"title":3239,"path":3240,"stem":3241},"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":3243,"path":3244,"stem":3245},"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":3247,"path":3248,"stem":3249,"children":3250},"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",[3251,3252,3256,3260],{"title":3247,"path":3248,"stem":3249},{"title":3253,"path":3254,"stem":3255},"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":3257,"path":3258,"stem":3259},"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":3261,"path":3262,"stem":3263},"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":2450,"path":3265,"stem":3266,"children":3267},"\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",[3268,3269,3273,3277,3281,3285,3289,3293,3297,3301,3305,3309,3313],{"title":2450,"path":3265,"stem":3266},{"title":3270,"path":3271,"stem":3272},"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":3274,"path":3275,"stem":3276},"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":3278,"path":3279,"stem":3280},"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":3282,"path":3283,"stem":3284},"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":3286,"path":3287,"stem":3288},"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":3290,"path":3291,"stem":3292},"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":3294,"path":3295,"stem":3296},"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":3298,"path":3299,"stem":3300},"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":3302,"path":3303,"stem":3304},"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":3306,"path":3307,"stem":3308},"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":3310,"path":3311,"stem":3312},"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":3314,"path":3315,"stem":3316},"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":2468,"path":3318,"stem":3319,"children":3320},"\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",[3321,3322,3326,3330,3334,3338],{"title":2468,"path":3318,"stem":3319},{"title":3323,"path":3324,"stem":3325},"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":3327,"path":3328,"stem":3329},"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":3331,"path":3332,"stem":3333},"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":3335,"path":3336,"stem":3337},"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":3339,"path":3340,"stem":3341},"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":2510,"path":3343,"stem":3344,"children":3345},"\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",[3346,3347,3351,3355,3359,3363,3367],{"title":2510,"path":3343,"stem":3344},{"title":3348,"path":3349,"stem":3350},"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":3352,"path":3353,"stem":3354},"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":3356,"path":3357,"stem":3358},"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":3360,"path":3361,"stem":3362},"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":3364,"path":3365,"stem":3366},"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":3368,"path":3369,"stem":3370},"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":2548,"path":3372,"stem":3373,"children":3374},"\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",[3375,3376,3380,3384,3388],{"title":2548,"path":3372,"stem":3373},{"title":3377,"path":3378,"stem":3379},"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":3381,"path":3382,"stem":3383},"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":3385,"path":3386,"stem":3387},"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":3389,"path":3390,"stem":3391},"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":2622,"path":3393,"stem":3394,"children":3395},"\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",[3396,3397,3401,3405,3409,3413,3417,3421],{"title":2622,"path":3393,"stem":3394},{"title":3398,"path":3399,"stem":3400},"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":3402,"path":3403,"stem":3404},"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":3406,"path":3407,"stem":3408},"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":3410,"path":3411,"stem":3412},"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":3414,"path":3415,"stem":3416},"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":3418,"path":3419,"stem":3420},"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":3422,"path":3423,"stem":3424},"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":2756,"path":3426,"stem":3427,"children":3428},"\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",[3429,3430,3434,3438,3442,3446,3450,3454],{"title":2756,"path":3426,"stem":3427},{"title":3431,"path":3432,"stem":3433},"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":3435,"path":3436,"stem":3437},"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":3439,"path":3440,"stem":3441},"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":3443,"path":3444,"stem":3445},"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":3447,"path":3448,"stem":3449},"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":3451,"path":3452,"stem":3453},"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":3455,"path":3456,"stem":3457},"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":2816,"path":3459,"stem":3460,"children":3461},"\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",[3462,3463,3467,3471,3475,3479,3483,3487,3491,3495,3499,3503,3507,3511,3515],{"title":2816,"path":3459,"stem":3460},{"title":3464,"path":3465,"stem":3466},"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":3468,"path":3469,"stem":3470},"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":3472,"path":3473,"stem":3474},"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":3476,"path":3477,"stem":3478},"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":3480,"path":3481,"stem":3482},"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":3484,"path":3485,"stem":3486},"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":3488,"path":3489,"stem":3490},"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":3492,"path":3493,"stem":3494},"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":3496,"path":3497,"stem":3498},"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":3500,"path":3501,"stem":3502},"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":3504,"path":3505,"stem":3506},"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":3508,"path":3509,"stem":3510},"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":3512,"path":3513,"stem":3514},"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":3516,"path":3517,"stem":3518},"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":2870,"path":3520,"stem":3521,"children":3522},"\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",[3523,3524,3528,3532,3536,3540],{"title":2870,"path":3520,"stem":3521},{"title":3525,"path":3526,"stem":3527},"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":3529,"path":3530,"stem":3531},"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":3533,"path":3534,"stem":3535},"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":3537,"path":3538,"stem":3539},"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":3541,"path":3542,"stem":3543},"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":2928,"path":3545,"stem":3546,"children":3547},"\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",[3548,3549,3553,3557,3561,3565,3569,3573,3577,3581],{"title":2928,"path":3545,"stem":3546},{"title":3550,"path":3551,"stem":3552},"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":3554,"path":3555,"stem":3556},"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":3558,"path":3559,"stem":3560},"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":3562,"path":3563,"stem":3564},"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":3566,"path":3567,"stem":3568},"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":3570,"path":3571,"stem":3572},"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":3574,"path":3575,"stem":3576},"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":3578,"path":3579,"stem":3580},"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":3582,"path":3583,"stem":3584},"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":2978,"path":3586,"stem":3587,"children":3588},"\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",[3589,3590,3594,3598,3602,3606,3610,3614,3618,3622],{"title":2978,"path":3586,"stem":3587},{"title":3591,"path":3592,"stem":3593},"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":3595,"path":3596,"stem":3597},"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":3599,"path":3600,"stem":3601},"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":3603,"path":3604,"stem":3605},"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":3607,"path":3608,"stem":3609},"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":3611,"path":3612,"stem":3613},"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":3615,"path":3616,"stem":3617},"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":3619,"path":3620,"stem":3621},"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":3623,"path":3624,"stem":3625},"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":3627,"path":3628,"stem":3629,"children":3630},"Back Matter","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F1.index",[3631,3632,3636,3640,3644,3647,3770,3796],{"title":3627,"path":3628,"stem":3629},{"title":3633,"path":3634,"stem":3635},"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":3637,"path":3638,"stem":3639},"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":3641,"path":3642,"stem":3643},"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":3645,"path":735,"stem":3646},"Rule BB. Glossary","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F5.rule-bb-glossary",{"title":3648,"path":3649,"stem":3650,"children":3651},"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",[3652,3653,3657,3661,3665,3669,3673,3677,3681,3685,3689,3693,3697,3701,3703,3707,3710,3714,3718,3722,3726,3730,3734,3738,3742,3746,3750,3754,3758,3762,3766],{"title":3648,"path":3649,"stem":3650},{"title":3654,"path":3655,"stem":3656},"CodeSonar","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fcodesonar","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F02.codesonar",{"title":3658,"path":3659,"stem":3660},"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":3662,"path":3663,"stem":3664},"Coverity","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fcoverity","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F04.coverity",{"title":3666,"path":3667,"stem":3668},"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":3670,"path":3671,"stem":3672},"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":3674,"path":3675,"stem":3676},"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":3678,"path":3679,"stem":3680},"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":3682,"path":3683,"stem":3684},"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":3686,"path":3687,"stem":3688},"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":3690,"path":3691,"stem":3692},"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":3694,"path":3695,"stem":3696},"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":3698,"path":3699,"stem":3700},"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":1942,"path":1941,"stem":3702},"6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F14.klocwork",{"title":3704,"path":3705,"stem":3706},"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":3708,"path":1976,"stem":3709},"Parasoft","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F16.parasoft",{"title":3711,"path":3712,"stem":3713},"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":3715,"path":3716,"stem":3717},"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":3719,"path":3720,"stem":3721},"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":3723,"path":3724,"stem":3725},"PVS-Studio","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fpvs-studio","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F20.pvs-studio",{"title":3727,"path":3728,"stem":3729},"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":3731,"path":3732,"stem":3733},"Security Reviewer - Static Reviewer","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fsecurity-reviewer-static-reviewer","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F22.security-reviewer-static-reviewer",{"title":3735,"path":3736,"stem":3737},"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":3739,"path":3740,"stem":3741},"SonarQube","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fback-matter\u002Frule-or-rec-cc-analyzers\u002Fsonarqube","6.sei-cert-oracle-coding-standard-for-java\u002F5.back-matter\u002F6.rule-or-rec-cc-analyzers\u002F24.sonarqube",{"title":3743,"path":3744,"stem":3745},"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":3747,"path":3748,"stem":3749},"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":3751,"path":3752,"stem":3753},"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":3755,"path":3756,"stem":3757},"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":3759,"path":3760,"stem":3761},"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":3763,"path":3764,"stem":3765},"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":3767,"path":3768,"stem":3769},"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":3771,"path":3772,"stem":3773,"children":3774},"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",[3775,3776,3780,3784,3788,3792],{"title":3771,"path":3772,"stem":3773},{"title":3777,"path":3778,"stem":3779},"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":3781,"path":3782,"stem":3783},"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":3785,"path":3786,"stem":3787},"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":3789,"path":3790,"stem":3791},"MITRE CWE","\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":3793,"path":3794,"stem":3795},"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":3797,"path":3798,"stem":3799},"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":3801,"path":3802,"stem":3803,"children":3804},"Admin","\u002Fsei-cert-oracle-coding-standard-for-java\u002Fadmin","6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F1.index",[3805,3806,3810,3814,3818,3822],{"title":3801,"path":3802,"stem":3803},{"title":3807,"path":3808,"stem":3809},"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":3811,"path":3812,"stem":3813},"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":3815,"path":3816,"stem":3817},"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":3819,"path":3820,"stem":3821},"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":3819,"path":3820,"stem":3823},"6.sei-cert-oracle-coding-standard-for-java\u002F6.admin\u002F6.todo-list",1775657813613]