Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8112874

Glass junit tests need to be updated to reflect Application API changes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      -do-compile:
          [javac] Compiling 8 source files to /Volumes/stuff/work/jfx/glass/glass-test/build/classes
          [javac] /Volumes/stuff/work/jfx/glass/glass-test/src/com/sun/glass/test/Main.java:36: Run(java.lang.String[],java.lang.String,com.sun.glass.ui.Launchable) in com.sun.glass.ui.Application cannot be applied to (java.lang.String[],java.lang.String,com.sun.glass.test.Main.TestLaunchable,int)
          [javac] Application.Run(args, title, launchable, fps);
          [javac] ^
          [javac] /Volumes/stuff/work/jfx/glass/glass-test/src/com/sun/glass/bugs/RT10274_PixelsUpload.java:35: createView(com.sun.glass.ui.Pen) in com.sun.glass.ui.Application cannot be applied to (int,com.sun.glass.bugs.RT10274_PixelsUpload.NullGraphics)
          [javac] window.setView(app.createView(0, new NullGraphics()));
          [javac] ^
          [javac] /Volumes/stuff/work/jfx/glass/glass-test/src/com/sun/glass/bugs/RT11193_WindowWithViewAddedAfterVisible.java:80: createView(com.sun.glass.ui.Pen) in com.sun.glass.ui.Application cannot be applied to (int,com.sun.glass.bugs.RT11193_WindowWithViewAddedAfterVisible.NullGraphics)
          [javac] View view = Application.GetApplication().createView(0, new NullGraphics());
          [javac] ^
          [javac] Note: Some input files use unchecked or unsafe operations.
          [javac] Note: Recompile with -Xlint:unchecked for details.
          [javac] 3 errors

      BUILD FAILED
      /Volumes/stuff/work/jfx/glass/build.xml:146: The following error occurred while executing this line:
      /Volumes/stuff/work/jfx/glass/glass-test/nbproject/build-impl.xml:535: The following error occurred while executing this line:
      /Volumes/stuff/work/jfx/glass/glass-test/nbproject/build-impl.xml:261: Compile failed; see the compiler error output for details.

        Attachments

          Activity

            People

            Assignee:
            gziemski Gerard Ziemski
            Reporter:
            gziemski Gerard Ziemski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: