javah output file naming weirdness

Alan Bateman Alan.Bateman at Sun.COM
Mon Apr 28 08:33:58 PDT 2008


Ian Rogers wrote:
> :
> it's a requirement that the Jikes RVM is built with at least Java 5.0 
> due to wide spread use of generics and annotations in the code base. I 
> personally use Java 6 to build Jikes RVM (on systems with neither Java 
> 1.4.2 or Java 5.0 installed). The only time I've heard of a problem 
> with javah is Andrew when using Open JDK 6. We could have been fluking 
> things before.
Perhaps my suggestion that this might be an old javah vs. new javah 
issue is a red herring but, just for pig iron, I created a class 
org.jikesvvm.scheduler.greenthreads.VM_Process and ran javac + javah 
with each of openjdk (7), Sun's jdk5, and Sun's jdk6. All generate 
org_jikesvvm_scheduler_greenthreads_VM_Process.h. This has me curious as 
to how org_jikesvvm_scheduler_greenthreads_VM_0005fProcess.h is 
generated in your environment since you are using "Java 6". Is this 
Sun's jdk6?

-Alan.





More information about the jdk6-dev mailing list