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

[type-restrictions] RestrictedMethodTest failed to compile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-valhalla
    • hotspot

      Test RestrictedMethodTest fails to compile with:

      test/hotspot/jtreg/runtime/valhalla/TypeRestrictions/RestrictedMethodTest.java:44: error: <identifier> expected
        static inline class Point {
                     ^
      1 error

      Test source code must use new syntax "static primitive class Point".

            fparain Frederic Parain
            fparain Frederic Parain
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: