[metrics-bugs] #25443 [Metrics]: Prepare for java 9

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 1 19:21:43 UTC 2020


#25443: Prepare for java 9
-------------------------+-----------------------------------
 Reporter:  iwakeh       |          Owner:  metrics-team
     Type:  enhancement  |         Status:  needs_information
 Priority:  Low          |      Milestone:
Component:  Metrics      |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
-------------------------+-----------------------------------
Changes (by karsten):

 * status:  new => needs_information


Comment:

 I checked our other .jar files with jdeps:

 {{{
 $ for i in $(ls *.jar); do jdeps $i | grep sun; done | sort | uniq -c
    4    ch.qos.logback.classic.spi                         -> sun.reflect
 JDK internal API (JDK removed internal API)
    2    org.postgresql.sspi                                -> com.sun.jna
 not found
    2    org.postgresql.sspi                                ->
 com.sun.jna.platform.win32                         not found
    2    org.postgresql.sspi                                ->
 com.sun.jna.ptr                                    not found
    2    org.postgresql.sspi                                ->
 com.sun.jna.win32                                  not found
 }}}

 It looks like Logback and the PostgreSQL JDBC driver are using sun.* and
 com.sun* packages internally. But I don't know what to do about that.
 Updating from Logback 1.1.9 (stretch) to 1.2.3 (buster) didn't change
 this, and the PostgreSQL JDBC driver is the one found in buster. What can
 we do?

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25443#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the metrics-bugs mailing list