Runway 1.1.0
This commit is contained in:
1 parent
ce217fc952
commit
07d5bd7e9a
223 files changed
+21147
-255
No files matched your search
@@ -6,10 +6,11 @@ name: Essential Protection
|
||||
# The essential plugin ships with the kernel, in the same release, on the kernel's version line (docs/SPI-STABILITY.md,
|
||||
# "The essential-plugin exception"): its version is the kernel's plain MAJOR.MINOR.PATCH. Seeding compares SHA-256
|
||||
# hashes, not versions, and no plugin may `requires:` an essential plugin, so nothing keys on it.
|
||||
version: 1.0.1
|
||||
version: 1.1.0
|
||||
essential: true
|
||||
# The mandatory floor (SPI 1.0.0): every plugin with a mainClass declares one; the kernel's own plugin declares the
|
||||
# kernel's SPI, so the floor rule can never block it and trip the fail-closed security floor. It also keeps an
|
||||
# SPI major's floor (>=1.0.0, met by every 1.x kernel; raised only when it uses a newer SPI member), so the floor rule
|
||||
# never blocks it and trips the fail-closed security floor. It also keeps an
|
||||
# older kernel from registering a plugin that links SPI types it lacks: it refuses the plugin with a reason naming
|
||||
# both SPI levels, instead of failing on a NoClassDefFoundError that names neither the plugin nor the cause.
|
||||
requiresSpi: ">=1.0.0"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>mx.quest</groupId>
|
||||
<artifactId>runway</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.1.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>runway-plugin-protection</artifactId>
|
||||
|
||||
+3
-3
@@ -17,8 +17,8 @@ import org.junit.jupiter.api.Test;
|
||||
|
||||
/**
|
||||
* The shipped descriptor of the essential plugin against the SPI 1.0.0 loader rules: it is
|
||||
* on the kernel's version line ({@code 1.0.0}) and declares the kernel's SPI as its floor, so the mandatory floor can
|
||||
* never block it — a blocked essential plugin would put the whole platform in fail-closed mode.
|
||||
* on the kernel's version line and declares the SPI major's floor ({@code >=1.0.0}, met by every 1.x kernel), so the
|
||||
* mandatory floor can never block it — a blocked essential plugin would put the whole platform in fail-closed mode.
|
||||
*/
|
||||
class ProtectionDescriptorK4Test {
|
||||
|
||||
@@ -35,7 +35,7 @@ class ProtectionDescriptorK4Test {
|
||||
PluginDescriptor descriptor = shipped();
|
||||
assertEquals("protection", descriptor.id());
|
||||
assertTrue(descriptor.isEssential());
|
||||
assertEquals("1.0.1", descriptor.version(), "versioned on the kernel's line");
|
||||
assertEquals("1.1.0", descriptor.version(), "versioned on the kernel's line");
|
||||
assertEquals(PluginVersion.parse("1.0.0"), descriptor.spiFloor());
|
||||
assertEquals(PluginVersion.parse(RunwaySpi.VERSION).major(), descriptor.spiFloor().major(),
|
||||
"the floor names the kernel's own SPI major line");
|
||||
|
||||
Reference in new issue
Block a user