[File] [PATCH] Add Java versions up to 26

Daniel Jarabek jarabekit at gmail.com
Thu Apr 4 03:40:55 UTC 2024


Versions up to 22 are released (and 23 is in development),
but the pattern can be anticipated. Feel free to remove the
newer versions if confirmation is needed.
---
  magic/Magdir/cafebabe | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/magic/Magdir/cafebabe b/magic/Magdir/cafebabe
index 4f97cc03..b5140146 100644
--- a/magic/Magdir/cafebabe
+++ b/magic/Magdir/cafebabe
@@ -50,6 +50,12 @@
  >>4	belong		0x003E		(Java SE 18)
  >>4	belong		0x003F		(Java SE 19)
  >>4	belong		0x0040		(Java SE 20)
+>>4	belong		0x0041		(Java SE 21)
+>>4	belong		0x0042		(Java SE 22)
+>>4	belong		0x0043		(Java SE 23)
+>>4	belong		0x0044		(Java SE 24)
+>>4	belong		0x0045		(Java SE 25)
+>>4	belong		0x0046		(Java SE 26)
  # pool count unequal zero
  #>>8	beshort		x	        \b, pool count %#x
  # pool table
-- 
2.44.0



More information about the File mailing list