JDK-8049389 : Move orb.idl and ir.idl to JDK include directory
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba:idl
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-07-06
  • Updated: 2017-05-17
  • Resolved: 2014-09-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b34Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8175226 :  
Description
The JDK ships with orb.idl and ir.idl in the top-level "lib" directory. This bug asks that this be re-examined to see whether these files can be moved to include directory.

This needs to be examined as part of moving the JDK to a modular image where the top-level jre directory goes away and the lib directory is image-private.
Comments
the include directory seems an appropriate location for these files
22-09-2014

I think this should do it: diff -r c432b80aadd0 make/CompileCorba.gmk --- a/make/CompileCorba.gmk Thu Sep 11 14:28:13 2014 -0700 +++ b/make/CompileCorba.gmk Sat Sep 20 08:18:24 2014 +0100 @@ -51,13 +51,13 @@ JAR := $(INTERIM_CORBA_JAR))) ################################################################################ -# Copy idl files straight to jdk/lib. Not sure if this is the right way to do +# Copy idl files straight to jdk/include. Not sure if this is the right way to do # it, but we are moving away from the one repo at a time build. Perhaps we should # scrap the 'jdk' prefix to bin, lib etc? -$(JDK_OUTPUTDIR)/lib/%: $(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl/% +$(JDK_OUTPUTDIR)/include/%: $(CORBA_TOPDIR)/src/java.corba/share/classes/com/sun/tools/corba/se/idl/% $(install-file) -IDL_TARGET_FILES := $(JDK_OUTPUTDIR)/lib/orb.idl $(JDK_OUTPUTDIR)/lib/ir.idl +IDL_TARGET_FILES := $(JDK_OUTPUTDIR)/include/orb.idl $(JDK_OUTPUTDIR)/include/ir.idl ################################################################################ diff --git a/make/Images.gmk b/make/Images.gmk --- a/make/Images.gmk +++ b/make/Images.gmk @@ -203,7 +203,6 @@ jconsole.jar \ sa-jdi.jar \ dt.jar \ - orb.idl \ ir.idl \ ct.sym
20-09-2014