File relocinfo-ecj.patch of Package java-1_6_0-openjdk

--- openjdk-ecj/hotspot/src/share/vm/code/relocInfo.hpp	2020-04-16 10:48:18.399845235 +0200
+++ openjdk-ecj/hotspot/src/share/vm/code/relocInfo.hpp	2020-04-16 11:26:36.731890633 +0200
@@ -371,7 +371,7 @@
   // "immediate" in the prefix header word itself.  This optimization
   // is invisible outside this module.)
 
-  inline friend relocInfo prefix_relocInfo(int datalen = 0);
+  inline friend relocInfo prefix_relocInfo(int datalen);
 
  protected:
   // an immediate relocInfo optimizes a prefix with one 10-bit unsigned value
@@ -466,7 +466,7 @@
   return relocInfo(relocInfo::none, relocInfo::offset_limit() - relocInfo::offset_unit);
 }
 
-inline relocInfo prefix_relocInfo(int datalen) {
+inline relocInfo prefix_relocInfo(int datalen = 0) {
   assert(relocInfo::fits_into_immediate(datalen), "datalen in limits");
   return relocInfo(relocInfo::data_prefix_tag, relocInfo::RAW_BITS, relocInfo::datalen_tag | datalen);
 }
openSUSE Build Service is sponsored by