src/jdk.pack/share/native/common-unpack/unpack.cpp
changeset 51120 dccdf51b10dd
parent 50884 11b3e9c1aa5e
child 51969 02421ca2cc85
equal deleted inserted replaced
51091:a602706ccaaa 51120:dccdf51b10dd
     1 /*
     1 /*
     2  * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2001, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
  2679   layout_definition* lo = getLayout(idx);
  2679   layout_definition* lo = getLayout(idx);
  2680   if (lo != null) {
  2680   if (lo != null) {
  2681     PRINTCR((1, "counted %d [redefined = %d predefined = %d] attributes of type %s.%s",
  2681     PRINTCR((1, "counted %d [redefined = %d predefined = %d] attributes of type %s.%s",
  2682             count, isRedefined(idx), isPredefined(idx),
  2682             count, isRedefined(idx), isPredefined(idx),
  2683             ATTR_CONTEXT_NAME[attrc], lo->name));
  2683             ATTR_CONTEXT_NAME[attrc], lo->name));
       
  2684   } else {
       
  2685     abort("layout_definition pointer must not be NULL");
       
  2686     return;
  2684   }
  2687   }
  2685   bool hasCallables = lo->hasCallables();
  2688   bool hasCallables = lo->hasCallables();
  2686   band** bands = lo->bands();
  2689   band** bands = lo->bands();
  2687   if (!hasCallables) {
  2690   if (!hasCallables) {
  2688     // Read through the rest of the bands in a regular way.
  2691     // Read through the rest of the bands in a regular way.