/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* @test
* @bug 6622260
* @summary javap prints negative bytes incorrectly in hex
*/
public class T6622260 {
}
}
return f;
}
if (rc != 0)
}
for (int i = 0; i < field_count; i++) {
}
for (int i = 0; i < method_count; i++) {
}
// copy head
// copy constant pool, adding in name of new attribute
// copy flags, class, superclass, interfaces, fields and methods
// copy class attributes, adding in new attribute
}
for (int i = 1; i < constant_pool_count; i++) {
switch (tag) {
case 1: // CONSTANT_Utf8
break;
case 3: // CONSTANT_Integer
case 4: // CONSTANT_Float
break;
case 5: // CONSTANT_Long
case 6: // CONSTANT_Double
break;
case 7: // CONSTANT_Class
break;
case 8: // CONSTANT_String
break;
case 9: // CONSTANT_FieldRef
case 10: // CONSTANT_Methodref
case 11: // CONSTANT_InterfaceMethodref
break;
case 12: // CONSTANT_NameAndType
break;
default:
}
}
return constant_pool_count;
}
for (int i = 0; i < attributes_count; i++) {
}
return attributes_count;
}
if (rc != 0)
}
throw new Error("- found in output");
throw new Error("FFFFFF found in output");
}
}