https://github.com/kohlschutter/animalsniffer-signatures
Signatures for animal-sniffer
https://github.com/kohlschutter/animalsniffer-signatures
Last synced: 5 months ago
JSON representation
Signatures for animal-sniffer
- Host: GitHub
- URL: https://github.com/kohlschutter/animalsniffer-signatures
- Owner: kohlschutter
- License: apache-2.0
- Created: 2023-09-26T17:01:57.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-26T17:16:13.000Z (almost 3 years ago)
- Last Synced: 2026-02-11T02:22:49.987Z (5 months ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Animal Sniffer Signatures
## What
This repository provides signatures (as Maven artifacts) for the [Animal Sniffer Maven Plugin](https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/).
Currently, the following signatures are provided:
- Java 1.7
```
com.kohlschutter.animalsniffer
signatures-java-7
1.0.0
```
(Currently including classes from rt.jar, jsse.jar, jce.jar, alt-rt.jar)
## How
See [Checking a project against API signatures](https://www.mojohaus.org/animal-sniffer/animal-sniffer-maven-plugin/examples/checking-signatures.html) from the Animal Sniffer Maven Plugin website.
Building the signatures from scratch most likely requires setting `-Djava7.home=/path/to/java7home` with Maven.
## Why
I'm using retrolambda to convert Java 8 bytecode to run under Java 7. Since my code may inadvertently use API introduced in Java 1.8, running something like Animal Sniffer becomes mandatory.
Unfortunately, I couldn't find any other signatures for Java 1.7, so here we are.
## Who
Copyright 2023 by Christian Kohlschütter
Licensed under the Apache License, Version 2.0