[type-restrictions] RestrictedMethodTest failed to compile

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: repo-valhalla
    • Component/s: 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".

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

              Created:
              Updated:
              Resolved: