[Bug 9506] New: One-line Java program causes screen to go black

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 28 16:18:09 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=9506

           Summary: One-line Java program causes screen to go black
           Product: Wine
           Version: CVS/GIT
          Platform: Other
        OS/Version: other
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: wine-directx-ddraw
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com


Hey, kids, try this!  (Works with any JVM, but let's use a recent one.)

1. Create the file bug.java containing

import java.awt.Frame;

public class bug {
 public static void main(String[] args) {
   Frame f = new Frame();       // causes whole screen to go black in wine!
 }
}

2. Compile it using any java compiler:
  javac bug.java

3. Download a JDK from java.sun.com and install it in Wine

4. Use it to run bug.class, e.g.
    cd '.wine/drive_c/Program Files/Java/jre1.6.0_01'
    cp ~/bug.class .
    wine bin/java.exe bug

5. Note that entire primary display goes black (second display, if any,
doesn't).
This is really annoying - you have to move your other windows around
to get them to redraw.

This may be the same as bug 4902, but this seems simpler to reproduce.
Next step would be the corresponding trivial C file...


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list