Skip to main content

Time to deprecate javac?

Posted by daniel on October 13, 2004 at 10:28 AM PDT

The Mustang Forum rocks on.

If you have been following the discussion forums this last week, you have seen tons of suggestions for what is important to Java developers for the J2SE 6.0 "Mustang" release. The topics have been wide ranging and the resulting discussion has pointed to a lot of deep thinking in the community.

In today's

, Bruce Chapman waits for the laughter to
subside after he suggests we deprecate javac and then he
explains "5.0 has a new tool "apt" which is a better javac. It
allows us (mere mortals) to run our own code inside the
compiler which can examine the source being compiled (via
mirror API - similar to reflection or javadoc API), generate
other code (sourcecode which will then be compiled, as well as
bytecode if you have the inclination), and generate compiler
errors if we detect something out of spec."

TSinger's suggestion is " href="">
'const' applied to methods, references are an absolute MUST HAVE
for medium-sized to large applications. Maybe one can apply the
"const" to classes/interfaces as well to enforce immutable

Opinali adds "My #1 wish for Mustang is simple: "int[2,3]
matrix". I was once in favor of JSR-83 (Multiarray package), but now
that the Java language is more open to syntax improvements, we can
just drop that JSR. We don't need a full-blown Fortran clone (BLAS
libraries, etc.) bundled with every JRE, less than 1% of Java apps
need this kind of functionality. We need only the most fundamental
feature: href="">
multidimensional arrays in the core typesystem."

Add your thoughts to the Mustang forum discussion.

Is it time to give up emacs? In today's href="">Weblogs, Tom Ball writes
about href="">
New Tricks for Old Dogs. He says that he, a NetBeans developer,
has moved over from using emacs to NetBeans for his own
development. His admission of what he's used in the past led me to
read his post about his recent move a little more carefully.

Andreas Schaefer reports the continuing existence of what he calls
a bug. Others are not so sure. In href="">Cloneable:
How an old Bug can bite for a very long time he points out the
missing public Object clone() method in

Wow, it's only been out a month or so but Inderjeet Singh blogs
that "Airport Express is one of the favorite gadgets for techies." In
Resetting Airport Express he lists "the different ways to reset it
since that is frequently used (though hard-to-find) operation when
things go wrong during hacking."

Also in Java Today
, Heinz M Kabutz is sharing his
version of a thread warning system in href="">
Automatically Detecting Thread Deadlocks . He writes that he
has created a "new warning system, that notifies me if we have too
many threads. In order to not get too many notifications, I take
the approach that you get one warning when we pass the thread
count threshold. If you slip below the threshold, and go above it
again, you will get another warning notification. This is the
same approach taken by the memory bean. Better would probably be
to have a high- and low-water mark. In addition, it can also tell
if there are deadlocked threads. "

One advanced topic getting more attention is bytecode manipulation,
and among the various entries in the field, the ASM toolkit is
particularly successful. Projects such as Groovy, BeanShell and
AspectWerkz now use ASM, thanks to its light weight and high
performance. In href="">Using
the ASM Toolkit for Bytecode Manipulation, Eugene Kuleshov
introduces an interface and uses bytecode manipulation to implement it
in arbitrary code.

In Projects and
, the href="">Jini community's href="">Thor project allows "Jini services
to retrieve runtime configuration information across the network,
but allow that information to be administered in a central fashion
(i.e. an adminstrator at his PC)."

MyJXTA is available via JNLP and features some JDNC components. Up
next, "adding style sheets, trimming content and setting widget
preferred sizes but at this point the hard work looks to be behind

In today's
News Headlines

Registered users can submit news items for the href=""> News Page
using our news
submission form
. All submissions go through an editorial
review before being posted to the site. You can also subscribe to
the href="">
News RSS feed.

Current and upcoming
Java Events

  • October 15-17, 2004 href="">Atlanta Java
    Software Symposium
  • October 19-22, 2004 href=""> Educause
  • October 19, 2004 href="">
    JXTA Developer Kitchen

Registered users can submit event listings for the href=""> Events Page using our href=""> events submission
form. All submissions go through an editorial review before being
posted to the site.

Archives and Subscriptions: This blog is delivered
weekdays as the
Today RSS feed
. Also, once this page is no longer featured as the
front page of it will be
archived along with other past issues in the href=""> Archive.

The Mustang Forum rocks on.