aboutsummaryrefslogtreecommitdiff
path: root/libjava/gnu/gcj/runtime/FirstThread.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/gnu/gcj/runtime/FirstThread.java')
-rw-r--r--libjava/gnu/gcj/runtime/FirstThread.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/libjava/gnu/gcj/runtime/FirstThread.java b/libjava/gnu/gcj/runtime/FirstThread.java
index a928c9c..469d5dd 100644
--- a/libjava/gnu/gcj/runtime/FirstThread.java
+++ b/libjava/gnu/gcj/runtime/FirstThread.java
@@ -56,8 +56,10 @@ final class FirstThread extends Thread
jarMainClassName = a.getValue(Attributes.Name.MAIN_CLASS);
if (jarMainClassName != null)
+ {
+ jarMainClassName = jarMainClassName.replace('/','.');
return;
-
+ }
} catch (Exception e) {
// empty
}