For the JDK 116 release on the DIGITAL UNIX platform running on DIGITAL's
Alpha hardware, DIGITAL has changed, for the reasons listed below, the
following JDK 116 source files in the shared part of the JDK.
Compatibility of the changes with Sun's JDK was assured by visual inspection of
the changes and by running the appropriate JCK test suites. No changes were
made to modify any APIs nor to modify the virtual machine instruction set.
1. The following files were modified in order to get them to compile on
DIGITAL UNIX:
- Modified to add function prototypes:
src/share/java/include/log.h
src/share/java/util/util.c
Diffs:
======
diff -r digital_src/src/share/java/include/log.h javasoft_src/src/share/java/include/log.h
1d0
< /* Modifications Copyright 1997 Digital Equipment Corporation */
34,36d32
< /*** OSF/cds - added the two lines below for errno def. ***/
< #include <errno.h>
< extern int *_errno(void);
diff -r digital_src/src/share/java/util/util.c javasoft_src/src/share/java/util/util.c
1d0
< /* Modifications Copyright 1997 Digital Equipment Corporation */
33,51d31
< /*** OSF/cds - added def.s to compensate for bad header files (?): ***/
< #if defined(_DECUNIX_SOURCE)
< /*
< * A prototype is missing from DEC's std headers for the expansion of
< * the macros isalnum(c) iswctype(c) towupper(c). Thus the compiler
< * complains when strict options are on.
< */
<
< #undef isalnum
< extern int isalnum(int);
<
< #undef iscntrl
< extern int iscntrl(int);
<
< #undef toupper
< extern int toupper(int);
<
< #endif /* _DECUNIX_SOURCE */
<
788,791d767
< case 'p': /*** OSF/cds - Added by OSF , similar to %X ***/
< caps = TRUE; /* fall through */
< base = 16;
< break;
926,930d901
< case 'p': /*** OSF/cds - Added by OSF : pointer ***/
< value = (long) va_arg(args, char *);
< CheckRet(format_number(&this, value, ch, left_justify,
< min_width, precision, zero_pad));
< break;
The 'p' case was added to differentiate pointers from longs/ints
back when DIGITAL was working on Jdk 1.0.2. They are no longer certain
if this change is still useful.
Alpha hardware, DIGITAL has changed, for the reasons listed below, the
following JDK 116 source files in the shared part of the JDK.
Compatibility of the changes with Sun's JDK was assured by visual inspection of
the changes and by running the appropriate JCK test suites. No changes were
made to modify any APIs nor to modify the virtual machine instruction set.
1. The following files were modified in order to get them to compile on
DIGITAL UNIX:
- Modified to add function prototypes:
src/share/java/include/log.h
src/share/java/util/util.c
Diffs:
======
diff -r digital_src/src/share/java/include/log.h javasoft_src/src/share/java/include/log.h
1d0
< /* Modifications Copyright 1997 Digital Equipment Corporation */
34,36d32
< /*** OSF/cds - added the two lines below for errno def. ***/
< #include <errno.h>
< extern int *_errno(void);
diff -r digital_src/src/share/java/util/util.c javasoft_src/src/share/java/util/util.c
1d0
< /* Modifications Copyright 1997 Digital Equipment Corporation */
33,51d31
< /*** OSF/cds - added def.s to compensate for bad header files (?): ***/
< #if defined(_DECUNIX_SOURCE)
< /*
< * A prototype is missing from DEC's std headers for the expansion of
< * the macros isalnum(c) iswctype(c) towupper(c). Thus the compiler
< * complains when strict options are on.
< */
<
< #undef isalnum
< extern int isalnum(int);
<
< #undef iscntrl
< extern int iscntrl(int);
<
< #undef toupper
< extern int toupper(int);
<
< #endif /* _DECUNIX_SOURCE */
<
788,791d767
< case 'p': /*** OSF/cds - Added by OSF , similar to %X ***/
< caps = TRUE; /* fall through */
< base = 16;
< break;
926,930d901
< case 'p': /*** OSF/cds - Added by OSF : pointer ***/
< value = (long) va_arg(args, char *);
< CheckRet(format_number(&this, value, ch, left_justify,
< min_width, precision, zero_pad));
< break;
The 'p' case was added to differentiate pointers from longs/ints
back when DIGITAL was working on Jdk 1.0.2. They are no longer certain
if this change is still useful.
- relates to
-
JDK-4144492 (porting) Shared code mods to add "void" to prototypes with empty arg list
- Closed