[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#480445: libgcj7-dev might be installing the developmental files into the wrong directory



Package: libgcj7-dev
Version: 4.1.1-20

I have noticed that libgcj7-dev is saving the Java developmental files
into the C++ include folder.

Here is a list of examples of where they are being stored:

$ ls /usr/include/c++/4.1.2/java
applet  awt  beans  io  lang  math  net  nio  rmi  security  sql  text  util
$ ls /usr/include/c++/4.1.2/gnu/
awt  classpath  gcj  java  javax
$ ls /usr/include/c++/4.1.2/gcj/
array.h  cni.h  field.h  javaprims.h  method.h
$ ls /usr/include/c++/4.1.2/javax/
accessibility  crypto  management  naming  net  print  security  sound
 sql  swing  transaction

While I am not even sure if this is incorrect.   I would like to make
three arguement on why it should not be in this directory

1) /usr/include/c++/* should be reserved for files in the
libstdc++6-4.1-dev and other std c++ development files.
2) libgcj7-dev does not depend on libstdc++
3) It does not follow policy with over C++ development headers (I.E Qt, mysql++)

One solution would be to have a /usr/include/java/ folder to store
these files in.

While I am aware that having the files here will not be a issue to
either C++ or Java, its not very uniform or consistence with other
developmental packages.  Over all I can't find a agurement for keeping
the header files in this location.   But if I am mistaken, or I am a
total idiot, please point it out why the java development headers
belong here.



Reply to: