equal
deleted
inserted
replaced
24 */ |
24 */ |
25 |
25 |
26 package jdk.packager.internal.mac; |
26 package jdk.packager.internal.mac; |
27 |
27 |
28 import jdk.packager.internal.IOUtils; |
28 import jdk.packager.internal.IOUtils; |
|
29 import jdk.packager.internal.Log; |
|
30 |
29 import java.io.BufferedOutputStream; |
31 import java.io.BufferedOutputStream; |
30 import java.io.BufferedReader; |
32 import java.io.BufferedReader; |
31 import java.io.ByteArrayInputStream; |
33 import java.io.ByteArrayInputStream; |
32 import java.io.ByteArrayOutputStream; |
34 import java.io.ByteArrayOutputStream; |
33 import java.io.File; |
35 import java.io.File; |
117 String output = baos.toString(); |
119 String output = baos.toString(); |
118 output = output.substring(output.indexOf("=") + 1); |
120 output = output.substring(output.indexOf("=") + 1); |
119 DateFormat df = new SimpleDateFormat( |
121 DateFormat df = new SimpleDateFormat( |
120 "MMM dd kk:mm:ss yyyy z", Locale.ENGLISH); |
122 "MMM dd kk:mm:ss yyyy z", Locale.ENGLISH); |
121 result = df.parse(output); |
123 result = df.parse(output); |
122 } |
124 } catch (IOException | ParseException ex) { |
123 catch (IOException ioe) { |
125 Log.debug(ex); |
124 } |
|
125 catch (ParseException ex) { |
|
126 } |
126 } |
127 |
127 |
128 return result; |
128 return result; |
129 } |
129 } |
130 |
130 |