Look Ma, javac tells me I am overriding static method wrongly!!
// File: SuperClass.java
public class SuperClass {
public static int func() {
return 0;
}
}
// File: SubClass.java
public class SubClass extends SuperClass {
public static ...
BTrace "unsafe" mode
We kept saying BTrace is a safe, dynamic tracing tool for Java. To ensure safety, BTrace does not permit many constructs of Java language and also allows calls only to BTraceUtils class.But, not ever...
BTrace project moved to kenai.com
We have recently moved BTrace project to kenai.com. If you are interested in BTrace, please continue to use it and help develop it from kenai.com....
Debugging option for javac and javafxc
I work on JavaFX compiler these days. The command line (debugging) option that I often use is -doe ("dump on error"). This option prints stack trace of the compiler when error message is printed. NOT...
Scriptifying BTrace?
One of the issues reported with BTrace is that the trace authors have to write "verbose" code [some people say Java is "verbose"!]. In BTrace, we have to repeat the same set of imports, annotations i...
Playing with JSqueak
Squeak is a open source implementation of Smalltalk. What is JSqueak? JSqueak is a Squeak interpreter written in Java. You can download JSqueak source code and play with it. I did the following:
Exp...
BTrace and JMX
You can dyanamically attach BTrace to a Java process to inject trace code into it. BTrace client classescollect the trace output via a socket -- these client classes are used by BTrace command line c...
BTrace aggregations - contribution from community
If you have used DTrace, chances are that you have used aggregations. For performance issues, aggregated data is often more useful than individual data points. With BTrace, aggregating data is bit pa...
BTrace in the real world
In the last few weeks, I came to know about two cases of real world use of BTrace.
Glencross, Christian M (his blog?) wrote about attempting to write a script to track SQL statements executed by a ...
BTrace JavaOne2008 BOF slides..
I received emails asking for BTrace BOF (JavaOne-2008) slides. Better late than never... I've uploaded PDF of the slides. The BOF was mostly around demos -- slides do not contain much. But, slides ha...
Thursday May 8, JavaOne
Here are the few highlights from the talks that I attended today:
TS-5428 Java Technology Meets the Real World: Intelligence Everywhere.
This talk is about pervasive computing (a.k.a ubiquitou...
Wednesday May 7, JavaOne
Today Bill, Chihiro, Jaya and I talked on Blu-ray. The talk was centered around the open source project @ http://hdcookbook.dev.java.net - a library and a set of tools to build Blu-ray discs. If you...
Tuesday May 6, JavaOne
In today's sessions that I attended I liked the following:
JRuby: Why, What, How... Do It Now
This talk is a good introduction to (J)Ruby the language and important applications of (J)Ruby. And many...
JVM Languages @ JavaOne 2008
In JavaOne 2008, there are many intesting sessions on "other" JVM languages covering both dynamically typed languages (JavaScript, Groovy, JRuby) and statically typed languages (JavaFX, Scala). As us...
BTrace BOF @ JavaOne 2008
We have a BOF on BTrace in this year's JavaOne. But, you will not find the name "BTrace" in session title -- that is because talk was submitted before BTrace was open sourced with that name The detai...
Groovy jsr-223 engine updated..
Groovy jsr-223 script engine @ scripting.dev.java.net has been updated to use Groovy version 1.5.6....
Bluray @ JavaOne 2008
If you want to learn more about Blu-ray disc and what Java has to do with it, you may want to attend the following talks/BOFs @ JavaOne 2008!
Date/Time
Session ID
Session Name
Wednes...
Latest on scripting for the Java platform...
Updates on the world of Scripting for the Java platform:
Yoko Harada has updated JRuby jsr-223 engine to use JRuby 1.1RC2.
I've updated Groovy jsr-223 engine to use Groovy 1.5.4.
You may know this n...
VM on a VM on a ...
My recent fun with virtualization continues. In the last JavaOne, I missed the talk titled "Everything Java": JPC, a Fast x86 PC Emulator. But, I downloaded the source and binary of JPC just to check...
blu-ray.. blu-ray...
I am thrilled to know this news!! And that is not without a bit of self-interest. I work on some blu-ray related activities @ Sun (more on that in future!).
BTW, if you are interested in learning a...
Latest on the Scripting project
Updates on the Scripting project.
Updated JavaScript script engine with Rhino version 1.6R7. This version supports E4X without requiring XMLBeans.
Updated Groovy script engine to use version 1.5....
What's new with Scripting for the Java platform?
Sorry about the looo..ng hibernation! Now, it is time for updates on the Scripting project.
Yoko Harada updated JRuby script engine with JRuby 1.0.2 and added few other fixes in engine code.
I've ...
javac's hidden options...
Sorry about not writing much these days. Hoping to blog again...
Earlier, I blogged about javac's hidden option "-printflat". I modified javac source to "open up" the hidden "-printflat" flag. Well,...
ANTLRWorks and fun with grammars
If you are a programming languages enthusiast, you'll probably like this. I downloaded ANTLR Parser Generator. In addition to ANTLR, I downloaded the following:
ANTLRWorks - a grammar development e...
Week-end fun with the java compiler source code
@page { size: 8.5inch 11inch; margin-top: 0.7874inch; margin-bottom: 0.7874inch; margin-left: 0.7874inch; margin-right: 0.7874inch }
table { border-collapse:collapse; border-spacing:0; empty-cells:...
Hacking serviceability code in hotspot JVM
Jim Holmlund (blog?) compiled this very nice summary of serviceability related code in hotspot JVM -- http://openjdk.java.net/groups/serviceability/.
...
JavaScript, JSON and JavaFX Script
JavaFX Script, as
you may know already, is a declarative and statically typed
scripting language. It has first-class functions, declarative
syntax, list-comprehensions, and incremental dependency-ba...
JRuby 1.0 released, jsr-223 engine updated!
JRuby 1.0 has been released. The jsr-223 script engine for JRuby had an issue because of a recent change in JRuby parse API during 1.0.0RC3. Thanks to the java.net user "bongobongo" for reporting this...
Scripting updates...
It has been a while. I've not updated on scripting.dev.java.net project and related activities. Here it is ...
Updated the jsr-223 engine for JRuby to use JRuby version 1.0.0RC2.
A recent issue with ...
A project idea for OpenJDK...
You probably checked out the OpenJDK project and even built it on your favorite platform. And you are wondering how can you do a small, but interesting project with OpenJDK. In Nov 2006, I mentioned ...