File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/org/openjdk/asmtools/jasm Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2626PRODUCT_NAME = asmtools
2727PRODUCT_JAR_NAME = asmtools.jar
2828PRODUCT_VERSION = 7.0
29- PRODUCT_MILESTONE = beta
30- PRODUCT_BUILDNUMBER = b02
29+ PRODUCT_MILESTONE = ea
30+ PRODUCT_BUILDNUMBER = b09
3131PRODUCT_NAME_LONG = Java Assembler Tools
Original file line number Diff line number Diff line change 2727import org .openjdk .asmtools .util .I18NResourceBundle ;
2828
2929import java .io .*;
30+ import java .nio .file .Paths ;
3031import java .text .MessageFormat ;
3132
3233/**
@@ -94,9 +95,7 @@ public String getInputFileName() {
9495
9596 public String getSimpleInputFileName () {
9697 if ( simpleInputFileName == null ) {
97- char separatorChar = (inputFileName .matches ("^[A-Za-z]+:.*" )) ? '/' : File .separatorChar ;
98- int index = inputFileName .lastIndexOf (separatorChar );
99- simpleInputFileName = (index < 0 ) ? inputFileName .substring (0 ) : inputFileName .substring (index + 1 );
98+ simpleInputFileName = Paths .get (inputFileName ).getFileName ().toString ();
10099 }
101100 return simpleInputFileName ;
102101 }
You can’t perform that action at this time.
0 commit comments