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