2009/8/11 Pekka Enberg <penb...@cs.helsinki.fi>:
> Vegard Nossum wrote:
>>
>> 2009/8/11 Tomek Grabiec <tgrab...@gmail.com>:
>>>
>>> Or we'll get this:
>>>
>>> Exception in thread "main" java/lang/ExceptionInInitializerError
>>>  at java.io.VMFile.getName(VMFile.java:230)
>>>  at java.io.File.getName(File.java:537)
>>>  at java.lang.VMClassLoader.getResources(VMClassLoader.java:208)
>>>  at java.lang.VMClassLoader.getResource(VMClassLoader.java:170)
>>>  at java.lang.VMClassLoader.getBootPackages(VMClassLoader.java:252)
>>>  at java.lang.VMClassLoader.<clinit>(VMClassLoader.java:89)
>>>  at java.lang.Class.desiredAssertionStatus(Class.java:1221)
>>>  at java.awt.EventQueue.<clinit>(EventQueue.java:68)
>>>  at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1079)
>>>  at HelloWorldSwing.main(HelloWorldSwing.java:74)
>>> Caused by: java/lang/NullPointerException
>>>  at gnu.java.io.PlatformHelper.<clinit>(PlatformHelper.java:48)
>>>  at java.io.VMFile.getName(VMFile.java:230)
>>>  ...9 more
>>>
>>> Signed-off-by: Tomek Grabiec <tgrab...@gmail.com>
>>> ---
>>>  vm/jato.c |    1 +
>>>  1 files changed, 1 insertions(+), 0 deletions(-)
>>>
>>> diff --git a/vm/jato.c b/vm/jato.c
>>> index 9f73d8c..d95304f 100644
>>> --- a/vm/jato.c
>>> +++ b/vm/jato.c
>>> @@ -195,6 +195,7 @@ static struct system_property system_properties[] = {
>>>       { "file.separator",     "/"     },
>>>       { "path.separator",     ":"     },
>>>       { "line.separator",     "\n"    },
>>> +       { "os.name",            "Linux" },
>>
>> Shouldn't we get this information from uname()?
>>
>> Not that it matters a whole lot, probably... ;-)
>
> Yeah, we should fix but I'll just apply the patch for now.
>
>                        Pekka
>

It has been fixed in commit  77cd08bb4bb72504375e6ef93687d4fdb6d1c724

-- 
Tomek Grabiec

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jatovm-devel mailing list
Jatovm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to