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

Uncomplete linear-gradient CSS rule creates infinite loop at load time.

XMLWordPrintable

      I added the following incomplete linear-gradient rule,
      .appBackground {
      -fx-background-color: linear-gradient(from 0% 0% to 0% 100%, );
      }
      The App enters an infinite loop at load time displaying the following warning.

      This makes the VT to be unusable as soon as such rule is typed by the user.


      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token 'EOF' at file:/C:/Users/jfdenise/client.next/fresh-authoring/authoring/authoringtool/samples/IssueTracking/build/classes/issuetracking/sample.css[-1,-1]

            dgrieve David Grieve
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: