1000 Java Tips ebook
Free "1000 Java Tips" eBook is here! It is huge collection of big and small Java
programming articles and tips. Please take your copy here.
Take your copy of free "Java Technology Screensaver"!.
What are enhancements were added to new javac since 1.4.2?
JavaFAQ Home » Java Tools
Question: What are enhancements were added to new javac since 1.4.2?
Answer: The following enhancements and bug fixes have been made to
the javac source compiler in the Java 2 SDK.
RFE 4626998 implemented: Added -cp synonym for -classpath option to set
RFE 4515858 implemented: Added -Xbootclasspath/p: option to prepend to
RFE 4253402 implemented: Added -Xmaxerrors and -Xmaxwarns to increase the number
of errors and warnings printed by javac.
Also optimizations have been made to the core libraries to reduce startup time.
For a small command line application, startup time has been reduced by roughly
thirty percent; for a small Swing application, by fifteen to twenty percent.
In some rare situations, one optimization related to filename canonicalization
may cause inconsistent views of the host platform's file system to be briefly
visible to Java applications. The optimization caches, for a short time, the
results of calls to File.getCanonicalFile() and File.getCanonicalPath(). If a
file is moved by another application then the canonicalization result for that
file may briefly differ from its true value, although attempts to open and
access the file will succeed or fail as before. Applications should not rely on
the presence or absence of such inconsistencies. If an application must disable
this optimization for correctness purposes then the system property
-Dsun.io.useCanonCaches=false may be specified.
Printer Friendly Page
Send to a Friend
Search here again if you need more info!