Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2003 11:46:49 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        freebsd-java@FreeBSD.org
Subject:   ports/java/jdk14 and jni_md.h
Message-ID:  <20030310094649.GA12316@starjuice.net>

next in thread | raw e-mail | index | archive | help
Hi folks,

While looking into the reason for James Flemer's Eclipse port
failing to run with ports/java/jdk14, I've found oddness in
.../jdk1.4.1/include/jni.h:

/* jni_md.h contains the machine-dependent typedefs for jbyte, jint
   and jlong */

#include "jni_md.h"

What are the odds that this will work for any caller once it's installed
into .../jdk1.4.1/include/jni.h?

It seems to me that

a) jni.h should #include "bsd/jni_md.h", or
b) jni.h should #include <bsd/jni_md.h>, or
b) callers are expected to add .../jdk1.4.1/include/md to the include
   path when compiling, not just .../jdk1.4.1/include, or
c) jni_md.h should be installed in .../jdk1.4.1/include, not
   .../jdk1.4.1/include/md.

What do the experts say?

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030310094649.GA12316>