Changeset 152


Ignore:
Timestamp:
Sep 19, 2010, 4:39:13 PM (10 years ago)
Author:
dmik
Message:

jdk/make: Make sure that javah in packages that use a non-standard CLASSDESTDIR location can find package classes by adding it to -bootclasspath (on Windows it worked because these classes were found in the bootstrap Java's .jars which is apparently wrong) [vendor bug].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk/jdk/make/common/shared/Defs-java.gmk

    r2 r152  
    125125
    126126# Needed for javah
    127 JAVAHFLAGS += -bootclasspath $(CLASSBINDIR)
     127JAVAHFLAGS += -bootclasspath $(if $(filter $(CLASSBINDIR),$(CLASSDESTDIR)),\
     128        $(CLASSBINDIR),$(CLASSDESTDIR)$(CLASSPATH_SEPARATOR)$(CLASSBINDIR))
    128129
    129130# Needed for JAVADOC and BOOT_JAVACFLAGS
Note: See TracChangeset for help on using the changeset viewer.