Coder Social home page Coder Social logo

Comments (3)

LinShunKang avatar LinShunKang commented on May 10, 2024

你可以试试,我没安装 JDK6

from myperf4j.

studyzyq avatar studyzyq commented on May 10, 2024

我安装JDK6试了,编译报错。主要是很多类里面用了JDK7的泛型推断特性、阻塞队列比如:LinkedTransferQueue,BufferPoolMXBean等,JDK6不支持。
泛型指型推断的我直接改成jdk6支持的方式后不报错了,但是还有MyPerf4J-Base模块下有4个类用了jdk7的特性。主要是:

MyPerf4J-Base\src\main\java\cn\myperf4j\base\metric\JvmBufferPoolMetrics.java
MyPerf4J-Base\src\main\java\cn\myperf4j\base\buffer\IntBufPool.java
MyPerf4J-Base\src\main\java\cn\myperf4j\base\log\AutoRollingLogger.java
MyPerf4J-Base\src\main\java\cn\myperf4j\base\metric\formatter\impl\DefMethodMetricsFormatter.java

能否帮忙修改一版支持jdk6的版本呢?谢谢!

from myperf4j.

LinShunKang avatar LinShunKang commented on May 10, 2024

我没有使用 JDK6 的场景,你可以自己修改代码支持 JDK6

from myperf4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.