1.1 --- a/src/share/classes/com/sun/tools/classfile/Instruction.java Wed Jun 04 20:01:13 2014 +0100 1.2 +++ b/src/share/classes/com/sun/tools/classfile/Instruction.java Tue Dec 17 10:55:59 2013 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -25,6 +25,8 @@ 1.11 1.12 package com.sun.tools.classfile; 1.13 1.14 +import java.util.Locale; 1.15 + 1.16 /** 1.17 * See JVMS, chapter 6. 1.18 * 1.19 @@ -211,7 +213,7 @@ 1.20 if (opcode == null) 1.21 return "bytecode " + getUnsignedByte(0); 1.22 else 1.23 - return opcode.toString().toLowerCase(); 1.24 + return opcode.toString().toLowerCase(Locale.US); 1.25 } 1.26 1.27 /** Get the length, in bytes, of this instruction, including the opcode