Project icon

com.io7m.timehack6435126

Build status Maven Central Codecov

The timehack6435126 package contains the workaround for JDK-6435126, named in honour of the one of the worst responses to a bug report in written history.

"This has been broken for too long. No use fixing it now."

Specifically, it forces the JVM to use high-resolution timers. The JRE command line flag that would otherwise have enabled these timers does exactly the opposite, as documented in bug 6435126. Most platforms (notably, not Windows) have high-resolution timers by default, but this workaround should be used to guarantee it on all platforms.

Contents

Features

  • Enables high-resolution timers in the JVM.
  • ISC license.

Releases

The most recently published version of the software is 3.0.1.

Source code and binaries are available from the repository.

Documentation

Documentation for the 3.0.1 release is available for reading online.

Documentation for current and older releases is archived in the repository.

User documentation

See the README.

Maven

The following is a complete list of the project's modules expressed as Maven dependencies:

<dependency>
  <groupId>com.io7m.timehack6435126</groupId>
  <artifactId>com.io7m.timehack6435126</artifactId>
  <version>3.0.1</version>
</dependency>

<dependency>
  <groupId>com.io7m.timehack6435126</groupId>
  <artifactId>com.io7m.timehack6435126.core</artifactId>
  <version>3.0.1</version>
</dependency>

Each release of the project is made available on Maven Central within ten minutes of the release announcement.

Changes

Subscribe to the releases atom feed.

2024-05-16 Release: com.io7m.timehack6435126 3.0.1
2024-04-19 Change: Update org.slf4j:slf4j-api:2.0.10 → 2.0.13.
2024-04-19 Change: Update ch.qos.logback:logback-classic:1.4.14 → 1.5.6.
2024-05-16 Change: Move to new organization.
2022-04-10 Release: com.io7m.timehack6435126 3.0.0
2022-04-10 Change: (Backwards incompatible) Require JDK 17
2017-11-15 Release: com.io7m.timehack6435126 2.0.0
2017-11-15 Change: (Backwards incompatible) All modules are now Java 9 modules. JDK 9 is now required.
2017-07-20 Release: com.io7m.timehack6435126 1.1.1
2017-07-20 Change: Correct package exports in OSGi metadata.
2017-07-20 Release: com.io7m.timehack6435126 1.1.0
2017-07-20 Change: (Backwards incompatible) Rename project. Use the new primogenitor POM and 2017 project conventions.
2015-08-23 Release: com.io7m.timehack6435126 1.0.0
2015-08-23 Change: Initial version

Sources

This project uses Git to manage source code.

Repository: https://www.github.com/io7m-com/timehack6435126

$ git clone https://www.github.com/io7m-com/timehack6435126

License

Copyright © 2024 Mark Raynsford <code@io7m.com> https://www.io7m.com

Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.

Bug Tracker

The project uses GitHub Issues to track issues.