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: 6809563
Votes 0
Synopsis corba build in JDK uses invalid bootclasspath for javah
Category java:build
Reported Against
Release Fixed 7(b51)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs
Submit Date 24-FEB-2009
Description
corba/make/common/shared/Defs-java.gmk contains the following line

JAVAHFLAGS += -bootclasspath $(CLASSBINDIR)

This line looks like a cut-n-paste error from jdk/make/common/shared/Defs-java.gmk where the line is correct.

In the JDK workspace , it is appropriate to set the javah bootclasspath to (just) $(CLASSBINDIR), but in the corba workspace, this means you're setting it to a location without core java classes, like java.lang.*.   This is somewhat unreasonable for any java tool that is going to try and process classes found on the classpath. In particular, it breaks with the upcoming new javah.
Posted Date : 2009-02-24 21:47:03.0
Work Around
N/A
Evaluation
Yes. a bootclasspath without java.lang.* is bad.
Posted Date : 2009-02-27 01:18:43.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang