Skip to content

Commit

Permalink
Add a reproducer for the failure with Hibernate 6.6
Browse files Browse the repository at this point in the history
Changes:
- Metadata from oracle/graalvm-reachability-metadata#523
- Spring Boot 3.4.0-SNAPSHOT
- ext['hibernate.version'] = "6.6.0.Final"
  • Loading branch information
sdeleuze committed Aug 19, 2024
1 parent 12eb8b1 commit bda55e8
Show file tree
Hide file tree
Showing 396 changed files with 83,505 additions and 1 deletion.
16 changes: 15 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.4.0-SNAPSHOT'
id 'io.spring.dependency-management' version '1.1.5'
id 'org.graalvm.buildtools.native' version '0.10.2'
id 'org.cyclonedx.bom' version '1.8.2'
id 'io.spring.javaformat' version '0.0.41'
id "io.spring.nohttp" version "0.0.11"
}

repositories {
mavenCentral()
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' }
}

apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'io.spring.javaformat'

ext['hibernate.version'] = "6.6.0.Final"

gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTest" ]

group = 'org.springframework.samples'
Expand Down Expand Up @@ -81,3 +89,9 @@ checkFormatAotTest.enabled = false

formatAot.enabled = false
formatAotTest.enabled = false

graalvmNative {
metadataRepository {
uri(file("metadata"))
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"reflect-config.json"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"name": "ch.qos.logback.contrib.jackson.JacksonJsonFormatter",
"condition": {
"typeReachable": "ch.qos.logback.core.util.OptionHelper"
},
"queryAllPublicMethods": true,
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
}
]
10 changes: 10 additions & 0 deletions metadata/ch.qos.logback.contrib/logback-jackson/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"latest": true,
"metadata-version": "0.1.5",
"module": "ch.qos.logback.contrib:logback-jackson",
"tested-versions": [
"0.1.5"
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"reflect-config.json"
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
[
{
"name": "ch.qos.logback.contrib.json.JsonFormatter",
"condition": {
"typeReachable": "ch.qos.logback.core.util.OptionHelper"
},
"methods": [
{
"name": "valueOf",
"parameterTypes": [
"java.lang.String"
]
}
]
},
{
"name": "ch.qos.logback.contrib.json.JsonLayoutBase",
"condition": {
"typeReachable": "ch.qos.logback.core.util.OptionHelper"
},
"methods": [
{
"name": "setAppendLineSeparator",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeTimestamp",
"parameterTypes": [
"boolean"
]
},
{
"name": "setJsonFormatter",
"parameterTypes": [
"ch.qos.logback.contrib.json.JsonFormatter"
]
},
{
"name": "setTimestampFormat",
"parameterTypes": [
"java.lang.String"
]
},
{
"name": "setTimestampFormatTimezoneId",
"parameterTypes": [
"java.lang.String"
]
}
]
},
{
"name": "ch.qos.logback.contrib.json.classic.JsonLayout",
"condition": {
"typeReachable": "ch.qos.logback.core.util.OptionHelper"
},
"queryAllPublicMethods": true,
"methods": [
{
"name": "<init>",
"parameterTypes": [

]
},
{
"name": "setIncludeContextName",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeException",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeFormattedMessage",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeLevel",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeLoggerName",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeMDC",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeMessage",
"parameterTypes": [
"boolean"
]
},
{
"name": "setIncludeThreadName",
"parameterTypes": [
"boolean"
]
}
]
}
]
10 changes: 10 additions & 0 deletions metadata/ch.qos.logback.contrib/logback-json-classic/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"latest": true,
"metadata-version": "0.1.5",
"module": "ch.qos.logback.contrib:logback-json-classic",
"tested-versions": [
"0.1.5"
]
}
]
3 changes: 3 additions & 0 deletions metadata/ch.qos.logback/logback-classic/1.2.11/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"reflect-config.json"
]
Loading

0 comments on commit bda55e8

Please sign in to comment.