Do we need to make static methods as synchronized if it is called within synchonized non static method?
<p>My doubt is do we need to make static methods as synchronized if it is called within synchonized non static method?</p>

<p>for e.g.</p>

<pre><code>class Test
{

      public static void m2()
      {


      }

      public synchronized void m1()
      {

            Test.m2();
             ----
            ----
      }  
</code></pre>

<p>In above case do I need to make m2 as synchronized in order to avoid race condition or should I keep it as it is.</p>

<p>}</p>
