Our website uses cookies to enhance your browsing experience.
Accept
to the top
>
>
Posts: #Java

Posts: # Java

Jun 05 2024
Volatile, DCL, and synchronization pitfalls in Java
Konstantin Volohovsky
What if common knowledge is actually more nuanced, and old familiar things like Double-checked locking are quite controversial? Examining the code of real projects gives this kind of thought. In...
...
Apr 19 2024
21 bugs in 21st version of Apache NetBeans
Daniil Liakhov
Apache NetBeans is one of the first IDEs for Java. It has been supported for nearly 30 years. Recently, Apache NetBeans 21 was released. We've decided to check the source code of such a...
...
Subscribe to the newsletter
Want to receive a monthly digest of the most interesting articles and news? Subscribe!
Apr 10 2024
Code of game engine written in Java: what does it hide?
Kirill Epifanov
Have you ever wondered about game engines written in Java? jMonkeyEngine is such an engine, and a popular one. In this article, we will look at it and check its source code for errors. We may...
...
OOP in real-life cases
Konstantin Volohovsky
In most cases, you can solve a task in an intuitive, procedural way. However, the simplest option isn't always the best. I invite you to take a look at a real-world example of transforming a...
...
Feb 09 2024
PVS-Studio extension for Visual Studio Code: searching for errors in Java code
Andrey Moskalev
Are you a Java developer and prefer to work in VS Code? Good news! Now you can enhance code safety with the PVS-Studio extension, which helps detect errors in Java projects and much...
...
Dec 14 2023
Operation K. Looking for bugs in the IntelliJ IDEA code
Kirill Epifanov
In this article, we check the IntelliJ IDEA Community Edition project for errors and send the fixes to its developers. A large project, an open-source base, and a static analyzer that helps...
...
Dec 08 2023
Few words about Java code hygiene
Konstantin Volohovsky
While reviewing code or working on a new project, we can get annoyed by many things: style, approaches, quality. However, the most frustrating is the trite lack of code hygiene. Since the issue...
...
Common patterns of typos in programming
Andrey Karpov
The developers have an endless amount of ways to make mistakes while writing code. However, sometimes we can find obvious and interesting patterns in how and where developers make mistakes...
...
Sep 15 2022
The check of the Rhino JavaScript engine or how the unicorn met the rhino
Valery Komarov
Among the wide variety of programming languages, what our users want the most is that the PVS-Studio analyzer to start supporting JavaScript. The Rhino engine is a project that our team can use...
...
Trojan Source: Invisible Vulnerabilities
Guest
We present a new type of attack in which source code is maliciously encoded so that it appears different to a compiler and to the human eye. This attack exploits subtleties in text-encoding...
...
View more Pagination arrow previous
Showing: - of 63