Git Product home page Git Product logo

safevarargs's Introduction

Safe Varargs

A Java language annotation used by code that intends to signal the SafeVarargs feature in later virtual machines, while remaining compatible with prior versions. This should be used on the boot-strap classpath at compile-time, and NOT included as a transitive dependency at runtime, as it will be provided by the target environment, if the feature is available. If the feature is not available, the annotation (and its lack of presence on the classpath) will be ignored, per the Java language spec.

Maven users will want to include this artifact in the maven-compiler-plugin's boostrap configuration like so:

example: TBA

Others will simply want to download the jar, and include it in their bootstrap class path by the means appropriate to their build environment.

Note - this should NOT be permitted to appear in the run-time classpath of your library or application, or it may conflict if the annotation is provided by the virtual machine in which you run it. Repeat: do not include in your application, nor in the transitive dependencies of your application.

safevarargs's People

Contributors

cgruber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

safevarargs's Issues

Does this work?

I have been messing around with this but not been able to make it work. Considering this project looks like an experiment that never went anywhere, does this actually work?

If it does work can you please provide an example of how to compile with Java 7 (or 8) to Java 6 (major version 50) using this?

The source code is all Java 6 compliant except for the use of @SafeVararg, which is what I assume this project is for.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.