alexey-pelykh commented on PR #1947:
URL: https://github.com/apache/tika/pull/1947#issuecomment-2363943094

   ```
   # Since Java bytecode and Mach-O universal binaries have the same magic 
number,
   # the test must be performed in the same "magic" sequence to get both right.
   # The long at offset 4 in a Mach-O universal binary tells the number of
   # architectures; the short at offset 4 in a Java bytecode file is the JVM 
minor
   # version and the short at offset 6 is the JVM major version.  Since there 
are only
   # only 18 labeled Mach-O architectures at current, and the first released
   # Java class format was version 43.0, we can safely choose any number
   # between 18 and 39 to test the number of architectures against
   # (and use as a hack). Let's not use 18, because the Mach-O people
   # might add another one or two as time goes by...
   ```
   this comment is priceless :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tika.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to