Giter Club home page Giter Club logo

d1_common_java's People

Contributors

amoeba avatar csjx avatar datadavev avatar leinfelder avatar mbjones avatar nahf avatar ndexter avatar taojing2002 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

csjx

d1_common_java's Issues

Inaccurate description of Settings properties in javadoc

Hi all, there appears to be some inaccuracies in the javadoc for the getConfiguration method of Settings.

From the javadoc:

     * System properties are always loaded first, followed by those
     * properties in an optional file (specified with the system
     * property "opt.overriding.properties.filename"), followed by
     * context-specific default properties files.

From what I can tell from testing and checking the code:

  • System properties are not loaded at all
  • opt.overriding.properties.filename is not used

opt.overriding.properties.filename is mentioned in a SettingsTest test, but that test isn't run (the @Test annotation is commented out).

For future reference - Java > v11

Just some notes for our future selves, when we update from java 8:

This breaks with Java > 11 (found when working on d1_portal, which has this as a dependency)

org/dataone/service/util/TypeMarshaller.java:299

javax.xml.bind.JAXBException

  • with linked exception:
    [java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory]

/Users/brooke/.m2/repository/javax/xml/bind/jaxb-api/2.2.3/jaxb-api-2.2.3.jar!/javax/xml/bind/ContextFinder.class

return newInstance(classes, properties, "com.sun.xml.internal.bind.v2.ContextFactory");

com.sun.xml.internal.bind.v2.ContextFactory no longer available after JDK 11

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.