Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9211

BUG! UNCAUGHT EXCEPTION on OpenJDK14-ea+8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.7
    • 2.5.10
    • None
    • None
    • openjdk version "14-ea" 2020-03-17
      OpenJDK Runtime Environment (build 14-ea+8-255)
      OpenJDK 64-Bit Server VM (build 14-ea+8-255, mixed mode, sharing)

    Description

      Change in JDK14 (ea+7..ea+8):
      8173978: Lookup.in...
      +
      Java7.java
      =

      Exception org.codehaus.groovy.GroovyBugError: BUG! UNCAUGHT EXCEPTION: java.lang.invoke.MethodHandles$Lookup.<init>(java.lang.Class,int)
            at Java7.<clinit> (Java7.java:45)
            at NativeConstructorAccessorImpl.newInstance0 (Native Method)
            at NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
            at DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
            at Constructor.newInstanceWithCaller (Constructor.java:500)
            at ReflectAccess.newInstance (ReflectAccess.java:124)
            at ReflectionFactory.newInstance (ReflectionFactory.java:346)
            at Class.newInstance (Class.java:591)
            at (#3:1)
      Caused by: java.lang.NoSuchMethodException: java.lang.invoke.MethodHandles$Lookup.<init>(java.lang.Class,int)
            at Class.getConstructor0 (Class.java:3350)
            at Class.getDeclaredConstructor (Class.java:2554)
            at Java7.<clinit> (Java7.java:43)
      

      It happens in my maven build, during VMPluginFactory.<clinit>

      I understand EA is EA, and even this given java is announced as build from the future, so this report is just to let you know.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              pzygielo Piotr Zygielo
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h