Duplicate :
|
|
Relates :
|
|
Relates :
|
FULL PRODUCT VERSION : A DESCRIPTION OF THE PROBLEM : An exception has occurred in the compiler (1.7.0_02). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you. java.lang.ClassCastException: com.sun.tools.javac.api.ClientCodeWrapper$WrappedJavaFileManager cannot be cast to com.sun.tools.javac.file.JavacFileManager at com.sun.tools.javac.main.Main.compile(Main.java:413) at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132) at com.sun.tools.javah.JavahTask.run(JavahTask.java:513) at com.sun.tools.javah.JavahTask.run(JavahTask.java:335) at com.sun.tools.javah.Main.main(Main.java:46) STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : Just starting off with JNI. Occurs when javah is run as an external tool in eclipse. REPRODUCIBILITY : This bug can be reproduced always. ---------- BEGIN SOURCE ---------- package com.redwoodsys.jvolcano.proto; public class EngineFpgaJni { public native void set8(int offset, int value); public native int get8(int offset); public native void set16(int offset, int value); public native int get16(int offset); public native void set32(int offset, int value); public native int get32(int offset); } ---------- END SOURCE ----------
|