Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6208566

Compilation on FreeBSD as Port overwrites util/CurrencyData.java

XMLWordPrintable

    • b28
    • x86
    • linux

      FULL PRODUCT VERSION :
      java version "1.4.2-p6"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-p6-root_12_dec_2004_19_50)
      Java HotSpot(TM) Client VM (build 1.4.2-p6-root_12_dec_2004_19_50, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      FreeBSD miraculix 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov 23 15:32:41 CET 2004 root@miraculix:/usr/obj/usr/src/sys/HZD01 i386


      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Manually fetched the needed source code. "make install" with the ports support of FreeBSD

      A DESCRIPTION OF THE PROBLEM :
      This bug may be only for the FreeBSD community. But I better provice you with it, too.

      The first line in the file
      /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:
      is overwritten with the line
      Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
      , which seems to come from the compiler warnings.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Start with FreeBSD 5.3,
      do a cvsup of the the ports-collection (to update it),
      just pretend that you do not know that you have to fetch the source manually,
      continue and follow the instructions,
      (-- or --
      do not pretend and fetch the source manually),
      you will be asked to load the module with the procfs and you have to mount it,
      continue,
      you will get 2 errors (after a while, almost at the ending of the make process),
      both result from the overwritten line

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      the make process finishes without errors
      (oh yes, it is really possible)
      ACTUAL -
      Two errors from the make process

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      class or import expected in file ...

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      "make install" in
      /usr/ports/java/jdk14
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Comment the first line out in that file (s.a.) or delete the first line.
      ###@###.### 2004-12-14 22:26:20 GMT

            ohair Kelly Ohair (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: