Java decompilation material 1

Source: Internet
Author: User
Recently, I have been studying j2s. I personally think that the biggest problem with java lies in the lack of property rights protection. java is very good, but the code that I have worked hard to write can be easily used by others for reference, however, most of them can be directly modified to change the face. The following is the decompilation result after I use the source code compilation. I will make a series of materials and wait for time to organize a detailed decompilation summary. The key point is that a good DJ sometimes cannot directly restore the part.

// Source code
Synchronized (this)
{
If (m_awaitingClient & m_fakeServerClosed)
{
// Some other thread is still awaiting client,
// Just set flags and return from this call
M_fakeServerClosed = false;
Return;
}
M_awaitingClient = true;
M_fakeServerClosed = false;
}

// Decompiled code after Obfuscation
Label0:
{
Synchronized (this)
{
If (! M_awaitingClient |! M_fakeServerClosed)
Break label0;
M_fakeServerClosed = false;
}
Return;
}
M_awaitingClient = true;
M_fakeServerClosed = false;
J;
Jvm instr monitorexit;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.