Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6585478
Votes 0
Synopsis incorrect bootclasspath in make/common/Rules.gmk for javah
Category java:build
Reported Against
Release Fixed 7(b20)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 25-JUL-2007
Description
Line 290 or thereabouts of make/common/Rules.gmk is as follows:

	$(JAVAH_CMD) $(JAVAHFLAGS) -bootclasspath $(CLASSDESTDIR) \

This is an incorrect setting of the bootclasspath for those cases where CLASSDESTDIR is set to something other than CLASSBINDIR. Such is the case, for example, in make/sun/security/pkcs11/Makefile. In this case, the bootclasspath does not include fundamental classes like java.lang.Object. While the current javah is tolerant of such missing classes, a newer version with better checking requires java.lang.Object to be on the bootclasspath.

The bootclasspath should really be set to $(CLASSDESTDIR):$(CLASSBINDIR).
Posted Date : 2007-07-25 23:03:07.0
Work Around
N/A
Evaluation
Yes. See suggested fix.
Posted Date : 2007-08-11 00:14:49.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang