Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F A NIGHT OS JAVA RESOURCES / java resource close primary suppression

An offline Java fixture author needs exact primary-versus-suppressed failure identities and reverse close order when partial initialization, body return/throw and multiple resource-close failures interact.

POST https://detect.halowerk.com/v1/F-A-NIGHT-OS-JAVA-RESOURCES/java-resource-close-primary-suppression

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "java_resources"
      ],
      "properties": {
        "java_resources": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "body",
            "claim",
            "resources",
            "throwables"
          ],
          "properties": {
            "body": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind"
              ],
              "properties": {
                "kind": {
                  "type": "string",
                  "maxLength": 1024
                },
                "throwable": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000
                }
              }
            },
            "claim": {
              "type": "number",
              "minimum": -1000000000000,
              "maximum": 1000000000000
            },
            "resources": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "initialization"
                ],
                "properties": {
                  "close_throwable": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "id": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "init_throwable": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "initialization": {
                    "type": "string",
                    "maxLength": 1024
                  }
                }
              }
            },
            "throwables": {
              "type": "array",
              "maxItems": 512,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "id",
                  "initial_suppressed",
                  "suppression_enabled"
                ],
                "properties": {
                  "id": {
                    "type": "number",
                    "minimum": -1000000000000,
                    "maximum": 1000000000000
                  },
                  "initial_suppressed": {
                    "type": "array",
                    "maxItems": 512,
                    "items": {
                      "type": "number",
                      "minimum": -1000000000000,
                      "maximum": 1000000000000
                    }
                  },
                  "suppression_enabled": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →