Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Programming \ Java JDK has been able to compile without warning     - How to contribute code on GitHub uploads (Linux)

- FreeBSD install Gnome 3 Desktop (Linux)

- CentOS 6.4 RPM install MySQL-5.6.22-1 (Database)

- Replace element and non-replaced elements of learning (Programming)

- CentOS 6 rapid deployment of Java applications (Linux)

- Android will save the picture to see the album and timely (Programming)

- Use libcurl library download url image (Programming)

- Git large file storage will help handle large binary files (Linux)

- Linux package management operations Basic entry (Linux)

- Use install_updates upgrade GAMIT / GLOBK (Linux)

- systemd run levels and service management command Introduction (Linux)

- Detailed iptables (Linux)

- PostgreSQL query lock and kill the process (Database)

- Ubuntu 14.04 Docker installation (Linux)

- How to find on Linux and delete duplicate files: FSlint (Linux)

- C language binary tree counts words (Programming)

- Linux Shell Understanding and Learning (Linux)

- Linux kernel source code analysis (Linux)

- Install the free open source financial software GnuCash 2.6.6 under Ubuntu (Linux)

- To compile and install OpenCV-2.3.1 FFmpeg-2.1.2 under CentOS (Linux)

  Java JDK has been able to compile without warning
  Add Date : 2018-11-21      
  OpenJDK, Java's open source reference implementation (also the foundation of Oracle JDK) has reached an important milestone. The jdk repository, which contains the library code, has eliminated all compilation warnings in the upcoming release of JDK 9, and Joe Darcy and others led Oracle engineers to work on it for months, perfecting it. Which also includes some contributions from the community.

Java, like other programming languages, such as C, supports an inspection mode (linting mode) that can warn of poor code styles and potentially insecure coding practices. Examples include whether there is default handling in switch / case statements, and the use of Java primitive types. While the warnings generated by the checks appear to be modest, the bug is likely to be hidden behind the tagged code. Eliminating warnings can reveal real problems, some of which are hidden deep.

The OpenJDK team addresses this problem by eliminating one type of warning and then setting the warning to a fatal error so that code with this warning can not be committed to the repository. When all the warning types are removed, the compilation process will turn on the -Xlint: all -Werror switch so that all warnings become fatal when the JDK is compiled.

Finally, Darcy wrote a blog post in which he gave advice to Java developers wishing to use this method to clean up their compilation warnings in their projects.
- Redis master-slave replication switch (Database)
- SME Linux network security policy server security (Linux)
- Using Python multithreaded mistakes summary (Programming)
- C ++ casts New Standard Comments (Programming)
- Java Learning: elegant string (Programming)
- Linux command find (Linux)
- Oracle 10g, 11g database silent installation of small differences (Database)
- Tsung first test installation (Linux)
- Shared directory settings between Linux and Linux (Linux)
- C language Bubble Sort - integer sort (Programming)
- File permissions under Linux (Linux)
- Install Python 3.3.4 under CentOS 6.4 (Linux)
- Android development, may cause a memory leak problem (Programming)
- Use pg_basebackup build PostgreSQL streaming replication environment (Database)
- Flask installation environment (Linux)
- Glibc support encryption by modifying the DNS (Programming)
- Fast Sort Algorithms (Programming)
- Ubuntu use three methods to install Ruby (Linux)
- Python uses multi-process pool (Programming)
- Use top to monitor the remote server (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.