This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 111789

Summary: org.openide.util.Utilities should recognize Win64
Product: platform Reporter: Martin Ryzl <mryzl>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 111279    

Description Martin Ryzl 2007-08-02 17:01:26 UTC
org.openide.util.Utilities should recognize Win64. OS specific code is necessary when loading native dll on Windows.
Comment 1 Martin Ryzl 2007-08-02 17:04:22 UTC
adding dependency to demostrate there is a use case. Obviously a workaround exists.
Comment 2 _ rkubacki 2007-08-03 08:59:13 UTC
Another example where we query if we run on 32 or 64 bit is -
extbrowser/src/org/netbeans/modules/extbrowser/NbDdeBrowserImpl.java. The same usecase.

What are you suggesting Martin? Method like 'boolean Utilities.is64bit()'? Note that Solaris has 64-bit JVM too.
Comment 3 Martin Ryzl 2007-08-03 09:07:00 UTC
it might be a solution.