8132734: JDK 9 runtime changes to support multi-release jar files

JEP 238 Multi-Release JAR Files runtime support

Reviewed-by: alanb, psandoz, sherman
This commit is contained in:
Steve Drach 2016-02-15 17:47:53 -08:00
parent 4ccb461831
commit 4054254344
13 changed files with 1483 additions and 60 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -646,5 +646,13 @@ public class Attributes implements Map<Object,Object>, Cloneable {
* manifest attribute used for package versioning.
*/
public static final Name SPECIFICATION_VENDOR = new Name("Specification-Vendor");
/**
* {@code Name} object for {@code Multi-Release}
* manifest attribute that indicates this is a multi-release JAR file.
*
* @since 9
*/
public static final Name MULTI_RELEASE = new Name("Multi-Release");
}
}