Skip to content

kohlschutter/animalsniffer-signatures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Animal Sniffer Signatures

What

This repository provides signatures (as Maven artifacts) for the Animal Sniffer Maven Plugin.

Currently, the following signatures are provided:

  • Java 1.7

    <signature>
        <groupId>com.kohlschutter.animalsniffer</groupId>
        <artifactId>signatures-java-7</artifactId>
        <version>1.0.0</version>
    </signature>
    

    (Currently including classes from rt.jar, jsse.jar, jce.jar, alt-rt.jar)

How

See Checking a project against API signatures 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

About

Signatures for animal-sniffer

Resources

License

Stars

Watchers

Forks

Packages

No packages published