JDK-4651578 : Underscores in class names causes problems on Solaries
  • Type: Bug
  • Component: tools
  • Sub-Component: javah
  • Affected Version: 1.4.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2002-03-12
  • Updated: 2002-03-12
  • Resolved: 2002-03-12
Related Reports
Duplicate :  
Description
If a class has an underscore in its name, javah adds a 0005h into the middle of the name after the underscore on Solaris.

% cat Foo_Bar.java
public class Foo_Bar {

}

% javac Foo_Bar.java
% javah Foo_Bar
% ls Foo*
Foo_0005fBar.h
Foo_Bar.class
Foo_Bar.java

Comments
EVALUATION a dup of 4501215
11-06-2004

PUBLIC COMMENTS ...
10-06-2004